Solves casting problem in WifiCallingSettingsForSubTest that causes all tests in this file to fail in the setup-function. The wfc mode buttons has changed from being a ListPreference to be a ListWithEntrySummaryPreference. The test cases have now been updated accordingly. Problem was introduced by the following two patches that conflict with each other. The test cases in WifiCallingSettingsForSubTest works correctly when each patch is tested in isolation, but failed when they were both merged:73ffcf49998498436a96Bug: 129545431 Test: make RunSettingsRoboTests \ ROBOTEST_FILTER=WifiCallingSettingsForSubTest Change-Id: Ib6988e514bbad2023ba6cfc2e1d8734b68cabc31
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.