diff options
author | Sarah Fortune <sfortune@google.com> | 2016-12-01 16:58:57 -0800 |
---|---|---|
committer | Sarah Fortune <sfortune@google.com> | 2016-12-09 07:44:46 +0000 |
commit | 3b363f83de09574fe91de54e44e56a967237f4fd (patch) | |
tree | f3d26fbe5b3e428b7f42c30857a79019714d8f6f /tests | |
parent | 292c233f15684ca299aee6104ea2bf81f2ad5462 (diff) |
Removed unused param wifi state machine.
Bug: 32981261
Test: refactoring CL. Existing unit tests still pass.
Change-Id: Ifb442b90980e5bcbe8350d65b402eaf97020998a
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WifiNotificationControllerTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiNotificationControllerTest.java b/tests/wifitests/src/com/android/server/wifi/WifiNotificationControllerTest.java index cc59ee4bd..5375bcff8 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiNotificationControllerTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiNotificationControllerTest.java @@ -56,7 +56,6 @@ public class WifiNotificationControllerTest { public static final String TAG = "WifiScanningServiceTest"; @Mock private Context mContext; - @Mock private WifiStateMachine mWifiStateMachine; @Mock private FrameworkFacade mFrameworkFacade; @Mock private NotificationManager mNotificationManager; @Mock private WifiInjector mWifiInjector; @@ -87,7 +86,7 @@ public class WifiNotificationControllerTest { TestLooper mock_looper = new TestLooper(); mWifiNotificationController = new WifiNotificationController( - mContext, mock_looper.getLooper(), mWifiStateMachine, mFrameworkFacade, + mContext, mock_looper.getLooper(), mFrameworkFacade, mock(Notification.Builder.class), mWifiInjector); ArgumentCaptor<BroadcastReceiver> broadcastReceiverCaptor = ArgumentCaptor.forClass(BroadcastReceiver.class); |