You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Change-Id: If3e3c4e01b19443714d880ae669aaa8b39edfff7 |
4 years ago | |
|---|---|---|
| .. | ||
| src/com/android/storagemanager/deletionhelper | 4 years ago | |
| Android.bp | 4 years ago | |
| AndroidManifest.xml | 4 years ago | |
| README | 4 years ago | |
README
To build the tests you can use the following command at the root of your android source tree $ make StorageManagerUnitTests The test apk then needs to be installed onto your test device via for example $ adb install -r out/target/product/angler/data/app/StorageManagerUnitTests/StorageManagerUnitTests.apk To run all tests: $ adb shell am instrument -w com.android.storagemanager.tests.unit/androidx.test.runner.AndroidJUnitRunner To run all tests in a specific class: $ adb shell am instrument -w -e class com.android.storagemanager.<class> com.android.storagemanager.tests.unit/androidx.test.runner.AndroidJUnitRunner To run a specific test: $ adb shell am instrument -w -e class com.android.storagemanager.<class>#<test> com.android.storagemanager.tests.unit/androidx.test.runner.AndroidJUnitRunner More general information can be found at http://developer.android.com/reference/android/support/test/runner/AndroidJUnitRunner.html