Merge "Add working internet precondition check" am: d863e35484 am: 5a04bc63e7 am: f3b9d75241
Original change: https://android-review.googlesource.com/c/platform/cts/+/1407947 Change-Id: If3b5a5441e38fc4aa6bedfb90c5d474f15856537
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