am 2f35ccfb: am 69d3004e: am 0979fd66: am e51c7a43: am 6b21c965: am 467eda57: am 14ba13d4: am 2678d5bc: cherry pick from aosp. https://android-review.googlesource.com/63805

* commit '2f35ccfbcf47cda70c21f28e410bdd3233ec8477':
  cherry pick from aosp. https://android-review.googlesource.com/63805
This commit is contained in:
Daniel Kim
2014-02-05 22:26:19 +00:00
committed by Android Git Automerger

View File

@@ -407,6 +407,10 @@ public class WifiManagerTest extends AndroidTestCase {
* To pass this CTS test, a connected WiFi link is required.
*/
public void testWifiWatchdog() throws Exception {
if (!WifiFeature.isWifiSupported(getContext())) {
// skip the test if WiFi is not supported
return;
}
// Make sure WiFi is enabled
if (!mWifiManager.isWifiEnabled()) {
setWifiEnabled(true);