1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
src/com/android/traceur/uitest Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Android.bp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
AndroidManifest.xml Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
AndroidTest.xml Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README

To build the tests you can use the following command at the root of your android source tree
$ make TraceurUiTests

The test apk then needs to be installed onto your test device via for example
$ adb install -r $ANDROID_PRODUCT_OUT/data/app/TraceurUiTests/TraceurUiTests.apk

To run all tests:
$ adb shell am instrument -w com.android.traceur.uitest/android.support.test.runner.AndroidJUnitRunner

To run all tests in a specific class:
$ adb shell am instrument -w -e class com.android.traceur.uitest.<class>
com.android.traceur.uitest/android.support.test.runner.AndroidJUnitRunner

To run a specific test:
$ adb shell am instrument -w -e class com.android.traceur.uitest.<class>#<test>
com.android.traceur.uitest/android.support.test.runner.AndroidJUnitRunner

More general information can be found at
http://developer.android.com/reference/android/support/test/runner/AndroidJUnitRunner.html