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:
Konstantin Raev 2016-06-16 04:04:34 -07:00 committed by Facebook Github Bot 8
parent e514ff5ad4
commit 192f6ddf82
2 changed files with 6 additions and 1 deletions

View File

@ -254,6 +254,10 @@ android {
lintOptions {
abortOnError false
}
packagingOptions {
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
}
}
dependencies {
@ -280,6 +284,7 @@ dependencies {
testCompile "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}"
androidTestCompile 'com.android.support.test:runner:0.3'
androidTestCompile "org.mockito:mockito-core:${MOCKITO_CORE_VERSION}"
}
apply from: 'release.gradle'

View File

@ -35,7 +35,7 @@ import com.facebook.react.modules.core.Timing;
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