mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Move SDK == 33 tests to SDK 33+
Ensure tests run on any recent emulator. PiperOrigin-RevId: 698015529
This commit is contained in:
parent
646a6352a2
commit
dc7a0ca22f
@ -1091,10 +1091,10 @@ public class TransformerEndToEndTest {
|
||||
@Test
|
||||
public void clippedMedia_trimOptimizationEnabled_completesWithOptimizationApplied()
|
||||
throws Exception {
|
||||
if (!isRunningOnEmulator() || Util.SDK_INT != 33) {
|
||||
if (!isRunningOnEmulator() || Util.SDK_INT < 33) {
|
||||
// The trim optimization is only guaranteed to work on emulator for this (emulator-transcoded)
|
||||
// file.
|
||||
recordTestSkipped(context, testId, /* reason= */ "SDK 33 Emulator only test");
|
||||
recordTestSkipped(context, testId, /* reason= */ "SDK 33+ Emulator only test");
|
||||
assumeTrue(false);
|
||||
}
|
||||
Transformer transformer =
|
||||
@ -1130,7 +1130,7 @@ public class TransformerEndToEndTest {
|
||||
if (!isRunningOnEmulator() || Util.SDK_INT < 33) {
|
||||
// The trim optimization is only guaranteed to work on emulator for this (emulator-transcoded)
|
||||
// file.
|
||||
recordTestSkipped(context, testId, /* reason= */ "SDK 33 Emulator only test");
|
||||
recordTestSkipped(context, testId, /* reason= */ "SDK 33+ Emulator only test");
|
||||
assumeTrue(false);
|
||||
}
|
||||
Transformer transformer =
|
||||
@ -1167,7 +1167,7 @@ public class TransformerEndToEndTest {
|
||||
if (!isRunningOnEmulator() || Util.SDK_INT < 33) {
|
||||
// The trim optimization is only guaranteed to work on emulator for this (emulator-transcoded)
|
||||
// file.
|
||||
recordTestSkipped(context, testId, /* reason= */ "SDK 33 Emulator only test");
|
||||
recordTestSkipped(context, testId, /* reason= */ "SDK 33+ Emulator only test");
|
||||
assumeTrue(false);
|
||||
}
|
||||
Transformer transformer =
|
||||
@ -1201,10 +1201,10 @@ public class TransformerEndToEndTest {
|
||||
public void
|
||||
clippedMediaAudioRemovedNoOpEffectAndRotated_trimOptimizationEnabled_completedWithOptimizationAppliedAndCorrectOrientation()
|
||||
throws Exception {
|
||||
if (!isRunningOnEmulator() || Util.SDK_INT != 33) {
|
||||
if (!isRunningOnEmulator() || Util.SDK_INT < 33) {
|
||||
// The trim optimization is only guaranteed to work on emulator for this (emulator-transcoded)
|
||||
// file.
|
||||
recordTestSkipped(context, testId, /* reason= */ "SDK 33 Emulator only test");
|
||||
recordTestSkipped(context, testId, /* reason= */ "SDK 33+ Emulator only test");
|
||||
assumeTrue(false);
|
||||
}
|
||||
Transformer transformer =
|
||||
|
Loading…
x
Reference in New Issue
Block a user