mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Move @Ignore from class to methods in DashWidevineOfflineTest
PiperOrigin-RevId: 365794941
This commit is contained in:
parent
f31894616c
commit
84ce648c90
1 changed files with 15 additions and 2 deletions
|
|
@ -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 {
|
||||||
// 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 {
|
||||||
}
|
}
|
||||||
|
|
||||||
@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 {
|
||||||
}
|
}
|
||||||
|
|
||||||
@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 {
|
||||||
}
|
}
|
||||||
|
|
||||||
@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 {
|
||||||
}
|
}
|
||||||
|
|
||||||
@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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue