unplugged-vendor/packages/apps/Car/Dialer/tests/instrutests
2025-10-06 13:59:42 +00:00
..
src/com/android/car/dialer/integration Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
Android.bp Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
AndroidManifest.xml Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
readme.md Initial commit: AOSP 12 vendor with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

Instrumented test suite for CarDialerApp using AndroidJUnitRunner.

1. Use atest
$ atest CarDialerInstruTests

If the test is new
$ atest CarDialerInstruTests --rebuild-module-info


2. Manually install and run the tests

Run on local machine (hawk)
$ mma && croot
$ adb install -r out/target/product/hawk/testcases/CarDialerInstruTests/arm64/CarDialerInstruTests.apk
$ adb shell am instrument -w com.android.car.dialer.tests.instrumentation/androidx.test.runner.AndroidJUnitRunner

Run on emulator (gcar_hl_emu_x86)
$ mma && croot
$ adb install -r out/target/product/generic_x86/testcases/CarDialerInstruTests/x86/CarDialerInstruTests.apk
$ adb shell am instrument -w com.android.car.dialer.tests.instrumentation/androidx.test.runner.AndroidJUnitRunner