You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/src/androidTestMock/java/com/example/android/architecture/blueprints/todoapp/tasks/AppNavigationTest.kt
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,9 @@ import org.junit.runner.RunWith
51
51
/**
52
52
* Tests for the [DrawerLayout] layout component in [TasksActivity] which manages
53
53
* navigation within the app.
54
+
*
55
+
* UI tests usually use [ActivityTestRule] but there's no API to perform an action before
56
+
* each test. The workaround is to use `ActivityScenario.launch()` and `ActivityScenario.close()`.
Copy file name to clipboardExpand all lines: app/src/androidTestMock/java/com/example/android/architecture/blueprints/todoapp/tasks/TasksActivityTest.kt
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,9 @@ import org.junit.runner.RunWith
52
52
53
53
/**
54
54
* Large End-to-End test for the tasks module.
55
+
*
56
+
* UI tests usually use [ActivityTestRule] but there's no API to perform an action before
57
+
* each test. The workaround is to use `ActivityScenario.launch()` and `ActivityScenario.close()`.
0 commit comments