diff options
author | Rebecca Silberstein <silberst@google.com> | 2017-03-31 22:24:40 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-03-31 22:24:42 +0000 |
commit | 398b7247f7c0928a0320809b5b4efb9cba2d9d51 (patch) | |
tree | 917a9b8bbb6cfa04d640932a93c6cc33ce9ce600 /tests | |
parent | 61219faed07c3213c97c416265531f4d660b5c72 (diff) | |
parent | 11528d03ae12c726ee7e918b3d521247bf8207b1 (diff) |
Merge "WifiStateMachinePrimeTest: update any matcher"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WifiStateMachinePrimeTest.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiStateMachinePrimeTest.java b/tests/wifitests/src/com/android/server/wifi/WifiStateMachinePrimeTest.java index 398be0cf0..49c7d18d6 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiStateMachinePrimeTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiStateMachinePrimeTest.java @@ -114,7 +114,7 @@ public class WifiStateMachinePrimeTest { }).when(mWifiInjector).makeSoftApManager(any(INetworkManagementService.class), any(SoftApManager.Listener.class), any(IApInterface.class), - any(WifiConfiguration.class)); + any()); mWifiStateMachinePrime.enterSoftAPMode(wifiConfig); mLooper.dispatchAll(); Log.e("WifiStateMachinePrimeTest", "check fromState: " + fromState); @@ -143,7 +143,6 @@ public class WifiStateMachinePrimeTest { * Test that WifiStateMachinePrime properly enters the SoftApModeActiveState from the * WifiDisabled state. */ - @DisabledForUpdateToAnyMatcher @Test public void testEnterSoftApModeFromDisabled() throws Exception { enterSoftApActiveMode(); @@ -154,7 +153,6 @@ public class WifiStateMachinePrimeTest { * Expectations: When going from one state to another, any interfaces that are still up are torn * down. */ - @DisabledForUpdateToAnyMatcher @Test public void testEnterSoftApModeFromDifferentState() throws Exception { when(mWifiInjector.makeWificond()).thenReturn(mWificond); @@ -167,7 +165,6 @@ public class WifiStateMachinePrimeTest { /** * Test that we can disable wifi fully from the SoftApModeActiveState. */ - @DisabledForUpdateToAnyMatcher @Test public void testDisableWifiFromSoftApModeActiveState() throws Exception { enterSoftApActiveMode(); @@ -201,7 +198,6 @@ public class WifiStateMachinePrimeTest { * Expectation: When switching out of SoftApModeActiveState we stop the SoftApManager and tear * down existing interfaces. */ - @DisabledForUpdateToAnyMatcher @Test public void testSwitchModeWhenSoftApActiveMode() throws Exception { enterSoftApActiveMode(); @@ -247,7 +243,6 @@ public class WifiStateMachinePrimeTest { * Expectations: We should exit the current SoftApModeState and re-enter before successfully * entering the SoftApModeActiveState. */ - @DisabledForUpdateToAnyMatcher @Test public void testEnterSoftApModeActiveWhenAlreadyInSoftApMode() throws Exception { when(mWifiInjector.makeWificond()).thenReturn(mWificond); @@ -264,7 +259,6 @@ public class WifiStateMachinePrimeTest { * SoftApModeActiveState. * Expectations: We should exit the SoftApModeActiveState and stop the SoftApManager. */ - @DisabledForUpdateToAnyMatcher @Test public void testSoftApFailureWhenActive() throws Exception { enterSoftApActiveMode(); @@ -280,7 +274,6 @@ public class WifiStateMachinePrimeTest { * SoftApModeActiveState. * Expectations: We should exit the SoftApModeActiveState and stop the SoftApManager. */ - @DisabledForUpdateToAnyMatcher @Test public void testSoftApDisabledWhenActive() throws Exception { enterSoftApActiveMode(); @@ -312,7 +305,6 @@ public class WifiStateMachinePrimeTest { * * Expectations: WifiInjector should be called with a null config. */ - @DisabledForUpdateToAnyMatcher @Test public void testNullConfigIsPassedToWifiInjector() throws Exception { enterSoftApActiveMode(null); |