diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2017-04-01 01:11:53 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-04-01 01:11:54 +0000 |
commit | 3c6394d352ff171e74cdf3380bde654ccebd5dc2 (patch) | |
tree | 9abf008a4a24550c40024883d554c74cb41ae577 /tests | |
parent | d44fca25d34d80d98c242423c3a5504a325553ab (diff) | |
parent | ca89072bcd5e04f1c7efec08545958751a49bab1 (diff) |
Merge "WifiStateMachinePrimeTest: update any matcher" into oc-dev
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); |