-
Notifications
You must be signed in to change notification settings - Fork 615
Add missing test annotation and ErrorProne suggestions. #1558
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
Binary Size ReportAffected SDKs
Test Logs
NotesHead commit (fc1c1e19) is created by Prow via merging commits: 631484a f7b9cfb. |
Coverage ReportAffected SDKs
Test Logs
NotesHTML coverage reports can be produced locally with Head commit (fc1c1e19) is created by Prow via merging commits: 631484a f7b9cfb. |
@@ -1060,7 +1060,7 @@ public void testMaintainsPersistenceAfterRestarting() { | |||
testFirestore(provider().projectId(), Level.DEBUG, newTestSettings(), "dbPersistenceKey"); | |||
DocumentReference docRef2 = firestore2.document(docRef.getPath()); | |||
DocumentSnapshot doc = waitFor(docRef2.get()); | |||
assertEquals(doc.exists(), true); | |||
assertEquals(true, doc.exists()); |
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.
Consider using assertTrue()
.
https://junit.org/junit4/javadoc/4.12/org/junit/Assert.html#assertTrue(java.lang.String,%20boolean)
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.
* Add missing test annotation and ErrorProne suggestions. * AssertTrue instead
Applying a bunch of G3 ErrorProne suggestions.