diff options
author | Rebecca Silberstein <silberst@google.com> | 2017-03-31 22:32:37 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-31 22:32:37 +0000 |
commit | 0ca439f9ed48669f192aec950492015c8484be37 (patch) | |
tree | 917a9b8bbb6cfa04d640932a93c6cc33ce9ce600 | |
parent | af688137a5acdfed0b5f3f3b7e681a358556a0ca (diff) | |
parent | b8fe1431cebacad2acfe1f878e5226b1e07e50bd (diff) |
Merge "WifiStateMachinePrimeTest: update any matcher" am: 398b7247f7
am: b8fe1431ce
Change-Id: I30b0bfcb02425699464219183a674bc838d0749e
-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); |