Merge "Fix WifiDetailPreferenceControllerTest new test case failure" into qt-dev am: 28cfb72aaa

am: b2ad73da8e

Change-Id: I2d267d88965d3db10849ece1a920f27f75687590
This commit is contained in:
Andrew Sapperstein
2019-04-23 15:13:36 -07:00
committed by android-build-merger

View File

@@ -1653,7 +1653,7 @@ public class WifiDetailPreferenceControllerTest {
displayAndResume();
// change as not in range
when(mockAccessPoint.matches(any(WifiConfiguration.class))).thenReturn(false);
when(mockAccessPoint.matches(any(AccessPoint.class))).thenReturn(false);
boolean changed = mController.updateAccessPoint();
assertThat(changed).isTrue();
@@ -1666,7 +1666,7 @@ public class WifiDetailPreferenceControllerTest {
displayAndResume();
// change as in range
when(mockAccessPoint.matches(any(WifiConfiguration.class))).thenReturn(true);
when(mockAccessPoint.matches(any(AccessPoint.class))).thenReturn(true);
boolean changed = mController.updateAccessPoint();
assertThat(changed).isTrue();