Merge "Reland "Don't use framework strings for formatting file sizes"" am: ba69fd0d3f am: d5ab7dc729
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2096605 Change-Id: I8b616af8d02a6d984d7dbec2b50087242958dd40 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -7,14 +7,14 @@ $ atest -c <YourClassName>
|
||||
// The following instructions show how to run the test suite using make + adb //
|
||||
|
||||
To build the tests you can use the following command at the root of your android source tree
|
||||
$ make SettingsUnitTests
|
||||
$ make -j SettingsUnitTests
|
||||
|
||||
The test apk then needs to be installed onto your test device. The apk's location will vary
|
||||
depending on your device model and architecture. At the end of the make command's output, there
|
||||
should be a line similar to the following:
|
||||
"Copy: out/target/product/shamu/testcases/SettingsUnitTests/arm64/SettingsUnitTests.apk"
|
||||
"Copy: ${ANDROID_PRODUCT_OUT}/testcases/SettingsUnitTests/arm64/SettingsUnitTests.apk"
|
||||
Install via the following command:
|
||||
$ adb install -r out/target/product/shamu/testcases/SettingsUnitTests/arm64/SettingsUnitTests.apk
|
||||
$ adb install -r ${ANDROID_PRODUCT_OUT}/testcases/SettingsUnitTests/arm64/SettingsUnitTests.apk
|
||||
|
||||
To run all tests:
|
||||
$ adb shell am instrument -w com.android.settings.tests.unit/androidx.test.runner.AndroidJUnitRunner
|
||||
|
||||
Reference in New Issue
Block a user