Host GTS content ourselves + prevent spurious test passes

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=165561808
This commit is contained in:
olly 2017-08-17 04:04:01 -07:00 committed by Oliver Woodman
parent c2d2d967e9
commit a24f2b75b0

View File

@ -29,18 +29,18 @@ public final class CommonEncryptionDrmTest extends ActivityInstrumentationTestCa
private static final String TAG = "CencDrmTest"; private static final String TAG = "CencDrmTest";
private static final String URL_cenc = private static final String URL_cenc =
"https://storage.googleapis.com/wvmedia/cenc/h264/tears/tears.mpd"; "https://storage.googleapis.com/exoplayer-test-media-1/gts/tears-cenc.mpd";
private static final String URL_cbc1 = private static final String URL_cbc1 =
"https://storage.googleapis.com/wvmedia/cbc1/h264/tears/tears_aes_cbc1.mpd"; "https://storage.googleapis.com/exoplayer-test-media-1/gts/tears-aes-cbc1.mpd";
private static final String URL_cbcs = private static final String URL_cbcs =
"https://storage.googleapis.com/wvmedia/cbcs/h264/tears/tears_aes_cbcs.mpd"; "https://storage.googleapis.com/exoplayer-test-media-1/gts/tears-aes-cbcs.mpd";
private static final String ID_AUDIO = "0"; private static final String ID_AUDIO = "0";
private static final String[] IDS_VIDEO = new String[] {"1", "2"}; private static final String[] IDS_VIDEO = new String[] {"1", "2"};
// Seeks help reproduce playback issues in certain devices. // Seeks help reproduce playback issues in certain devices.
private static final ActionSchedule ACTION_SCHEDULE_WITH_SEEKS = new ActionSchedule.Builder(TAG) private static final ActionSchedule ACTION_SCHEDULE_WITH_SEEKS = new ActionSchedule.Builder(TAG)
.delay(30000).seek(300000).delay(10000).seek(270000).delay(10000).seek(200000).delay(10000) .delay(30000).seek(300000).delay(10000).seek(270000).delay(10000).seek(200000).delay(10000)
.stop().build(); .seek(732000).build();
private DashTestRunner testRunner; private DashTestRunner testRunner;