File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
ui/espresso/EspressoDeviceSample/app Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ ui/espresso/AccessibilitySample
55ui/espresso/BasicSample
66ui/espresso/CustomMatcherSample
77ui/espresso/DataAdapterSample
8+ ui/espresso/EspressoDeviceSample
89ui/espresso/FragmentScenarioSample
910ui/espresso/IdlingResourceSample
1011ui/espresso/IntentsAdvancedSample
@@ -15,4 +16,4 @@ ui/espresso/RecyclerViewSample
1516ui/espresso/ScreenshotSample
1617ui/espresso/WebBasicSample
1718ui/uiautomator/BasicSample
18- unit/BasicNativeAndroidTest
19+ unit/BasicNativeAndroidTest
Original file line number Diff line number Diff line change @@ -25,6 +25,20 @@ android {
2525 unitTests {
2626 includeAndroidResources = true
2727 }
28+ managedDevices {
29+ devices {
30+ // run with ../gradlew nexusOneApi30DebugAndroidTest
31+ nexusOneApi30(com.android.build.api.dsl.ManagedVirtualDevice ) {
32+ // A lower resolution device is used here for better emulator performance
33+ device = " Nexus One"
34+ apiLevel = 30
35+ // Also use the AOSP ATD image for better emulator performance
36+ // The androidx.test screenshot APIs will automatically enable hardware rendering
37+ // to take a screenshot
38+ systemImageSource = " aosp-atd"
39+ }
40+ }
41+ }
2842 }
2943}
3044
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ coreVersion="1.5.0-beta01" # CORE_VERSION
3030extJUnitVersion=" 1.1.4-beta01" # ANDROIDX_JUNIT_VERSION
3131extTruthVersion=" 1.5.0-beta01" # ANDROIDX_TRUTH_VERSION
3232espressoVersion=" 3.5.0-beta01" # ESPRESSO_VERSION
33+ espressoDeviceVersion=" 1.0.0-alpha01" # ESPRESSO_DEVICE_VERSION
3334robolectricVersion=" 4.9"
3435uiAutomatorVersion=" 2.2.0" # UIAUTOMATOR_VERSION
3536
You can’t perform that action at this time.
0 commit comments