Fix ReactShadowNodeTest

Reviewed By: mdvacca

Differential Revision: D7944803

fbshipit-source-id: 6d3b10004d478ad75942af96603c899f44a2e711
This commit is contained in:
Andrew Chen (Eng) 2018-05-11 12:23:13 -07:00 committed by Facebook Github Bot
parent 166264d63b
commit a5a4facac3
2 changed files with 3 additions and 6 deletions

View File

@ -3,19 +3,16 @@ package com.facebook.react.fabric;
import static org.fest.assertions.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import com.facebook.react.bridge.CatalystInstance;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactTestHelper;
import com.facebook.react.fabric.FabricReconciler;
import com.facebook.react.fabric.FabricUIManager;
import com.facebook.react.uimanager.NativeViewHierarchyManager;
import com.facebook.react.uimanager.ReactShadowNode;
import com.facebook.react.uimanager.ReactShadowNodeImpl;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.UIViewOperationQueue;
import com.facebook.react.uimanager.ViewAtIndex;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.ViewManager;
import com.facebook.react.uimanager.ViewManagerRegistry;
import java.util.ArrayList;

View File

@ -2,12 +2,12 @@
package com.facebook.react.fabric;
import com.facebook.react.uimanager.ReactShadowNodeImpl;
import com.facebook.testing.robolectric.v3.WithTestDefaultsRunner;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
/** Tests {@link ReactShadowNode} */
@RunWith(WithTestDefaultsRunner.class)
@RunWith(RobolectricTestRunner.class)
public class ReactShadowNodeTest {
@Test(expected = AssertionError.class)