|
@@ -1,15 +1,11 @@
|
1
|
1
|
package com.reactnativenavigation.e2e.androide2e;
|
2
|
2
|
|
3
|
|
-import android.support.test.runner.AndroidJUnit4;
|
4
|
|
-
|
5
|
3
|
import org.junit.Test;
|
6
|
|
-import org.junit.runner.RunWith;
|
7
|
4
|
|
8
|
5
|
import static android.support.test.InstrumentationRegistry.getInstrumentation;
|
9
|
6
|
import static org.assertj.core.api.Java6Assertions.assertThat;
|
10
|
7
|
|
11
|
|
-@RunWith(AndroidJUnit4.class)
|
12
|
|
-public class EnvironmentTest {
|
|
8
|
+public class EnvironmentTest extends BaseTest {
|
13
|
9
|
@Test
|
14
|
10
|
public void instrumentationAndAssertJ() throws Exception {
|
15
|
11
|
assertThat(getInstrumentation().getTargetContext().getPackageName()).isEqualTo("com.reactnativenavigation.e2e.androide2e");
|