Commit 33c67784 by tonihei Committed by Toni

Use versioned manifest in all Robolectric tests.

We are currently defaulting to targetSdk=1 as no targetSdk is specified. Only
tests which explicitly ask for another SDK use another test SDK. With the
versioned manifest, all tests run using the targetSDK by default.

PiperOrigin-RevId: 249060796
parent e39996e9
...@@ -14,4 +14,6 @@ ...@@ -14,4 +14,6 @@
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.ext.cast.test"/> <manifest package="com.google.android.exoplayer2.ext.cast.test">
<uses-sdk/>
</manifest>
...@@ -14,4 +14,6 @@ ...@@ -14,4 +14,6 @@
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.ext.cronet"/> <manifest package="com.google.android.exoplayer2.ext.cronet">
<uses-sdk/>
</manifest>
...@@ -14,4 +14,6 @@ ...@@ -14,4 +14,6 @@
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.ext.ffmpeg"/> <manifest package="com.google.android.exoplayer2.ext.ffmpeg">
<uses-sdk/>
</manifest>
...@@ -14,4 +14,6 @@ ...@@ -14,4 +14,6 @@
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.ext.flac"/> <manifest package="com.google.android.exoplayer2.ext.flac">
<uses-sdk/>
</manifest>
...@@ -13,4 +13,6 @@ ...@@ -13,4 +13,6 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.ext.ima.test" /> <manifest package="com.google.android.exoplayer2.ext.ima.test">
<uses-sdk/>
</manifest>
...@@ -14,4 +14,6 @@ ...@@ -14,4 +14,6 @@
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.ext.opus"/> <manifest package="com.google.android.exoplayer2.ext.opus">
<uses-sdk/>
</manifest>
...@@ -14,4 +14,6 @@ ...@@ -14,4 +14,6 @@
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.ext.rtmp"/> <manifest package="com.google.android.exoplayer2.ext.rtmp">
<uses-sdk/>
</manifest>
...@@ -14,4 +14,6 @@ ...@@ -14,4 +14,6 @@
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.ext.vp9"/> <manifest package="com.google.android.exoplayer2.ext.vp9">
<uses-sdk/>
</manifest>
...@@ -14,4 +14,6 @@ ...@@ -14,4 +14,6 @@
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.core.test"/> <manifest package="com.google.android.exoplayer2.core.test">
<uses-sdk/>
</manifest>
...@@ -14,4 +14,6 @@ ...@@ -14,4 +14,6 @@
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.source.dash.test"/> <manifest package="com.google.android.exoplayer2.source.dash.test">
<uses-sdk/>
</manifest>
...@@ -14,4 +14,6 @@ ...@@ -14,4 +14,6 @@
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.source.hls.test" /> <manifest package="com.google.android.exoplayer2.source.hls.test">
<uses-sdk/>
</manifest>
...@@ -14,4 +14,6 @@ ...@@ -14,4 +14,6 @@
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.source.smoothstreaming.test"/> <manifest package="com.google.android.exoplayer2.source.smoothstreaming.test">
<uses-sdk/>
</manifest>
...@@ -15,4 +15,6 @@ ...@@ -15,4 +15,6 @@
~ limitations under the License. ~ limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.source.ui.test" /> <manifest package="com.google.android.exoplayer2.source.ui.test">
<uses-sdk/>
</manifest>
...@@ -14,4 +14,6 @@ ...@@ -14,4 +14,6 @@
limitations under the License. limitations under the License.
--> -->
<manifest package="com.google.android.exoplayer2.testutil.test"/> <manifest package="com.google.android.exoplayer2.testutil.test">
<uses-sdk/>
</manifest>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment