replace testing-support-lib with androidx buck targets in RN

Summary: Changelog: [Internal] - codemod testing library Buck redirect to actual dependency

Reviewed By: jiawei-lyu

Differential Revision: D30379180

fbshipit-source-id: eb9a22569230d07732bd0aa63dddfcfff7c3800f
This commit is contained in:
Nicholas Tinsley
2021-08-17 17:15:30 -07:00
committed by Facebook GitHub Bot
parent d3345f5720
commit f971ea9023
5 changed files with 6 additions and 5 deletions
@@ -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"),
@@ -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"),
],
@@ -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"),
@@ -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"),