WifiMeteredPreferenceController2 always has a non null mWifiEntry, remove redundant test case testController_resilientToNullConfig Bug: 146479774 Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.details2 Change-Id: I8194476ea0f337e63b29ff73e9071f6df65d13af
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.