Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 13-Dec-2023 | - | ||||
src/com/android/traceur/uitest/ | H | 12-Dec-2023 | - | 194 | 131 | |
Android.bp | H A D | 12-Dec-2023 | 940 | 29 | 27 | |
AndroidManifest.xml | H A D | 12-Dec-2023 | 1.2 KiB | 31 | 12 | |
AndroidTest.xml | H A D | 12-Dec-2023 | 1.6 KiB | 34 | 18 | |
README | H A D | 12-Dec-2023 | 895 | 20 | 14 |
README
1To build the tests you can use the following command at the root of your android source tree 2$ make TraceurUiTests 3 4The test apk then needs to be installed onto your test device via for example 5$ adb install -r $ANDROID_PRODUCT_OUT/data/app/TraceurUiTests/TraceurUiTests.apk 6 7To run all tests: 8$ adb shell am instrument -w com.android.traceur.uitest/android.support.test.runner.AndroidJUnitRunner 9 10To run all tests in a specific class: 11$ adb shell am instrument -w -e class com.android.traceur.uitest.<class> 12com.android.traceur.uitest/android.support.test.runner.AndroidJUnitRunner 13 14To run a specific test: 15$ adb shell am instrument -w -e class com.android.traceur.uitest.<class>#<test> 16com.android.traceur.uitest/android.support.test.runner.AndroidJUnitRunner 17 18More general information can be found at 19http://developer.android.com/reference/android/support/test/runner/AndroidJUnitRunner.html 20