Merge "Add working internet precondition check" am: d863e35484 am: 5a04bc63e7
Original change: https://android-review.googlesource.com/c/platform/cts/+/1407947 Change-Id: I77121d95e136f67d232bf0fd74f755bbbb024f48
This commit is contained in:
@@ -204,6 +204,8 @@ public class ConnectivityManagerTest {
|
|||||||
} catch (Exception e) {}
|
} catch (Exception e) {}
|
||||||
}
|
}
|
||||||
mUiAutomation = mInstrumentation.getUiAutomation();
|
mUiAutomation = mInstrumentation.getUiAutomation();
|
||||||
|
|
||||||
|
assertNotNull("CTS requires a working Internet connection", mCm.getActiveNetwork());
|
||||||
}
|
}
|
||||||
|
|
||||||
@After
|
@After
|
||||||
|
|||||||
Reference in New Issue
Block a user