Commit 180d6ae9 by Oliver Woodman

Disable tests that fail on some host machines

parent 96c8557e
...@@ -22,6 +22,8 @@ import com.google.android.exoplayer2.C; ...@@ -22,6 +22,8 @@ import com.google.android.exoplayer2.C;
import com.google.android.exoplayer2.upstream.DataSource; import com.google.android.exoplayer2.upstream.DataSource;
import com.google.android.exoplayer2.upstream.DataSpec; import com.google.android.exoplayer2.upstream.DataSpec;
import java.io.IOException; import java.io.IOException;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner; import org.robolectric.RobolectricTestRunner;
...@@ -30,6 +32,7 @@ import org.robolectric.RobolectricTestRunner; ...@@ -30,6 +32,7 @@ import org.robolectric.RobolectricTestRunner;
@RunWith(RobolectricTestRunner.class) @RunWith(RobolectricTestRunner.class)
public class Aes128DataSourceTest { public class Aes128DataSourceTest {
@Ignore
@Test @Test
public void test_OpenCallsUpstreamOpen_CloseCallsUpstreamClose() throws IOException { public void test_OpenCallsUpstreamOpen_CloseCallsUpstreamClose() throws IOException {
UpstreamDataSource upstream = new UpstreamDataSource(); UpstreamDataSource upstream = new UpstreamDataSource();
...@@ -44,6 +47,7 @@ public class Aes128DataSourceTest { ...@@ -44,6 +47,7 @@ public class Aes128DataSourceTest {
assertThat(upstream.opened).isFalse(); assertThat(upstream.opened).isFalse();
} }
@Ignore
@Test @Test
public void test_OpenCallsUpstreamThrowingOpen_CloseCallsUpstreamClose() throws IOException { public void test_OpenCallsUpstreamThrowingOpen_CloseCallsUpstreamClose() throws IOException {
UpstreamDataSource upstream = UpstreamDataSource upstream =
......
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