Skip to content

Commit

Permalink
bump mockito to 2.19.1 (#20317)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dulmandakh authored and facebook-github-bot committed Jul 30, 2018
1 parent affb135 commit 3ea803a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ReactAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ dependencies {
compile 'com.facebook.fresco:fresco:1.9.0'
compile 'com.facebook.fresco:imagepipeline-okhttp3:1.9.0'
compile 'com.facebook.soloader:soloader:0.3.0'
compile 'com.google.code.findbugs:jsr305:3.0.0'
compile 'com.google.code.findbugs:jsr305:3.0.2'
compile 'com.squareup.okhttp3:okhttp:3.10.0'
compile 'com.squareup.okhttp3:okhttp-urlconnection:3.10.0'
compile 'com.squareup.okio:okio:1.14.0'
Expand Down
2 changes: 1 addition & 1 deletion ReactAndroid/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ POM_NAME=ReactNative
POM_ARTIFACT_ID=react-native
POM_PACKAGING=aar

MOCKITO_CORE_VERSION=1.10.19
MOCKITO_CORE_VERSION=2.19.1
POWERMOCK_VERSION=1.6.2
ROBOLECTRIC_VERSION=3.0
JUNIT_VERSION=4.12
Expand Down
4 changes: 2 additions & 2 deletions ReactAndroid/src/main/third-party/java/jsr-305/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ prebuilt_jar(

remote_file(
name = "jsr305-binary.jar",
sha1 = "5871fb60dc68d67da54a663c3fd636a10a532948",
url = "mvn:com.google.code.findbugs:jsr305:jar:3.0.0",
sha1 = "25ea2e8b0c338a877313bd4672d3fe056ea78f0d",
url = "mvn:com.google.code.findbugs:jsr305:jar:3.0.2",
)
4 changes: 2 additions & 2 deletions ReactAndroid/src/main/third-party/java/mockito/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ rn_prebuilt_jar(

remote_file(
name = "mockito-binary.jar",
sha1 = "e8546f5bef4e061d8dd73895b4e8f40e3fe6effe",
url = "mvn:org.mockito:mockito-core:jar:1.10.19",
sha1 = "c54c55cae0f4742ad6bf8a1987ada35363f2c4e2",
url = "mvn:org.mockito:mockito-core:jar:2.19.1",
)

rn_prebuilt_jar(
Expand Down

0 comments on commit 3ea803a

Please sign in to comment.