Depends-on: I56166950c6ef7cbb0c4ac2c0b7998e4a909d4af9 Change-Id: I1b7eef5449f813deee23ebe9ff07d4d3b73ccf4b |
||
|---|---|---|
| .. | ||
| assets | ||
| config | ||
| res | ||
| resources/META-INF/services | ||
| src/com/android/settings | ||
| testutils/com/android/settings/testutils | ||
| Android.bp | ||
| AndroidManifest.xml | ||
| new_tests_hook.sh | ||
| OWNERS | ||
| README.md | ||
Running Settings Robolectric tests
The full suite
$ croot
$ atest SettingsRoboTests
Running a single test class
With a filter
$ croot
$ atest SettingsRoboTests:com.android.settings.display.AdaptiveSleepPreferenceControllerTest
You can also run any single test class with atest (it will try to find the correct path)
$ atest AdaptiveSleepPreferenceControllerTest