Split MobileNetworkActivity into 2 files. Enable testing through ActivityScenario Bug: 141833767 Test: manual make RunSettingsRoboTests -j ROBOTEST_FILTER=MobileNetworkActivityTest make RunSettingsRoboTests -j ROBOTEST_FILTER=ActiveSubsciptionsListenerTest Change-Id: I9f0f80f5edda53196ce0795113506495e8980e99
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.