|
@@ -45,14 +45,7 @@ public class ApplicationLifecycleTest {
|
45
|
45
|
}
|
46
|
46
|
|
47
|
47
|
@Test
|
48
|
|
- public void _2_showSplash() throws Exception {
|
49
|
|
- launchTheApp();
|
50
|
|
- assertExists(By.desc("NavigationSplashView"));
|
51
|
|
- assertMainShown();
|
52
|
|
- }
|
53
|
|
-
|
54
|
|
- @Test
|
55
|
|
- public void _3_relaunchFromBackground() throws Exception {
|
|
48
|
+ public void _2_relaunchFromBackground() throws Exception {
|
56
|
49
|
launchTheApp();
|
57
|
50
|
assertMainShown();
|
58
|
51
|
push();
|
|
@@ -66,7 +59,7 @@ public class ApplicationLifecycleTest {
|
66
|
59
|
}
|
67
|
60
|
|
68
|
61
|
@Test
|
69
|
|
- public void _4_relaunchAfterClose() throws Exception {
|
|
62
|
+ public void _3_relaunchAfterClose() throws Exception {
|
70
|
63
|
launchTheApp();
|
71
|
64
|
push();
|
72
|
65
|
assertPushedScreenShown();
|
|
@@ -78,7 +71,7 @@ public class ApplicationLifecycleTest {
|
78
|
71
|
}
|
79
|
72
|
|
80
|
73
|
@Test
|
81
|
|
- public void _5_deviceOrientationDoesNotDestroyActivity() throws Exception {
|
|
74
|
+ public void _4_deviceOrientationDoesNotDestroyActivity() throws Exception {
|
82
|
75
|
launchTheApp();
|
83
|
76
|
push();
|
84
|
77
|
assertPushedScreenShown();
|
|
@@ -90,7 +83,7 @@ public class ApplicationLifecycleTest {
|
90
|
83
|
}
|
91
|
84
|
|
92
|
85
|
@Test
|
93
|
|
- public void _6_relaunchAfterActivityKilledBySystem() throws Exception {
|
|
86
|
+ public void _5_relaunchAfterActivityKilledBySystem() throws Exception {
|
94
|
87
|
launchTheApp();
|
95
|
88
|
push();
|
96
|
89
|
assertPushedScreenShown();
|