Commit 84ce648c by ibaker Committed by Oliver Woodman

Move @Ignore from class to methods in DashWidevineOfflineTest

PiperOrigin-RevId: 365794941
parent f3189461
...@@ -48,8 +48,6 @@ import org.junit.runner.RunWith; ...@@ -48,8 +48,6 @@ import org.junit.runner.RunWith;
/** Tests Widevine encrypted DASH playbacks using offline keys. */ /** Tests Widevine encrypted DASH playbacks using offline keys. */
@RunWith(AndroidJUnit4.class) @RunWith(AndroidJUnit4.class)
@Ignore(
"Need to be reconfigured/rewritten with an offline-compatible licence [internal b/176960595].")
public final class DashWidevineOfflineTest { public final class DashWidevineOfflineTest {
private static final String TAG = "DashWidevineOfflineTest"; private static final String TAG = "DashWidevineOfflineTest";
...@@ -103,6 +101,9 @@ public final class DashWidevineOfflineTest { ...@@ -103,6 +101,9 @@ public final class DashWidevineOfflineTest {
// Offline license tests // Offline license tests
@Test @Test
@Ignore(
"Needs to be reconfigured/rewritten with an offline-compatible licence [internal"
+ " b/176960595].")
public void widevineOfflineLicenseV22() throws Exception { public void widevineOfflineLicenseV22() throws Exception {
if (Util.SDK_INT < 22 || GtsTestUtil.shouldSkipWidevineTest(testRule.getActivity())) { if (Util.SDK_INT < 22 || GtsTestUtil.shouldSkipWidevineTest(testRule.getActivity())) {
return; // Pass. return; // Pass.
...@@ -116,6 +117,9 @@ public final class DashWidevineOfflineTest { ...@@ -116,6 +117,9 @@ public final class DashWidevineOfflineTest {
} }
@Test @Test
@Ignore(
"Needs to be reconfigured/rewritten with an offline-compatible licence [internal"
+ " b/176960595].")
public void widevineOfflineReleasedLicenseV22() throws Throwable { public void widevineOfflineReleasedLicenseV22() throws Throwable {
if (Util.SDK_INT < 22 if (Util.SDK_INT < 22
|| Util.SDK_INT > 28 || Util.SDK_INT > 28
...@@ -141,6 +145,9 @@ public final class DashWidevineOfflineTest { ...@@ -141,6 +145,9 @@ public final class DashWidevineOfflineTest {
} }
@Test @Test
@Ignore(
"Needs to be reconfigured/rewritten with an offline-compatible licence [internal"
+ " b/176960595].")
public void widevineOfflineReleasedLicenseV29() throws Throwable { public void widevineOfflineReleasedLicenseV29() throws Throwable {
if (Util.SDK_INT < 29 || GtsTestUtil.shouldSkipWidevineTest(testRule.getActivity())) { if (Util.SDK_INT < 29 || GtsTestUtil.shouldSkipWidevineTest(testRule.getActivity())) {
return; // Pass. return; // Pass.
...@@ -164,6 +171,9 @@ public final class DashWidevineOfflineTest { ...@@ -164,6 +171,9 @@ public final class DashWidevineOfflineTest {
} }
@Test @Test
@Ignore(
"Needs to be reconfigured/rewritten with an offline-compatible licence [internal"
+ " b/176960595].")
public void widevineOfflineExpiredLicenseV22() throws Exception { public void widevineOfflineExpiredLicenseV22() throws Exception {
if (Util.SDK_INT < 22 || GtsTestUtil.shouldSkipWidevineTest(testRule.getActivity())) { if (Util.SDK_INT < 22 || GtsTestUtil.shouldSkipWidevineTest(testRule.getActivity())) {
return; // Pass. return; // Pass.
...@@ -194,6 +204,9 @@ public final class DashWidevineOfflineTest { ...@@ -194,6 +204,9 @@ public final class DashWidevineOfflineTest {
} }
@Test @Test
@Ignore(
"Needs to be reconfigured/rewritten with an offline-compatible licence [internal"
+ " b/176960595].")
public void widevineOfflineLicenseExpiresOnPauseV22() throws Exception { public void widevineOfflineLicenseExpiresOnPauseV22() throws Exception {
if (Util.SDK_INT < 22 || GtsTestUtil.shouldSkipWidevineTest(testRule.getActivity())) { if (Util.SDK_INT < 22 || GtsTestUtil.shouldSkipWidevineTest(testRule.getActivity())) {
return; // Pass. return; // Pass.
......
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