Files
app_Settings/tests/robotests
Fan Wu f08c87d002 Fix LinkifySummaryPreferenceTest
The spy annotation will trigger the non-existing API.

Bug: 313563183

Test: atest SettingsRoboTests:com.android.settings.widget
Change-Id: Iec4448b45e5408846962dc49c65ccc64feb5d2ad
2024-01-15 03:12:25 +00:00
..
2023-12-20 23:00:10 +00:00

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.