migrate net tests to cts_v2

bug:21762834
Change-Id: Ic86dee963720c1412a42ec231c81c97d7f322420
This commit is contained in:
Nash Lincoln
2015-09-17 13:46:25 -07:00
parent 2d7887bdd3
commit de95223f87
3 changed files with 27 additions and 2 deletions

View File

@@ -40,6 +40,9 @@ LOCAL_STATIC_JAVA_LIBRARIES := core-tests-support ctsdeviceutil \
# uncomment when b/13249961 is fixed
#LOCAL_SDK_VERSION := current
# Tag this module as a cts_v2 test artifact
LOCAL_COMPATIBILITY_SUITE := cts_v2
include $(BUILD_CTS_PACKAGE)
include $(call all-makefiles-under,$(LOCAL_PATH))

View File

@@ -16,7 +16,7 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.cts.net">
package="android.net.cts">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
@@ -35,7 +35,7 @@
</application>
<instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
android:targetPackage="com.android.cts.net"
android:targetPackage="android.net.cts"
android:label="CTS tests of android.net">
<meta-data android:name="listener"
android:value="com.android.cts.runner.CtsTestRunListener" />

View File

@@ -0,0 +1,22 @@
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<configuration description="Test module config for net apis">
<include name="common-config" />
<option name="apk-installer:test-file-name" value="CtsNetTestCases.apk" />
<test class="com.android.tradefed.testtype.InstrumentationTest" >
<option name="package" value="android.net.cts" />
<option name="runner" value="android.support.test.runner.AndroidJUnitRunner" />
</test>
</configuration>