Commit e5a39eca by ibaker Committed by bachinger

Fix incorrect DataSourceContractTest test names

These should have been updated as part of
https://github.com/google/ExoPlayer/commit/1affbf9357c061149b3cb287972ea0157d1b6735

#minor-release

PiperOrigin-RevId: 392913561
parent 9fad5f41
......@@ -91,12 +91,12 @@ public class UdpDataSourceContractTest extends DataSourceContractTest {
@Test
@Ignore("UdpDataSource doesn't support DataSpec's position or length [internal: b/175856954]")
@Override
public void dataSpecWithPositionAtEnd_throwsPositionOutOfRangeException() {}
public void dataSpecWithPositionAtEnd_readsZeroBytes() {}
@Test
@Ignore("UdpDataSource doesn't support DataSpec's position or length [internal: b/175856954]")
@Override
public void dataSpecWithPositionAtEndAndLength_throwsPositionOutOfRangeException() {}
public void dataSpecWithPositionAtEndAndLength_readsZeroBytes() {}
@Test
@Ignore("UdpDataSource doesn't support DataSpec's position or length [internal: b/175856954]")
......
......@@ -217,7 +217,7 @@ public abstract class DataSourceContractTest {
}
@Test
public void dataSpecWithPositionAtEnd_throwsPositionOutOfRangeException() throws Exception {
public void dataSpecWithPositionAtEnd_readsZeroBytes() throws Exception {
ImmutableList<TestResource> resources = getTestResources();
Assertions.checkArgument(!resources.isEmpty(), "Must provide at least one test resource.");
......@@ -248,8 +248,7 @@ public abstract class DataSourceContractTest {
}
@Test
public void dataSpecWithPositionAtEndAndLength_throwsPositionOutOfRangeException()
throws Exception {
public void dataSpecWithPositionAtEndAndLength_readsZeroBytes() throws Exception {
ImmutableList<TestResource> resources = getTestResources();
Assertions.checkArgument(!resources.isEmpty(), "Must provide at least one test resource.");
......
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