From DataUsageSummaryPreferenceController and BatteryHeaderPreferenceController. There are no entity header UI for these 2 controllers, so no need to create EntityHeaderController instance. Bug: 295260929 Test: manual - on mobile settings page Test: manual - on data usage page Test: manual - on battery settings page Change-Id: Ib96c9ae93de31f86434e5203ef4acac3af50e0ef
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.