Search in sources :

Example 1 with WifiTracker

use of com.android.settingslib.wifi.WifiTracker in project Resurrection_packages_apps_Settings by ResurrectionRemix.

the class NetworkRequestDialogActivityTest method setUp.

@Before
public void setUp() {
    // Mocks fake WifiTracker, in case of exception in NetworkRequestDialogFragment.onResume().
    WifiTracker wifiTracker = mock(WifiTracker.class);
    WifiTrackerFactory.setTestingWifiTracker(wifiTracker);
}
Also used : WifiTracker(com.android.settingslib.wifi.WifiTracker) Before(org.junit.Before)

Aggregations

WifiTracker (com.android.settingslib.wifi.WifiTracker)1 Before (org.junit.Before)1