Move NetworkRecordingModuleMock into testing/network
Reviewed By: AaaChiuuu Differential Revision: D4755904 fbshipit-source-id: 8a68530453b1d288da402f17e16fec9c57e5bb2a
This commit is contained in:
parent
333dd59533
commit
04ccbdd887
|
@ -29,5 +29,6 @@ android_library(
|
||||||
react_native_target("java/com/facebook/react/shell:shell"),
|
react_native_target("java/com/facebook/react/shell:shell"),
|
||||||
react_native_target("java/com/facebook/react/uimanager:uimanager"),
|
react_native_target("java/com/facebook/react/uimanager:uimanager"),
|
||||||
react_native_integration_tests_target("java/com/facebook/react/testing/idledetection:idledetection"),
|
react_native_integration_tests_target("java/com/facebook/react/testing/idledetection:idledetection"),
|
||||||
|
react_native_integration_tests_target("java/com/facebook/react/testing/network:network"),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
include_defs("//ReactAndroid/DEFS")
|
||||||
|
|
||||||
|
android_library(
|
||||||
|
name = "network",
|
||||||
|
srcs = glob(["**/*.java"]),
|
||||||
|
visibility = [
|
||||||
|
"PUBLIC",
|
||||||
|
],
|
||||||
|
deps = [
|
||||||
|
react_native_dep("third-party/android/support/v4:lib-support-v4"),
|
||||||
|
react_native_dep("third-party/java/jsr-305:jsr-305"),
|
||||||
|
react_native_target("java/com/facebook/react/bridge:bridge"),
|
||||||
|
react_native_target("java/com/facebook/react/modules/core:core"),
|
||||||
|
],
|
||||||
|
)
|
|
@ -6,7 +6,7 @@
|
||||||
* of patent rights can be found in the PATENTS file in the same directory.
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.facebook.react.testing;
|
package com.facebook.react.testing.network;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
|
|
Loading…
Reference in New Issue