mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Robolectric uses the JRE HttpURLConnection [1], while real Android devices and emulators use OkHttp to implement HttpURLConnection. This can lead to important differences in behaviour, so it's better to use instrumentation tests when specific HTTP behaviour is important. [1] https://github.com/robolectric/robolectric/issues/6769#issuecomment-943556156 PiperOrigin-RevId: 408840295
37 lines
1.4 KiB
XML
37 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2021 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.
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="androidx.media3.datasource.test">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
<uses-sdk/>
|
|
|
|
<application
|
|
android:allowBackup="false"
|
|
android:usesCleartextTraffic="true"
|
|
tools:ignore="MissingApplicationIcon,HardcodedDebugMode">
|
|
<provider
|
|
android:authorities="androidx.media3.test.utils.AssetContentProvider"
|
|
android:name="androidx.media3.test.utils.AssetContentProvider"/>
|
|
</application>
|
|
|
|
<instrumentation
|
|
android:targetPackage="androidx.media3.datasource.test"
|
|
android:name="androidx.test.runner.AndroidJUnitRunner"/>
|
|
|
|
</manifest>
|