mirror of
https://github.com/status-im/react-native.git
synced 2025-02-27 16:40:38 +00:00
Stabilise tests in SandCastle and prepare for OSS
Reviewed By: mkonicek Differential Revision: D3244884 fb-gh-sync-id: d96dddca65175a90ee70aeb1c7530cea04860f61 fbshipit-source-id: d96dddca65175a90ee70aeb1c7530cea04860f61
This commit is contained in:
parent
50c2467905
commit
1b9b3ba58c
@ -1,5 +1,12 @@
|
||||
include_defs('//ReactAndroid/DEFS')
|
||||
|
||||
# Tests that are too flaky to run on SandCastle
|
||||
# TODO t11057216 stabilise them
|
||||
SANDCASTLE_FLAKY = [
|
||||
'ReactHorizontalScrollViewTestCase.java',
|
||||
'ReactScrollViewTestCase.java',
|
||||
]
|
||||
|
||||
android_library(
|
||||
name = 'tests',
|
||||
srcs = glob(['**/*.java']),
|
||||
@ -14,6 +21,20 @@ android_library(
|
||||
],
|
||||
)
|
||||
|
||||
android_library(
|
||||
name = 'stable-tests',
|
||||
srcs = glob(['**/*.java'], excludes=SANDCASTLE_FLAKY),
|
||||
deps = [
|
||||
react_native_integration_tests_target('java/com/facebook/react/testing:testing'),
|
||||
react_native_target('java/com/facebook/react/bridge:bridge'),
|
||||
react_native_target('java/com/facebook/react/uimanager:uimanager'),
|
||||
react_native_target('java/com/facebook/react/views/picker:picker'),
|
||||
],
|
||||
visibility = [
|
||||
'PUBLIC',
|
||||
],
|
||||
)
|
||||
|
||||
project_config(
|
||||
src_target = ':tests',
|
||||
)
|
||||
|
@ -12,7 +12,7 @@ cxx_library(
|
||||
'//native/jni:jni',
|
||||
],
|
||||
visibility = [
|
||||
'//instrumentation_tests/com/facebook/catalyst/...',
|
||||
'//instrumentation_tests/com/facebook/react/...',
|
||||
],
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user