Remove NetHttpTests
The NetHttpTests is not being run anywhere and
has been a source of duplication with NetHttpCoverageTests.
This cl removes this target and merges the xml to
that of NetHttpCoverageTests which is our MTS target.
Bug:b/329262802
Test: atest NetHttpCoverageTests
Change-Id: Id1faead3bdea5ba5a65938dcd88d4ebca5a16ebc
diff --git a/Cronet/tests/common/AndroidManifest.xml b/Cronet/tests/common/AndroidManifest.xml
index b00fc90..418af86 100644
--- a/Cronet/tests/common/AndroidManifest.xml
+++ b/Cronet/tests/common/AndroidManifest.xml
@@ -19,12 +19,16 @@
xmlns:tools="http://schemas.android.com/tools"
package="com.android.net.http.tests.coverage">
- <!-- NetHttpCoverageTests combines CtsNetHttpTestCases and NetHttpTests targets,
- so permissions and others are declared in their respective manifests -->
- <application tools:replace="android:label"
- android:label="NetHttp coverage tests">
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.INTERNET"/>
+
+ <application android:networkSecurityConfig="@xml/network_security_config"
+ tools:replace="android:label"
+ android:label="NetHttp coverage tests" >
<uses-library android:name="android.test.runner" />
</application>
+
<instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
android:targetPackage="com.android.net.http.tests.coverage"
android:label="NetHttp coverage tests">