-
Notifications
You must be signed in to change notification settings - Fork 289
Adding a Set of New Unit Tests #96
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome. Please ping me when you merged this. I will port these tests to the RTDB Android client.
assertTrue(error.getMessage().contains("_test_")); | ||
assertEquals("", error.getDetails()); | ||
|
||
try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block is the same as above. I suggest to remove this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
This is the first of a series of PRs I'm working on to improve the unit test coverage of the Java Admin SDK. This adds new unit tests to several packages (mostly RTDB-related), and also removes some of the dead code in the repo.
There are no implementation changes in this PR other than the removal of the dead code. This boosts the code coverage from 55% to 67%.