File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
espresso/core/javatests/androidx/test/espresso/action Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -327,8 +327,6 @@ axt_android_library_test(
327327 "//espresso/intents/java/androidx/test/espresso/intent:intents" ,
328328 "//espresso/intents/java/androidx/test/espresso/intent/matcher" ,
329329 "//ext/junit" ,
330- "//runner/android_junit_runner" ,
331- "//runner/rules" ,
332330 "//testapps/ui_testapp/java/androidx/test/ui/app:lib_exported" ,
333331 "//testapps/ui_testapp/javatests/androidx/test/ui/app:test_resources" ,
334332 "@maven//:junit_junit" ,
Original file line number Diff line number Diff line change 2929import static org .hamcrest .Matchers .allOf ;
3030
3131import androidx .test .espresso .ViewAction ;
32- import androidx .test .filters .LargeTest ;
33- import androidx .test .rule .ActivityTestRule ;
34- import androidx .test .runner .AndroidJUnit4 ;
32+ import androidx .test .ext .junit .rules .ActivityScenarioRule ;
33+ import androidx .test .ext .junit .runners .AndroidJUnit4 ;
3534import androidx .test .ui .app .R ;
3635import androidx .test .ui .app .SwipeActivity ;
3736import org .junit .Rule ;
3837import org .junit .Test ;
3938import org .junit .runner .RunWith ;
4039
4140/** Integration tests for swiping actions. */
42- @ LargeTest
4341@ RunWith (AndroidJUnit4 .class )
4442public class SwipeActionIntegrationTest {
45- @ Rule public ActivityTestRule <SwipeActivity > rule = new ActivityTestRule <>(SwipeActivity .class );
43+ @ Rule
44+ public ActivityScenarioRule <SwipeActivity > rule = new ActivityScenarioRule <>(SwipeActivity .class );
4645
4746 /** Tests that a small view can be swiped in both directions. */
4847 @ Test
You can’t perform that action at this time.
0 commit comments