diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/ClientModeManagerTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/ClientModeManagerTest.java b/tests/wifitests/src/com/android/server/wifi/ClientModeManagerTest.java index fbdcb7ba3..b04caf54d 100644 --- a/tests/wifitests/src/com/android/server/wifi/ClientModeManagerTest.java +++ b/tests/wifitests/src/com/android/server/wifi/ClientModeManagerTest.java @@ -294,6 +294,7 @@ public class ClientModeManagerTest { mInterfaceCallbackCaptor.getValue().onDestroyed(TEST_INTERFACE_NAME); mLooper.dispatchAll(); verifyNotificationsForCleanShutdown(WIFI_STATE_ENABLED); + verify(mWifiStateMachine).handleIfaceDestroyed(); } /** @@ -318,5 +319,6 @@ public class ClientModeManagerTest { mLooper.dispatchAll(); verifyNoMoreInteractions(mListener); + verify(mWifiStateMachine, never()).handleIfaceDestroyed(); } } |