File tree Expand file tree Collapse file tree 8 files changed +17
-11
lines changed
firebase-database/src/test/java/com/google/firebase/database/util
src/testUtil/java/com/google/firebase/firestore/testutil Expand file tree Collapse file tree 8 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ apply from: "gradle/errorProne.gradle"
4545ext {
4646 playServicesVersion = ' 16.0.1'
4747 supportAnnotationsVersion = ' 28.0.0'
48- googleTruthVersion = ' 0.45 '
49- grpcVersion = ' 1.41.0 '
48+ googleTruthVersion = ' 1.1.2 '
49+ grpcVersion = ' 1.44.1 '
5050 robolectricVersion = ' 4.3.1'
5151 protocVersion = ' 3.14.0'
5252 javaliteVersion = ' 3.14.0'
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ private void testNullCompare(Object obj) {
180180 if (comparator == null ) {
181181 try {
182182 compare (obj , null );
183- assert_ ().fail ("Expected NullPointerException in %s.compare(null)" , obj );
183+ assert_ ().withMessage ("Expected NullPointerException in %s.compare(null)" , obj ). fail ( );
184184 } catch (NullPointerException expected ) {
185185 // TODO: Consider accepting JavaScriptException under GWT
186186 }
@@ -192,7 +192,9 @@ private void testClassCast(Object obj) {
192192 if (comparator == null ) {
193193 try {
194194 compare (obj , ICanNotBeCompared .INSTANCE );
195- assert_ ().fail ("Expected ClassCastException in %s.compareTo(otherObject)" , obj );
195+ assert_ ()
196+ .withMessage ("Expected ClassCastException in %s.compareTo(otherObject)" , obj )
197+ .fail ();
196198 } catch (ClassCastException expected ) {
197199 }
198200 }
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ by opting into a release at
33[ go/firebase-android-release] ( http:go/firebase-android-release ) (Googlers only).
44
55# 24.0.2
6+ - [ fixed] Fixed an issue of long grpc reconnection period, when App moves to
7+ foreground after staying in background for a while.
68- [ fixed] Fixed an AppCheck issue that caused Firestore listeners to stop
79 working and receive a "Permission Denied" error. This issue only occurred for
810 AppCheck users that set their expiration time to under an hour.
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ configurations.all {
111111 if (it. name. contains(' AndroidTestRuntimeClasspath' )) {
112112 it. resolutionStrategy {
113113 force ' org.checkerframework:checker-compat-qual:2.5.5'
114- force ' com.google.guava:guava:30.1-android'
114+ force ' com.google.guava:guava:30.1.1 -android'
115115 }
116116 }
117117 exclude group : " com.google.protobuf" , module : " protobuf-java"
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ private void testNullCompare(Object obj) {
185185 if (comparator == null ) {
186186 try {
187187 compare (obj , null );
188- assert_ ().fail ("Expected NullPointerException in %s.compare(null)" , obj );
188+ assert_ ().withMessage ("Expected NullPointerException in %s.compare(null)" , obj ). fail ( );
189189 } catch (NullPointerException expected ) {
190190 // TODO(cpovirk): Consider accepting JavaScriptException under GWT
191191 }
@@ -196,7 +196,9 @@ private void testClassCast(Object obj) {
196196 if (comparator == null ) {
197197 try {
198198 compare (obj , ICanNotBeCompared .INSTANCE );
199- assert_ ().fail ("Expected ClassCastException in %s.compareTo(otherObject)" , obj );
199+ assert_ ()
200+ .withMessage ("Expected ClassCastException in %s.compareTo(otherObject)" , obj )
201+ .fail ();
200202 } catch (ClassCastException expected ) {
201203 }
202204 }
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ configurations.all {
9999 if (it. name. contains(' AndroidTestRuntimeClasspath' )) {
100100 it. resolutionStrategy {
101101 force ' org.checkerframework:checker-compat-qual:2.5.5'
102- force ' com.google.guava:guava:30.1-android'
102+ force ' com.google.guava:guava:30.1.1 -android'
103103 }
104104 }
105105}
@@ -129,7 +129,7 @@ dependencies {
129129 implementation " io.grpc:grpc-okhttp:$grpcVersion "
130130 implementation ' io.reactivex.rxjava2:rxjava:2.1.14'
131131 implementation ' io.reactivex.rxjava2:rxandroid:2.0.2'
132- implementation ' com.google.auto.value:auto-value-annotations:1.6.6 '
132+ implementation ' com.google.auto.value:auto-value-annotations:1.8.1 '
133133
134134 implementation(' com.google.firebase:firebase-measurement-connector:18.0.2' ) {
135135 exclude group : ' com.google.firebase' , module : ' firebase-common'
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ dependencies {
129129 testImplementation ' com.google.guava:guava-testlib:12.0-rc2'
130130 testImplementation ' androidx.test.espresso:espresso-intents:3.2.0'
131131 testImplementation ' androidx.test:rules:1.2.0'
132- testImplementation ' androidx.test.ext:truth:1.2 .0'
132+ testImplementation ' androidx.test.ext:truth:1.4 .0'
133133 testImplementation ' androidx.test.services:test-services:1.2.0'
134134 testImplementation ' androidx.core:core:1.6.0'
135135}
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ dependencies {
8585
8686 // Google Deps
8787 implementation " com.google.android.gms:play-services-tasks:18.0.1"
88- implementation " com.google.guava:guava:29.0 -android"
88+ implementation " com.google.guava:guava:30.1.1 -android"
8989 implementation ' androidx.annotation:annotation:1.1.0'
9090 implementation ' androidx.multidex:multidex:2.0.1'
9191 implementation " androidx.recyclerview:recyclerview:1.1.0"
You can’t perform that action at this time.
0 commit comments