Remove setVideoEffects_failsWithoutLibEffectsDep test

Removed test that attempted to verify behavior when the lib-effect dependency is missing. This is because it fails when adding lib-transformer to test-util dependency. The introduction of lib-transformer brought in lib-effect as a transitive dependency, which conflicted with the test's expectation of the class not being present.

PiperOrigin-RevId: 734547629
This commit is contained in:
shahddaghash 2025-03-07 07:16:43 -08:00 committed by Copybara-Service
parent bf2e338fc2
commit 8702554591

View File

@ -16231,14 +16231,6 @@ public class ExoPlayerTest {
assertThat(metadataAfterTransition.title.toString()).isEqualTo("title"); assertThat(metadataAfterTransition.title.toString()).isEqualTo("title");
} }
@Test
public void setVideoEffects_failsWithoutLibEffectsDep() {
ExoPlayer player = parameterizeTestExoPlayerBuilder(new TestExoPlayerBuilder(context)).build();
IllegalStateException expected =
assertThrows(IllegalStateException.class, () -> player.setVideoEffects(ImmutableList.of()));
assertThat(expected).hasMessageThat().contains("lib-effect dependencies");
}
@Test @Test
public void setPriority_blocksOtherLowPriorityTasksInPriorityTaskManager() throws Exception { public void setPriority_blocksOtherLowPriorityTasksInPriorityTaskManager() throws Exception {
PriorityTaskManager priorityTaskManager = new PriorityTaskManager(); PriorityTaskManager priorityTaskManager = new PriorityTaskManager();