mirror of
https://github.com/samsonjs/media.git
synced 2026-04-01 10:35:48 +00: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
1 changed files with 6 additions and 6 deletions
|
|
@ -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…
Reference in a new issue