diff --git a/ReactAndroid/src/androidTest/buck-runner/BUCK b/ReactAndroid/src/androidTest/buck-runner/BUCK index c27596ee462..d8fc2604af7 100644 --- a/ReactAndroid/src/androidTest/buck-runner/BUCK +++ b/ReactAndroid/src/androidTest/buck-runner/BUCK @@ -14,7 +14,6 @@ rn_android_binary( use_split_dex = True, deps = [ react_native_dep("libraries/soloader/java/com/facebook/soloader:soloader"), - react_native_dep("third-party/java/testing-support-lib:exposed-instrumentation-api"), react_native_integration_tests_target("assets:assets"), react_native_integration_tests_target("java/com/facebook/react/tests:tests"), react_native_target("java/com/facebook/react/devsupport:devsupport"), diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/BUCK b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/BUCK index a7162899373..78e1dd6ae74 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/BUCK +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/BUCK @@ -27,7 +27,7 @@ rn_android_library( react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_dep("third-party/java/junit:junit"), react_native_android_toplevel_dep("third-party/java/mockito2:mockito2"), - react_native_dep("third-party/java/testing-support-lib:runner"), + react_native_dep("third-party/android/androidx:test-runner"), react_native_integration_tests_target("java/com/facebook/react/testing/idledetection:idledetection"), react_native_integration_tests_target("java/com/facebook/react/testing/network:network"), react_native_target("java/com/facebook/react:react"), diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/idledetection/BUCK b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/idledetection/BUCK index b3ed32bb4e9..6a540efc6d6 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/idledetection/BUCK +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/idledetection/BUCK @@ -9,7 +9,7 @@ rn_android_library( "PUBLIC", ], deps = [ - react_native_dep("third-party/java/testing-support-lib:runner"), + react_native_dep("third-party/android/androidx:test-runner"), react_native_target("java/com/facebook/react/bridge:bridge"), react_native_target("java/com/facebook/react/modules/core:core"), ], diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/BUCK b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/BUCK index 86d2074e0e1..a3dc3dde1ad 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/BUCK +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/BUCK @@ -20,13 +20,14 @@ rn_android_library( react_native_dep("third-party/android/androidx:test-espresso-core"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_dep("third-party/java/junit:junit"), - react_native_dep("third-party/java/testing-support-lib:testing-support-lib"), react_native_dep("third-party/android/androidx:annotation"), react_native_dep("third-party/android/androidx:appcompat"), react_native_dep("third-party/android/androidx:core"), react_native_dep("third-party/android/androidx:fragment"), react_native_dep("third-party/android/androidx:legacy-support-core-ui"), react_native_dep("third-party/android/androidx:legacy-support-core-utils"), + react_native_dep("third-party/android/androidx:test-rules"), + react_native_dep("third-party/android/androidx:test-runner"), react_native_dep("third-party/java/jsr-305:jsr-305"), react_native_integration_tests_target("java/com/facebook/react/testing:testing"), react_native_integration_tests_target("java/com/facebook/react/testing/idledetection:idledetection"), diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/tests/core/BUCK b/ReactAndroid/src/androidTest/java/com/facebook/react/tests/core/BUCK index 2aa06b7cbf8..65b8da3ee02 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/tests/core/BUCK +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/tests/core/BUCK @@ -17,7 +17,8 @@ rn_android_library( react_native_dep("third-party/android/androidx:test-espresso-core"), react_native_dep("third-party/java/fest:fest"), react_native_dep("third-party/java/junit:junit"), - react_native_dep("third-party/java/testing-support-lib:testing-support-lib"), + react_native_dep("third-party/android/androidx:test-rules"), + react_native_dep("third-party/android/androidx:test-runner"), react_native_integration_tests_target("java/com/facebook/react/testing:testing"), react_native_integration_tests_target("java/com/facebook/react/testing/rule:rule"), react_native_target("java/com/facebook/react:react"),