fix the legacy failed test since the scale is different, setting the testing value in ms scale (getBatteryTimeRemainingMs()), but getting the data in us scale (info.remainingTimeUs) Bug: 188244142 Test: make SettingsRoboTests Change-Id: Ib389976985eb3741cc96e0ee4a3a000c7f690b37
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.