Merge "Add connectivity pre-check for ConnectivityManagerApi23Test" into main
This commit is contained in:
commit
2795a1afb0
2 changed files with 5 additions and 0 deletions
|
|
@ -57,4 +57,5 @@ android_test {
|
|||
],
|
||||
per_testcase_directory: true,
|
||||
sdk_version: "test_current",
|
||||
host_required: ["net-tests-utils-host-common"],
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,6 +25,10 @@
|
|||
<option name="test-file-name" value="CtsNetApi23TestCases.apk" />
|
||||
<option name="test-file-name" value="CtsNetTestAppForApi23.apk" />
|
||||
</target_preparer>
|
||||
<target_preparer class="com.android.testutils.ConnectivityTestTargetPreparer">
|
||||
<!-- The tests require a working Wi-Fi network only -->
|
||||
<option name="ignore-mobile-data-check" value="true" />
|
||||
</target_preparer>
|
||||
<test class="com.android.tradefed.testtype.AndroidJUnitTest" >
|
||||
<option name="package" value="android.net.cts.api23test" />
|
||||
<option name="hidden-api-checks" value="false" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue