Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3abeb3c authored by Stanley Wang's avatar Stanley Wang
Browse files

Remove the @ignore flag in test file.

- Remove the @ignore flag in WifiTetherApBandPreferenceControllerTest.
  All test cases should pass.

Fixes: 147031384
Test: robotest
Change-Id: Icf7d5063b001699c644d6666c79b6e81709d704d
parent 8a9ad065
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@ import androidx.preference.PreferenceScreen;
import com.android.settings.R;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -88,7 +87,6 @@ public class WifiTetherApBandPreferenceControllerTest {
    }

    @Test
    @Ignore
    public void display_5GhzSupported_shouldDisplayFullList() {
        when(mWifiManager.getCountryCode()).thenReturn("US");
        when(mWifiManager.is5GHzBandSupported()).thenReturn(true);
@@ -128,7 +126,6 @@ public class WifiTetherApBandPreferenceControllerTest {
    }

    @Test
    @Ignore
    public void changePreference_noDualModeWith5G_shouldUpdateValue() {
        when(mWifiManager.getCountryCode()).thenReturn("US");
        when(mWifiManager.is5GHzBandSupported()).thenReturn(true);
@@ -156,7 +153,6 @@ public class WifiTetherApBandPreferenceControllerTest {
    }

    @Test
    @Ignore
    public void changePreference_dualModeWith5G_shouldUpdateValue() {
        when(mWifiManager.getCountryCode()).thenReturn("US");
        when(mWifiManager.is5GHzBandSupported()).thenReturn(true);
@@ -187,7 +183,6 @@ public class WifiTetherApBandPreferenceControllerTest {
    }

    @Test
    @Ignore
    public void updateDisplay_shouldUpdateValue() {
        when(mWifiManager.getCountryCode()).thenReturn("US");
        when(mWifiManager.is5GHzBandSupported()).thenReturn(true);