Revert "Don't use framework strings for formatting file sizes"
This reverts commit ded99003c4.
- Add java import in order to build successfully
- Fix RunSettingsRoboTests
Test: adb shell am instrument -w -e class
com.android.settings.utils.FileSizeFormatterTest
com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner
Test: make -j RunSettingsRoboTests
Bug: 70005649
Bug: 36994779
Change-Id: I1c0ff48c749e9fbb82fd670c27243bd3922ed373
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
To build the tests you can use the following command at the root of your android source tree
|
||||
$ make -j SettingsUnitTests
|
||||
$ make SettingsUnitTests
|
||||
|
||||
The test apk then needs to be installed onto your test device via for example
|
||||
$ adb install -r ${ANDROID_PRODUCT_OUT}/data/app/SettingsUnitTests/SettingsUnitTests.apk
|
||||
$ adb install -r out/target/product/shamu/data/app/SettingsUnitTests/SettingsUnitTests.apk
|
||||
|
||||
To run all tests:
|
||||
$ adb shell am instrument -w com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner
|
||||
|
||||
Reference in New Issue
Block a user