Settings uses @hide WifiNetworkSuggestion. wifiConfiguration/passpointConfiguration. Migrate to @SystemApi getters. Removed call to PasspointConfiguration.validate() as it is an @hide API, instead WifiManager.addOrUpdatePasspointConfiguration() will perform the required validation. Bug: 138801922 Test: make RunSettingsRoboTests -j40 Change-Id: I748010b66634b1d24e89a175917492f638267cb1
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.