mirror of
https://github.com/androidx/media.git
synced 2025-05-08 08:00:49 +08:00
Rename sample_mpd to sample_mpd_live
This helps to better disambiguate the file from other mpd files in the directory. PiperOrigin-RevId: 350552168
This commit is contained in:
parent
a25ad03b9f
commit
1ef06b8d92
@ -42,7 +42,6 @@ public class DefaultDashChunkSourceTest {
|
|||||||
|
|
||||||
private static final String SAMPLE_MPD_LIVE_WITH_OFFSET_INSIDE_WINDOW =
|
private static final String SAMPLE_MPD_LIVE_WITH_OFFSET_INSIDE_WINDOW =
|
||||||
"media/mpd/sample_mpd_live_with_offset_inside_window";
|
"media/mpd/sample_mpd_live_with_offset_inside_window";
|
||||||
|
|
||||||
private static final String SAMPLE_MPD_VOD = "media/mpd/sample_mpd_vod";
|
private static final String SAMPLE_MPD_VOD = "media/mpd/sample_mpd_vod";
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -42,7 +42,7 @@ import org.xmlpull.v1.XmlPullParserFactory;
|
|||||||
@RunWith(AndroidJUnit4.class)
|
@RunWith(AndroidJUnit4.class)
|
||||||
public class DashManifestParserTest {
|
public class DashManifestParserTest {
|
||||||
|
|
||||||
private static final String SAMPLE_MPD = "media/mpd/sample_mpd";
|
private static final String SAMPLE_MPD_LIVE = "media/mpd/sample_mpd_live";
|
||||||
private static final String SAMPLE_MPD_UNKNOWN_MIME_TYPE =
|
private static final String SAMPLE_MPD_UNKNOWN_MIME_TYPE =
|
||||||
"media/mpd/sample_mpd_unknown_mime_type";
|
"media/mpd/sample_mpd_unknown_mime_type";
|
||||||
private static final String SAMPLE_MPD_SEGMENT_TEMPLATE = "media/mpd/sample_mpd_segment_template";
|
private static final String SAMPLE_MPD_SEGMENT_TEMPLATE = "media/mpd/sample_mpd_segment_template";
|
||||||
@ -73,7 +73,7 @@ public class DashManifestParserTest {
|
|||||||
DashManifestParser parser = new DashManifestParser();
|
DashManifestParser parser = new DashManifestParser();
|
||||||
parser.parse(
|
parser.parse(
|
||||||
Uri.parse("https://example.com/test.mpd"),
|
Uri.parse("https://example.com/test.mpd"),
|
||||||
TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_MPD));
|
TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_MPD_LIVE));
|
||||||
parser.parse(
|
parser.parse(
|
||||||
Uri.parse("https://example.com/test.mpd"),
|
Uri.parse("https://example.com/test.mpd"),
|
||||||
TestUtil.getInputStream(
|
TestUtil.getInputStream(
|
||||||
@ -184,7 +184,7 @@ public class DashManifestParserTest {
|
|||||||
DashManifest manifest =
|
DashManifest manifest =
|
||||||
parser.parse(
|
parser.parse(
|
||||||
Uri.parse("https://example.com/test.mpd"),
|
Uri.parse("https://example.com/test.mpd"),
|
||||||
TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_MPD));
|
TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_MPD_LIVE));
|
||||||
ProgramInformation expectedProgramInformation =
|
ProgramInformation expectedProgramInformation =
|
||||||
new ProgramInformation(
|
new ProgramInformation(
|
||||||
"MediaTitle", "MediaSource", "MediaCopyright", "www.example.com", "enUs");
|
"MediaTitle", "MediaSource", "MediaCopyright", "www.example.com", "enUs");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user