Add @Test to overridden test in UdpDataSourceContractTest
With @Ignore but not @Test the method is still executed by JUnit: https://github.com/junit-team/junit4/issues/695 PiperOrigin-RevId: 348009981
This commit is contained in:
parent
e6d8741467
commit
9d2855c31f
@ -30,6 +30,7 @@ import java.net.InetAddress;
|
||||
import java.net.SocketException;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
/** {@link DataSource} contract tests for {@link UdpDataSource}. */
|
||||
@ -73,8 +74,9 @@ public class UdpDataSourceContractTest extends DataSourceContractTest {
|
||||
return Uri.parse("udp://notfound.invalid:12345");
|
||||
}
|
||||
|
||||
@Override
|
||||
@Test
|
||||
@Ignore("UdpDataSource doesn't support DataSpec's position or length [internal: b/175856954]")
|
||||
@Override
|
||||
public void dataSpecWithPosition_readUntilEnd() {}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user