Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
assets/ | 25-Apr-2025 | - | 142 | 138 | ||
config/ | 25-Apr-2025 | - | 6 | 6 | ||
res/ | 25-Apr-2025 | - | 896 | 509 | ||
resources/META-INF/services/ | 25-Apr-2025 | - | 9 | 5 | ||
src/com/android/settings/ | 25-Apr-2025 | - | 283,565 | 203,892 | ||
testutils/com/android/settings/testutils/ | 25-Apr-2025 | - | 2,249 | 1,458 | ||
Android.bp | D | 25-Apr-2025 | 3.1 KiB | 123 | 107 | |
AndroidManifest.xml | D | 25-Apr-2025 | 1.1 KiB | 29 | 10 | |
OWNERS | D | 25-Apr-2025 | 105 | 4 | 3 | |
README.md | D | 25-Apr-2025 | 401 | 24 | 16 | |
new_tests_hook.sh | D | 25-Apr-2025 | 603 | 17 | 10 |
README.md
1# Running Settings Robolectric tests 2 3 4## The full suite 5``` 6$ croot 7$ atest SettingsRoboTests 8``` 9 10## Running a single test class 11 12With a filter 13 14``` 15$ croot 16$ atest SettingsRoboTests:com.android.settings.display.AdaptiveSleepPreferenceControllerTest 17``` 18 19You can also run any single test class with atest (it will try to find the correct path) 20 21``` 22$ atest AdaptiveSleepPreferenceControllerTest 23``` 24