Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/com/android/managedprovisioning/ | 22-Nov-2023 | - | 4,139 | 2,943 | ||
Android.mk | D | 22-Nov-2023 | 400 | 18 | 10 | |
AndroidManifest.xml | D | 22-Nov-2023 | 1.1 KiB | 29 | 11 | |
README | D | 22-Nov-2023 | 940 | 18 | 12 |
README
1To build the tests you can use the following command at the root of your android source tree 2$ make ManagedProvisioningTests 3 4The test apk then needs to be installed onto your test device via for example 5$ adb install -r out/target/product/shamu/data/app/ManagedProvisioningTests/ManagedProvisioningTests.apk 6 7To run all tests: 8$ adb shell am instrument -w com.android.managedprovisioning.tests/android.test.InstrumentationTestRunner 9 10To run all tests in a specific class: 11$ adb shell am instrument -w -e class com.android.managedprovisioning.<class> com.android.managedprovisioning.tests/android.test.InstrumentationTestRunner 12 13To run a specific test: 14$ adb shell am instrument -w -e class com.android.managedprovisioning.<class>#<test> com.android.managedprovisioning.tests/android.test.InstrumentationTestRunner 15 16More general information can be found at 17http://developer.android.com/reference/android/test/InstrumentationTestRunner.html 18