-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disabled unit tests that need yoga libs when running
Reviewed By: hramos Differential Revision: D4346826 fbshipit-source-id: 70855a44b27d25e49615914a845cf04fc63e322d
- Loading branch information
1 parent
ede04ab
commit 709a441
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,9 @@ rn_robolectric_test( | |
name = 'uimanager', | ||
# Please change the contact to the oncall of your team | ||
contacts = ['[email protected]'], | ||
srcs = glob(['**/*.java']), | ||
# TODO Disabled temporarily until Yoga linking is fixed t14964130 | ||
# srcs = glob(['**/*.java']), | ||
srcs = ['SimpleViewPropertyTest.java'], | ||
deps = [ | ||
YOGA_TARGET, | ||
react_native_dep('libraries/fbcore/src/test/java/com/facebook/powermock:powermock'), | ||
|
@@ -30,4 +32,3 @@ rn_robolectric_test( | |
'PUBLIC' | ||
], | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,9 @@ rn_robolectric_test( | |
name = 'views', | ||
# Please change the contact to the oncall of your team | ||
contacts = ['[email protected]'], | ||
srcs = glob(['**/*.java']), | ||
# TODO Disabled temporarily until Yoga linking is fixed t14964130 | ||
# srcs = glob(['**/*.java']), | ||
srcs = glob(['image/*.java']), | ||
deps = [ | ||
YOGA_TARGET, | ||
react_native_dep('libraries/fbcore/src/test/java/com/facebook/powermock:powermock'), | ||
|
@@ -32,4 +34,3 @@ rn_robolectric_test( | |
react_native_tests_target('java/com/facebook/react/bridge:testhelpers'), | ||
], | ||
) | ||
|
709a441
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
today I debugged this issue this till line
react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputShadowNode.java
Lines 264 to 266 in eacc940
the issue seems to be triggered from
react-native/ReactAndroid/src/test/java/com/facebook/react/views/textinput/TextInputTest.java
Lines 94 to 98 in eacc940
react-native/ReactAndroid/src/test/java/com/facebook/react/views/textinput/TextInputTest.java
Lines 163 to 173 in eacc940
I believe I'm very far from solving this issue, but I would like to re-enable the tests. Thanks a lot for reading this and would love to receive some feedback ☮️ 🙏