WifiCallingSettingsForSubTest: Solve casting problem in setup
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
This commit is contained in:
@@ -92,8 +92,8 @@ public class WifiCallingSettingsForSubTest {
|
|||||||
@Mock private ToggleSwitch mToggleSwitch;
|
@Mock private ToggleSwitch mToggleSwitch;
|
||||||
@Mock private View mView;
|
@Mock private View mView;
|
||||||
@Mock private ImsConfig mImsConfig;
|
@Mock private ImsConfig mImsConfig;
|
||||||
@Mock private ListPreference mButtonWfcMode;
|
@Mock private ListWithEntrySummaryPreference mButtonWfcMode;
|
||||||
@Mock private ListPreference mButtonWfcRoamingMode;
|
@Mock private ListWithEntrySummaryPreference mButtonWfcRoamingMode;
|
||||||
@Mock private Preference mUpdateAddress;
|
@Mock private Preference mUpdateAddress;
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
|
|||||||
Reference in New Issue
Block a user