Test your app's activities | Android Developers
文章推薦指數: 80 %
ActivityScenario is a cross-platform API that you can use in local unit tests and on-device integration tests alike. On a real or virtual device, ... Platform AndroidStudio GooglePla
延伸文章資訊
- 1ActivityScenario.ActivityAction | Android 开发者 | Android ...
Example: ActivityScenario<MyActivity> scenario = ActivityScenario.launch(MyActivity.class); scen...
- 2Java Code Examples for androidx.test.core.app.ActivityScenario
... try (ActivityScenario<MainActivity> ignored = ActivityScenario.launch(MainActivity.class)) { ...
- 3Source Code for ActivityScenario.java - AndroidX Tech
It * works with arbitrary activities and works consistently across different versions of the Andr...
- 4Java Code Examples for androidx.test.core.app.ActivityScenario
... try (ActivityScenario<MainActivity> ignored = ActivityScenario.launch(MainActivity.class)) {...
- 5android-test/ActivityScenario.java at master - GitHub
destroy(); // Moves the activity state to State.DESTROYED. *. * After: * try(ActivityScenario<My...