From 22e5e8f87167102259092bbeaa14c656e090bd67 Mon Sep 17 00:00:00 2001 From: Ningyuan Wang Date: Fri, 14 Jul 2017 10:16:23 -0700 Subject: Re-enable PNO unit tests for WifiConnectivityManager Bug: 32977707 Test: compile, unit tests Change-Id: I25e9b07fc43029c19f17b77a6c50701d07871d9d --- .../src/com/android/server/wifi/WifiConnectivityManagerTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java b/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java index f9622d0ac..d4eef041e 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java @@ -51,7 +51,6 @@ import com.android.internal.R; import org.junit.After; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; import org.mockito.ArgumentCaptor; import org.mockito.Captor; @@ -533,7 +532,6 @@ public class WifiConnectivityManagerTest { * because of their low RSSI values. */ @Test - @Ignore("b/32977707") public void pnoRetryForLowRssiNetwork() { when(mWifiNS.selectNetwork(anyObject(), anyObject(), anyObject(), anyBoolean(), anyBoolean(), anyBoolean())).thenReturn(null); @@ -565,7 +563,6 @@ public class WifiConnectivityManagerTest { * a candidate while watchdog single scan did. */ @Test - @Ignore("b/32977707") public void watchdogBitePnoBadIncrementsMetrics() { // Set screen to off mWifiConnectivityManager.handleScreenStateChanged(false); @@ -589,7 +586,6 @@ public class WifiConnectivityManagerTest { * a candidate which was the same with watchdog single scan. */ @Test - @Ignore("b/32977707") public void watchdogBitePnoGoodIncrementsMetrics() { // Qns returns no candidate after watchdog single scan. when(mWifiNS.selectNetwork(anyObject(), anyObject(), anyObject(), anyBoolean(), -- cgit v1.2.3