Use TestParametrization for testing both fbjni and vanillaJNI version
Summary: Use TestParametrization to test both fbjni and vanilla jni versions Reviewed By: amir-shalem Differential Revision: D17788718 fbshipit-source-id: 0f3317b7403cadca7b7ccd9140f1933d746bf433
This commit is contained in:
committed by
Facebook Github Bot
parent
d6591439d1
commit
293b657aef
@@ -38,5 +38,7 @@ public abstract class YogaConfig {
|
||||
|
||||
abstract long getNativePointer();
|
||||
|
||||
public abstract void setUseVanillaJNI(boolean useVanillaJNI);
|
||||
|
||||
public abstract boolean useVanillaJNI();
|
||||
}
|
||||
|
@@ -99,6 +99,11 @@ public abstract class YogaConfigJNIBase extends YogaConfig {
|
||||
return mNativePointer;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setUseVanillaJNI(boolean useVanillaJNI) {
|
||||
this.useVanillaJNI = useVanillaJNI;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean useVanillaJNI() {
|
||||
return this.useVanillaJNI;
|
||||
|
Reference in New Issue
Block a user