Skip to content

Commit b2ecc83

Browse files
bestanderFacebook Github Bot 2
authored andcommitted
fixed test dependency broken in D3168150
Summary:fixes Circle Closes facebook#6978 Differential Revision: D3179133 fb-gh-sync-id: 6558168735b4097a68bf7423a7c249a45cc2684a fbshipit-source-id: 6558168735b4097a68bf7423a7c249a45cc2684a
1 parent eaba2ab commit b2ecc83

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

ReactAndroid/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ dependencies {
271271
testCompile "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
272272
testCompile "org.robolectric:robolectric:${ROBOLECTRIC_VERSION}"
273273

274-
androidTestCompile "com.android.support.test:testing-support-lib:0.1"
274+
androidTestCompile 'com.android.support.test:runner:0.3'
275275
}
276276

277277
apply from: 'release.gradle'

ReactAndroid/src/androidTest/buck-runner/BUCK

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ android_binary(
1414
deps = [
1515
react_native_integration_tests_target('java/com/facebook/react/tests:tests'),
1616
react_native_integration_tests_target('assets:assets'),
17+
react_native_dep('third-party/java/testing-support-lib:exposed-instrumentation-api'),
1718
react_native_target('jni/prebuilt:reactnative-libs'),
1819
react_native_target('jni/prebuilt:android-jsc'),
1920
react_native_dep('libraries/soloader/java/com/facebook/soloader:soloader'),
Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
11
android_prebuilt_aar(
2-
name = 'testing-support-lib',
3-
aar = ':testing-support-lib-download',
2+
name = 'runner',
3+
aar = ':testing-support-lib-runner-download',
44
visibility = ['//ReactAndroid/...',],
55
)
66

77
remote_file(
8-
name = 'testing-support-lib-download',
9-
url = 'mvn:com.android.support.test:testing-support-lib:aar:0.1',
10-
sha1 = '36e4f08b2a3389dd5a5093411df35091bdd68361',
8+
name = 'testing-support-lib-runner-download',
9+
url = 'mvn:com.android.support.test:runner:aar:0.3',
10+
sha1 = 'a31e7e8db98ca19fb3fab23f120d19a6f4e3e8a9',
1111
)
1212

13+
android_prebuilt_aar(
14+
name = 'exposed-instrumentation-api',
15+
aar = ':testing-support-instrumentation',
16+
visibility = ['//ReactAndroid/...',],
17+
)
18+
19+
remote_file(
20+
name = 'testing-support-instrumentation',
21+
url = 'mvn:com.android.support.test:exposed-instrumentation-api-publish:aar:0.3',
22+
sha1 = 'a7161eafdfbd02a39461f076c9dce0c8e5e7a149',
23+
)

0 commit comments

Comments
 (0)