Provider model is a feature which improves networks Settings UX. NetworkProviderSettings is the fragment which allow users to choose a mobile network or a Wi-Fi network to connect. At this change, NetworkProviderSettings is a clone of WifiSettings, mobile networks will be integrated at later CLs. Bug: 167474581 Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.network.NetworkProviderSettingsTest Change-Id: I185639a8f2469e9ec76ad18b6c2bc2e8a4d079e3
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.