From c3abeb3c99a1cdd25525532a2e972229e73ca8e4 Mon Sep 17 00:00:00 2001 From: Stanley Wang Date: Tue, 31 Dec 2019 18:11:41 +0800 Subject: [PATCH] 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 --- .../tether/WifiTetherApBandPreferenceControllerTest.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/robotests/src/com/android/settings/wifi/tether/WifiTetherApBandPreferenceControllerTest.java b/tests/robotests/src/com/android/settings/wifi/tether/WifiTetherApBandPreferenceControllerTest.java index f81efc731a4..36279cb0051 100644 --- a/tests/robotests/src/com/android/settings/wifi/tether/WifiTetherApBandPreferenceControllerTest.java +++ b/tests/robotests/src/com/android/settings/wifi/tether/WifiTetherApBandPreferenceControllerTest.java @@ -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);