android13/packages/apps/Settings/tests/robotests
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
assets initial 2024-06-22 20:45:49 +08:00
config initial 2024-06-22 20:45:49 +08:00
res initial 2024-06-22 20:45:49 +08:00
resources/META-INF/services initial 2024-06-22 20:45:49 +08:00
src/com/android/settings initial 2024-06-22 20:45:49 +08:00
Android.bp initial 2024-06-22 20:45:49 +08:00
AndroidManifest.xml initial 2024-06-22 20:45:49 +08:00
OWNERS initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
new_tests_hook.sh initial 2024-06-22 20:45:49 +08:00

README.md

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.