- Created a new helper method DataUsageUtils.formatDataUsage() to format data usage bytes using IEC formatting. - Switch from Formatter.formatFileSize() to DataUsageUtils.formatDataUsage() everywhere in datausage package. Change-Id: I9323beed8bf5126b153fc9a3cdd9591c97ca6fd2 Merged-In: I9323beed8bf5126b153fc9a3cdd9591c97ca6fd2 Fixes: 76159924 Test: robotests
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.