Skip to content

Commit 883d011

Browse files
cortinicofacebook-github-bot
authored andcommitted
Re-enabled disabled tests ReactPropForShadowNodeSpecTest and ReactPropForShadowNodeSetterTest
Summary: X-link: facebook/yoga#1494 X-link: facebook/react-native#41788 Those tests are currently disabled due to Yoga attempting to do JNI calls. I've added infra to bypass .so loading during tests, and we should be good to re-enable those tests by now. Changelog: [Internal] [Changed] - Re-enabled disabled tests ReactPropForShadowNodeSpecTest and ReactPropForShadowNodeSetterTest Reviewed By: NickGerleman Differential Revision: D51814491 fbshipit-source-id: adbbace19c94a0c6d8947f61221fafafd7797ac8
1 parent 8ab3077 commit 883d011

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/yoga/src/main/java/com/facebook/yoga/YogaConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ public abstract class YogaConfig {
2727

2828
public abstract YogaLogger getLogger();
2929

30-
abstract long getNativePointer();
30+
protected abstract long getNativePointer();
3131
}

lib/yoga/src/main/java/com/facebook/yoga/YogaConfigJNIBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public YogaLogger getLogger() {
6060
return mLogger;
6161
}
6262

63-
long getNativePointer() {
63+
protected long getNativePointer() {
6464
return mNativePointer;
6565
}
6666
}

0 commit comments

Comments
 (0)