Skip to content

PECOBLR-1121 Add unit tests for DatabricksArrowBuf#1161

Open
tejassp-db wants to merge 20 commits intoPECOBLR-1121/arrow-patch/stack-1from
PECOBLR-1121/arrow-patch/stack-3
Open

PECOBLR-1121 Add unit tests for DatabricksArrowBuf#1161
tejassp-db wants to merge 20 commits intoPECOBLR-1121/arrow-patch/stack-1from
PECOBLR-1121/arrow-patch/stack-3

Conversation

@tejassp-db
Copy link
Collaborator

Description

Add unit tests for all public API.

Testing

Add unit tests for all public API.

import org.slf4j.LoggerFactory;

/** Test all the public API of {@code DatabricksArrowBuf}. */
@SuppressWarnings("resource")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of supressing warnings, can we simply use try-with-resources in the tests

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can add a test for empty buffer

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants