canSubscriptionBeDisplayed is more readable. Reasonale: When cherry-picking ag/12886476 into Android R branch (ag/13209427), a comment from code reviewer suggested this change. Since ag/12886476 has been merged for a while, another patch for it is perferred option when comparing with reverting that CL and resubmit it. Bug: 175830728 Change-Id: Ie91eb82504fd7cff6671803a2bc2560139690952 Test: build pass Merged-In: Ie91eb82504fd7cff6671803a2bc2560139690952
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.