Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up all warnings in Java client test #163

Conversation

acarbonetto
Copy link

Cleans up all warnings in the Java/Client test folder.

@Yury-Fridlyand
Copy link

spotless hates you

Signed-off-by: Andrew Carbonetto <[email protected]>
when(commandManager.<Void>submitNewCommand(eq(SetString), eq(new String[] {key, value}), any()))
CompletableFuture<String> testResponse = new CompletableFuture<>();
testResponse.complete(null);
when(commandManager.<String>submitNewCommand(

Choose a reason for hiding this comment

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

our tests do almost nothing if they pass with such mistake

Copy link
Author

Choose a reason for hiding this comment

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

Haha. I noticed. It doesn't care about the typing. Really, we should be failing with a warning... otherwise these tests are just checking that the right argument/requestType is being passed to protobuf.

@acarbonetto acarbonetto merged commit f0b400e into java/integ_acarbo_clean_test_warnings Apr 1, 2024
11 checks passed
@acarbonetto acarbonetto deleted the java/dev_acarbo_clean_test_warnings branch April 1, 2024 21:22
acarbonetto added a commit that referenced this pull request Apr 4, 2024
* Clean up all warnings in Java client test

Signed-off-by: Andrew Carbonetto <[email protected]>

---------

Signed-off-by: Andrew Carbonetto <[email protected]>
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