The SkipFingerprintDialog is instantiation in SetupFingerprintEnrollFindSensor#onSkipButtonClick() Due to the call flow did not set appropriate theme defined in setuplib for skip alertDialog instance we set GlifV2ThemeAlertDialog AlertDialog.Builder. Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER= \ SetupFingerprintEnrollFindSensorTest Test: manual factory reset, go through SUW, and check skip AlertDialog Bottom Bar Buttons visual. Bug: 233243999 Change-Id: Ic198a23eb3e76d70e287b24f2ab1ef249b30b2fc
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.