Add Java buck tests

Summary: This diff adds some basic tests that ensure all of the e2e test components can compile with the interface is implemented (we also have these tests for cxx)

Reviewed By: JoshuaGross, mdvacca

Differential Revision: D16378756

fbshipit-source-id: d0c6dc976c74f6a388068e66b9a2135bc4ce4652
This commit is contained in:
Rick Hanlon
2019-07-19 14:59:34 -07:00
committed by Facebook Github Bot
parent 1783780a92
commit 32b812c05c
15 changed files with 461 additions and 3 deletions
@@ -0,0 +1,29 @@
package com.facebook.react.uimanager;
import android.view.ViewGroup;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.viewmanagers.PointPropNativeComponentDelegate;
import com.facebook.react.viewmanagers.PointPropNativeComponentInterface;
public class PointPropNativeComponentViewManager extends SimpleViewManager<ViewGroup>
implements PointPropNativeComponentInterface<ViewGroup> {
public static final String REACT_CLASS = "PointPropNativeComponentView";
@Override
public String getName() {
return REACT_CLASS;
}
private void test() {
PointPropNativeComponentDelegate delegate = new PointPropNativeComponentDelegate<ViewGroup>();
}
@Override
public ViewGroup createViewInstance(ThemedReactContext context) {
throw new IllegalStateException();
}
@Override
public void setStartPoint(ViewGroup view, ReadableMap value) {}
}