mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix incorrect DataSourceContractTest test names
These should have been updated as part of
1affbf9357
#minor-release
PiperOrigin-RevId: 392913561
This commit is contained in:
parent
9fad5f4130
commit
e5a39eca1e
2 changed files with 4 additions and 5 deletions
|
|
@ -91,12 +91,12 @@ public class UdpDataSourceContractTest extends DataSourceContractTest {
|
||||||
@Test
|
@Test
|
||||||
@Ignore("UdpDataSource doesn't support DataSpec's position or length [internal: b/175856954]")
|
@Ignore("UdpDataSource doesn't support DataSpec's position or length [internal: b/175856954]")
|
||||||
@Override
|
@Override
|
||||||
public void dataSpecWithPositionAtEnd_throwsPositionOutOfRangeException() {}
|
public void dataSpecWithPositionAtEnd_readsZeroBytes() {}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore("UdpDataSource doesn't support DataSpec's position or length [internal: b/175856954]")
|
@Ignore("UdpDataSource doesn't support DataSpec's position or length [internal: b/175856954]")
|
||||||
@Override
|
@Override
|
||||||
public void dataSpecWithPositionAtEndAndLength_throwsPositionOutOfRangeException() {}
|
public void dataSpecWithPositionAtEndAndLength_readsZeroBytes() {}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore("UdpDataSource doesn't support DataSpec's position or length [internal: b/175856954]")
|
@Ignore("UdpDataSource doesn't support DataSpec's position or length [internal: b/175856954]")
|
||||||
|
|
|
||||||
|
|
@ -217,7 +217,7 @@ public abstract class DataSourceContractTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void dataSpecWithPositionAtEnd_throwsPositionOutOfRangeException() throws Exception {
|
public void dataSpecWithPositionAtEnd_readsZeroBytes() throws Exception {
|
||||||
ImmutableList<TestResource> resources = getTestResources();
|
ImmutableList<TestResource> resources = getTestResources();
|
||||||
Assertions.checkArgument(!resources.isEmpty(), "Must provide at least one test resource.");
|
Assertions.checkArgument(!resources.isEmpty(), "Must provide at least one test resource.");
|
||||||
|
|
||||||
|
|
@ -248,8 +248,7 @@ public abstract class DataSourceContractTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void dataSpecWithPositionAtEndAndLength_throwsPositionOutOfRangeException()
|
public void dataSpecWithPositionAtEndAndLength_readsZeroBytes() throws Exception {
|
||||||
throws Exception {
|
|
||||||
ImmutableList<TestResource> resources = getTestResources();
|
ImmutableList<TestResource> resources = getTestResources();
|
||||||
Assertions.checkArgument(!resources.isEmpty(), "Must provide at least one test resource.");
|
Assertions.checkArgument(!resources.isEmpty(), "Must provide at least one test resource.");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue