Data loaders should be destroyed at onPause or the APP list will be updated twice. Bug: 146841747 Test: make RunSettingsRoboTests ROBOTEST_FILTER=DataUsageListTest Change-Id: Ic1b8ef443dd8e50777f1e3a16977add654748c54
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.