• Home
Name Date Size #Lines LOC

..--

src/com.android.car.messenger.common/03-May-2024-217142

Android.bpD03-May-20241.1 KiB4437

AndroidManifest.xmlD03-May-20241.6 KiB3618

README.mdD03-May-2024807 2413

README.md

1# Instructions for running unit tests
2
3### Build unit test module
4
5`m car-messenger-common-lib-unit-tests`
6
7### Install resulting apk on device
8
9`adb install -r -t $OUT/testcases/car-messenger-common-lib-unit-tests/arm64/car-messenger-common-lib-unit-tests.apk`
10
11### Run all tests
12
13`adb shell am instrument -w com.android.car.messenger.common.tests.unit`
14
15### Run tests in a class
16
17`adb shell am instrument -w -e class com.android.car.messenger.common.<classPath> com.android.car.messenger.common.tests.unit`
18
19### Run a specific test
20
21`adb shell am instrument -w -e class com.android.car.messenger.common.<classPath>#<testMethod> com.android.car.messenger.common.tests.unit`
22
23More general information can be found at
24http://developer.android.com/reference/android/support/test/runner/AndroidJUnitRunner.html