• Home
  • History
  • Annotate
Name
Date
Size
#Lines
LOC

..--

src/com/android/storagemanager/deletionhelper/14-Jan-2024-242170

Android.bpD15-Dec-2024505 2720

AndroidManifest.xmlD14-Jan-20241.1 KiB3011

READMED14-Jan-2024939 1812

README

1 To build the tests you can use the following command at the root of your android source tree
2 $ make StorageManagerUnitTests
3 
4 The test apk then needs to be installed onto your test device via for example
5 $ adb install -r out/target/product/angler/data/app/StorageManagerUnitTests/StorageManagerUnitTests.apk
6 
7 To run all tests:
8 $ adb shell am instrument -w com.android.storagemanager.tests.unit/androidx.test.runner.AndroidJUnitRunner
9 
10 To run all tests in a specific class:
11 $ adb shell am instrument -w -e class com.android.storagemanager.<class> com.android.storagemanager.tests.unit/androidx.test.runner.AndroidJUnitRunner
12 
13 To run a specific test:
14 $ adb shell am instrument -w -e class com.android.storagemanager.<class>#<test> com.android.storagemanager.tests.unit/androidx.test.runner.AndroidJUnitRunner
15 
16 More general information can be found at
17 http://developer.android.com/reference/android/support/test/runner/AndroidJUnitRunner.html
18