|
|
@@ -5,6 +5,7 @@ import android.view.ViewGroup;
|
|
5
|
5
|
import android.widget.FrameLayout;
|
|
6
|
6
|
|
|
7
|
7
|
import com.reactnativenavigation.BaseTest;
|
|
|
8
|
+import com.reactnativenavigation.mocks.SimpleViewController;
|
|
8
|
9
|
|
|
9
|
10
|
import org.junit.Ignore;
|
|
10
|
11
|
import org.junit.Test;
|
|
|
@@ -25,9 +26,9 @@ public class StackControllerTest extends BaseTest {
|
|
25
|
26
|
super.beforeEach();
|
|
26
|
27
|
activity = newActivity();
|
|
27
|
28
|
uut = new StackController(activity);
|
|
28
|
|
- child1 = new ViewController(activity);
|
|
29
|
|
- child2 = new ViewController(activity);
|
|
30
|
|
- child3 = new ViewController(activity);
|
|
|
29
|
+ child1 = new SimpleViewController(activity);
|
|
|
30
|
+ child2 = new SimpleViewController(activity);
|
|
|
31
|
+ child3 = new SimpleViewController(activity);
|
|
31
|
32
|
}
|
|
32
|
33
|
|
|
33
|
34
|
@Test
|