tree: b7b94f910e4257c1d521e1c53186eb1e2e38e4d4 [path history] [tgz]
  1. assets/
  2. config/
  3. res/
  4. resources/
  5. src/
  6. testutils/
  7. Android.bp
  8. AndroidManifest.xml
  9. new_tests_hook.sh
  10. OWNERS
  11. README.md
tests/robotests/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