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