This is the permission preference in the App Settings page. The summary is single line. Add the first Kotlin Robolectric Test for Settings, since Kotlin is not directly supported by the Robolectric test, using a Java class as a wrapper. Bug: 236346018 Test: Manual with App Settings page Test: Robolectric Test Change-Id: Ic5a4f7d965885a9cd143428a8cd1900981e316a9
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.