Skip to content

Commit 3ea803a

Browse files
dulmandakhfacebook-github-bot
authored andcommitted
bump mockito to 2.19.1 (#20317)
Summary: This PR will bump mockito to 2.19.1, which has many enhancements over 1.x version. Read https://github.com/mockito/mockito/wiki/What%27s-new-in-Mockito-2. Also bumps jsr305 to 3.0.2. Pull Request resolved: #20317 Differential Revision: D9071184 Pulled By: hramos fbshipit-source-id: 109c8adde7dabdb25ddc329ff84ee40c9a0a5e3d
1 parent affb135 commit 3ea803a

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

ReactAndroid/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ dependencies {
300300
compile 'com.facebook.fresco:fresco:1.9.0'
301301
compile 'com.facebook.fresco:imagepipeline-okhttp3:1.9.0'
302302
compile 'com.facebook.soloader:soloader:0.3.0'
303-
compile 'com.google.code.findbugs:jsr305:3.0.0'
303+
compile 'com.google.code.findbugs:jsr305:3.0.2'
304304
compile 'com.squareup.okhttp3:okhttp:3.10.0'
305305
compile 'com.squareup.okhttp3:okhttp-urlconnection:3.10.0'
306306
compile 'com.squareup.okio:okio:1.14.0'

ReactAndroid/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ POM_NAME=ReactNative
55
POM_ARTIFACT_ID=react-native
66
POM_PACKAGING=aar
77

8-
MOCKITO_CORE_VERSION=1.10.19
8+
MOCKITO_CORE_VERSION=2.19.1
99
POWERMOCK_VERSION=1.6.2
1010
ROBOLECTRIC_VERSION=3.0
1111
JUNIT_VERSION=4.12

ReactAndroid/src/main/third-party/java/jsr-305/BUCK

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ prebuilt_jar(
66

77
remote_file(
88
name = "jsr305-binary.jar",
9-
sha1 = "5871fb60dc68d67da54a663c3fd636a10a532948",
10-
url = "mvn:com.google.code.findbugs:jsr305:jar:3.0.0",
9+
sha1 = "25ea2e8b0c338a877313bd4672d3fe056ea78f0d",
10+
url = "mvn:com.google.code.findbugs:jsr305:jar:3.0.2",
1111
)

ReactAndroid/src/main/third-party/java/mockito/BUCK

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ rn_prebuilt_jar(
1717

1818
remote_file(
1919
name = "mockito-binary.jar",
20-
sha1 = "e8546f5bef4e061d8dd73895b4e8f40e3fe6effe",
21-
url = "mvn:org.mockito:mockito-core:jar:1.10.19",
20+
sha1 = "c54c55cae0f4742ad6bf8a1987ada35363f2c4e2",
21+
url = "mvn:org.mockito:mockito-core:jar:2.19.1",
2222
)
2323

2424
rn_prebuilt_jar(

0 commit comments

Comments
 (0)