When a subscription is disabled, we need to hide most things on the details page. The UX mocks called for leaving in a few things such as the data usage header and some carrier information, but in tests I've done it looks like the telephony APIs don't have any of that available when the subscription is disabled. So for now the only thing left on the page in the disabled case is the on/off toggle at the very top. Fixes: 129665956 Test: make RunSettingsRoboTests Change-Id: I98f4590fca38d03b1e5ff2cf0d2b4876d2adf936
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.