mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
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:
parent
bf2e338fc2
commit
8702554591
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user