Skip to content

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

Merged
merged 2 commits into from
May 13, 2020

Conversation

wu-hui
Copy link
Contributor

@wu-hui wu-hui commented May 13, 2020

Applying a bunch of G3 ErrorProne suggestions.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented May 13, 2020

Binary Size Report

Affected SDKs

  • firebase-common

    Type Base (631484a) Head (fc1c1e19) Diff
    apk (aggressive) 82.5 kB 82.5 kB -11 B (-0.0%)
    apk (debug) 770 kB 770 kB +48 B (+0.0%)
  • firebase-components

    Type Base (631484a) Head (fc1c1e19) Diff
    apk (aggressive) 11.0 kB 10.9 kB -17 B (-0.2%)
    apk (debug) 35.9 kB 35.8 kB -30 B (-0.1%)
  • firebase-database-collection

    Type Base (631484a) Head (fc1c1e19) Diff
    apk (aggressive) 314 kB 314 kB -2 B (-0.0%)
    apk (debug) 1.07 MB 1.07 MB -32 B (-0.0%)
  • firebase-firestore

    Type Base (631484a) Head (fc1c1e19) Diff
    apk (aggressive) 443 kB 443 kB +14 B (+0.0%)
    apk (debug) 3.74 MB 3.74 MB +16 B (+0.0%)
  • protolite-well-known-types

    Type Base (631484a) Head (fc1c1e19) Diff
    apk (debug) 643 kB 643 kB +28 B (+0.0%)

Test Logs

Notes

Head commit (fc1c1e19) is created by Prow via merging commits: 631484a f7b9cfb.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented May 13, 2020

Coverage Report

Affected SDKs

  • firebase-firestore

    SDK overall coverage changed from 43.05% (631484a) to 43.11% (fc1c1e19) by +0.06%.

    Filename Base (631484a) Head (fc1c1e19) Diff
    GrpcCallProvider.java 68.18% 57.95% -10.23%
    NumberComparisonHelper.java 89.29% 100.00% +10.71%
    Values.java 86.50% 96.00% +9.50%

Test Logs

Notes

HTML coverage reports can be produced locally with ./gradlew <product>:checkCoverage.
Report files are located at <product-build-dir>/reports/jacoco/.

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());
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@dconeybe dconeybe assigned wu-hui and unassigned dconeybe May 13, 2020
@wu-hui wu-hui merged commit 08ecaa8 into master May 13, 2020
ashwinraghav pushed a commit that referenced this pull request May 18, 2020
* Add missing test annotation and ErrorProne suggestions.

* AssertTrue instead
@firebase firebase locked and limited conversation to collaborators Jun 13, 2020
@wu-hui wu-hui deleted the wuandy/BackportG3Suggestions branch December 10, 2020 02:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants