blob: 65bac68289487516f6d582b01fa071fa79e29b6e [file] [log] [blame]
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
To run all tests in a specific class:
$ adb shell am instrument -w -e class<class>
To run a specific test:
$ adb shell am instrument -w -e class<class>#<test>
More general information can be found at