Skip to content

Commit 9bd4ef4

Browse files
committed
Upgrade robolectric.
1 parent aa631d4 commit 9bd4ef4

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ext {
4949
playServicesVersion = '16.0.1'
5050
supportAnnotationsVersion = '28.0.0'
5151
googleTruthVersion = '0.45'
52-
robolectricVersion = '4.1'
52+
robolectricVersion = '4.3.1'
5353
}
5454

5555
apply plugin: com.google.firebase.gradle.plugins.publish.PublishingPlugin

firebase-abt/firebase-abt.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ dependencies {
9191
testImplementation 'com.google.truth:truth:0.44'
9292
testImplementation 'junit:junit:4.13-beta-2'
9393
testImplementation 'androidx.test:runner:1.2.0'
94-
testImplementation 'org.robolectric:robolectric:4.2'
94+
testImplementation "org.robolectric:robolectric:$robolectricVersion"
9595
testImplementation 'io.grpc:grpc-testing:1.12.0'
9696
testImplementation 'androidx.test.espresso:espresso-core:3.2.0'
9797

firebase-config/firebase-config.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ dependencies {
9797
testImplementation 'org.mockito:mockito-core:2.25.0'
9898
testImplementation 'com.google.truth:truth:0.44'
9999
testImplementation 'junit:junit:4.12'
100-
testImplementation 'org.robolectric:robolectric:4.2'
100+
testImplementation "org.robolectric:robolectric:$robolectricVersion"
101101
testImplementation "org.skyscreamer:jsonassert:1.5.0"
102102

103103
androidTestImplementation 'androidx.test:runner:1.2.0'

firebase-crashlytics-ndk/firebase-crashlytics-ndk.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ dependencies {
6363
implementation 'com.google.android.gms:play-services-basement:17.0.0'
6464

6565
testImplementation 'androidx.test:runner:1.2.0'
66-
testImplementation 'org.robolectric:robolectric:4.2'
66+
testImplementation "org.robolectric:robolectric:$robolectricVersion"
6767
testImplementation 'junit:junit:4.12'
6868
testImplementation 'org.mockito:mockito-core:1.10.19'
6969

firebase-crashlytics/firebase-crashlytics.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ dependencies {
7272
annotationProcessor 'com.google.auto.value:auto-value:1.6.5'
7373

7474
testImplementation 'androidx.test:runner:1.2.0'
75-
testImplementation 'org.robolectric:robolectric:4.2'
75+
testImplementation "org.robolectric:robolectric:$robolectricVersion"
7676
testImplementation 'junit:junit:4.12'
7777
testImplementation 'org.mockito:mockito-core:1.10.19'
7878

firebase-firestore/firebase-firestore.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ dependencies {
140140
testImplementation 'junit:junit:4.12'
141141
testImplementation 'androidx.test:core:1.2.0'
142142
testImplementation 'org.mockito:mockito-core:2.25.0'
143-
testImplementation ('org.robolectric:robolectric:4.2') {
143+
testImplementation "org.robolectric:robolectric:$robolectricVersion" {
144144
exclude group: 'com.google.protobuf', module: 'protobuf-java'
145145
}
146146
testImplementation "com.google.truth:truth:$googleTruthVersion"

firebase-inappmessaging-display/firebase-inappmessaging-display.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ dependencies {
8888
annotationProcessor 'com.google.auto.value:auto-value:1.6.5'
8989
annotationProcessor 'com.ryanharter.auto.value:auto-value-parcel:0.2.6'
9090

91-
testImplementation "org.robolectric:robolectric:4.2"
91+
testImplementation "org.robolectric:robolectric:$robolectricVersion"
9292
testImplementation "junit:junit:4.12"
9393
testImplementation "org.mockito:mockito-core:2.25.0"
9494
testImplementation "com.google.truth:truth:1.0"

firebase-inappmessaging/firebase-inappmessaging.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ dependencies {
144144
testImplementation "com.google.truth:truth:$googleTruthVersion"
145145
testImplementation 'junit:junit:4.12'
146146
testImplementation 'androidx.test:runner:1.2.0'
147-
testImplementation ('org.robolectric:robolectric:4.2') {
147+
testImplementation "org.robolectric:robolectric:$robolectricVersion" {
148148
exclude group: 'com.google.protobuf', module: 'protobuf-java'
149149
}
150150
testImplementation 'io.grpc:grpc-testing:1.21.0'

transport/transport-backend-cct/transport-backend-cct.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ dependencies {
7070
testImplementation 'com.github.tomakehurst:wiremock:2.26.3'
7171
//Android compatible version of Apache httpclient.
7272
testImplementation 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
73-
testImplementation 'org.robolectric:robolectric:4.3.1'
73+
testImplementation "org.robolectric:robolectric:$robolectricVersion"
7474
testImplementation 'junit:junit:4.13-beta-2'
7575

7676
androidTestImplementation 'androidx.test:runner:1.2.0'

transport/transport-runtime/transport-runtime.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ dependencies {
6969
testImplementation "com.google.truth:truth:$googleTruthVersion"
7070
testImplementation 'androidx.test:core:1.2.0'
7171
testImplementation 'androidx.test.ext:junit:1.1.1'
72-
testImplementation 'org.robolectric:robolectric:4.2'
72+
testImplementation "org.robolectric:robolectric:$robolectricVersion"
7373
testImplementation 'org.mockito:mockito-core:2.25.0'
7474

7575
androidTestImplementation 'junit:junit:4.13-beta-3'

0 commit comments

Comments
 (0)