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"
45
45
ext {
46
46
playServicesVersion = ' 16.0.1'
47
47
supportAnnotationsVersion = ' 28.0.0'
48
- googleTruthVersion = ' 0.45 '
49
- grpcVersion = ' 1.41.0 '
48
+ googleTruthVersion = ' 1.1.2 '
49
+ grpcVersion = ' 1.44.1 '
50
50
robolectricVersion = ' 4.3.1'
51
51
protocVersion = ' 3.14.0'
52
52
javaliteVersion = ' 3.14.0'
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ private void testNullCompare(Object obj) {
180
180
if (comparator == null ) {
181
181
try {
182
182
compare (obj , null );
183
- assert_ ().fail ("Expected NullPointerException in %s.compare(null)" , obj );
183
+ assert_ ().withMessage ("Expected NullPointerException in %s.compare(null)" , obj ). fail ( );
184
184
} catch (NullPointerException expected ) {
185
185
// TODO: Consider accepting JavaScriptException under GWT
186
186
}
@@ -192,7 +192,9 @@ private void testClassCast(Object obj) {
192
192
if (comparator == null ) {
193
193
try {
194
194
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 ();
196
198
} catch (ClassCastException expected ) {
197
199
}
198
200
}
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ by opting into a release at
3
3
[ go/firebase-android-release] ( http:go/firebase-android-release ) (Googlers only).
4
4
5
5
# 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.
6
8
- [ fixed] Fixed an AppCheck issue that caused Firestore listeners to stop
7
9
working and receive a "Permission Denied" error. This issue only occurred for
8
10
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 {
111
111
if (it. name. contains(' AndroidTestRuntimeClasspath' )) {
112
112
it. resolutionStrategy {
113
113
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'
115
115
}
116
116
}
117
117
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) {
185
185
if (comparator == null ) {
186
186
try {
187
187
compare (obj , null );
188
- assert_ ().fail ("Expected NullPointerException in %s.compare(null)" , obj );
188
+ assert_ ().withMessage ("Expected NullPointerException in %s.compare(null)" , obj ). fail ( );
189
189
} catch (NullPointerException expected ) {
190
190
// TODO(cpovirk): Consider accepting JavaScriptException under GWT
191
191
}
@@ -196,7 +196,9 @@ private void testClassCast(Object obj) {
196
196
if (comparator == null ) {
197
197
try {
198
198
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 ();
200
202
} catch (ClassCastException expected ) {
201
203
}
202
204
}
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ configurations.all {
99
99
if (it. name. contains(' AndroidTestRuntimeClasspath' )) {
100
100
it. resolutionStrategy {
101
101
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'
103
103
}
104
104
}
105
105
}
@@ -129,7 +129,7 @@ dependencies {
129
129
implementation " io.grpc:grpc-okhttp:$grpcVersion "
130
130
implementation ' io.reactivex.rxjava2:rxjava:2.1.14'
131
131
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 '
133
133
134
134
implementation(' com.google.firebase:firebase-measurement-connector:18.0.2' ) {
135
135
exclude group : ' com.google.firebase' , module : ' firebase-common'
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ dependencies {
129
129
testImplementation ' com.google.guava:guava-testlib:12.0-rc2'
130
130
testImplementation ' androidx.test.espresso:espresso-intents:3.2.0'
131
131
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'
133
133
testImplementation ' androidx.test.services:test-services:1.2.0'
134
134
testImplementation ' androidx.core:core:1.6.0'
135
135
}
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ dependencies {
85
85
86
86
// Google Deps
87
87
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"
89
89
implementation ' androidx.annotation:annotation:1.1.0'
90
90
implementation ' androidx.multidex:multidex:2.0.1'
91
91
implementation " androidx.recyclerview:recyclerview:1.1.0"
You can’t perform that action at this time.
0 commit comments