Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/com/android/car/companiondevicesupport/ | 23-Nov-2023 | - | 1,854 | 1,362 | ||
Android.bp | D | 23-Nov-2023 | 1.3 KiB | 52 | 44 | |
AndroidManifest.xml | D | 23-Nov-2023 | 1.6 KiB | 37 | 14 | |
README.md | D | 23-Nov-2023 | 831 | 24 | 13 |
README.md
1# Instructions for running unit tests 2 3### Build unit test module 4 5`m CompanionDeviceSupport-unit-tests` 6 7### Install resulting apk on device 8 9`adb install -r -t $OUT/testcases/CompanionDeviceSupport-unit-tests/arm64/CompanionDeviceSupport-unit-tests.apk` 10 11### Run all tests 12 13`adb shell am instrument -w com.android.car.companiondevicesupport.tests.unit` 14 15### Run tests in a class 16 17`adb shell am instrument -w -e class com.android.car.companiondevicesupport.<classPath> com.android.car.companiondevicesupport.tests.unit` 18 19### Run a specific test 20 21`adb shell am instrument -w -e class com.android.car.companiondevicesupport.<classPath>#<testMethod> com.android.car.companiondevicesupport.tests.unit` 22 23More general information can be found at 24http://developer.android.com/reference/android/support/test/runner/AndroidJUnitRunner.html