another fix to OSS tests
Summary: Closes https://github.com/facebook/react-native/pull/8151 Differential Revision: D3444091 fbshipit-source-id: a8a43a56332c66b0af84695aa54fb1e4c5d659f6
This commit is contained in:
parent
e514ff5ad4
commit
192f6ddf82
|
@ -254,6 +254,10 @@ android {
|
||||||
lintOptions {
|
lintOptions {
|
||||||
abortOnError false
|
abortOnError false
|
||||||
}
|
}
|
||||||
|
packagingOptions {
|
||||||
|
exclude 'META-INF/NOTICE'
|
||||||
|
exclude 'META-INF/LICENSE'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -280,6 +284,7 @@ dependencies {
|
||||||
testCompile "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}"
|
testCompile "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}"
|
||||||
|
|
||||||
androidTestCompile 'com.android.support.test:runner:0.3'
|
androidTestCompile 'com.android.support.test:runner:0.3'
|
||||||
|
androidTestCompile "org.mockito:mockito-core:${MOCKITO_CORE_VERSION}"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: 'release.gradle'
|
apply from: 'release.gradle'
|
||||||
|
|
|
@ -35,7 +35,7 @@ import com.facebook.react.modules.core.Timing;
|
||||||
|
|
||||||
import com.facebook.soloader.SoLoader;
|
import com.facebook.soloader.SoLoader;
|
||||||
|
|
||||||
import static org.mockito.Mockito.*;
|
import static org.mockito.Mockito.mock;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use this class for writing integration tests of catalyst. This class will run all JNI call
|
* Use this class for writing integration tests of catalyst. This class will run all JNI call
|
||||||
|
|
Loading…
Reference in New Issue