tests: dash: fix dash tests after index fix
authorThiago Santos <thiagoss@osg.samsung.com>
Mon, 1 Feb 2016 17:25:42 +0000 (14:25 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Mon, 1 Feb 2016 17:36:48 +0000 (14:36 -0300)
8e788f284508612982e8e38336eed676c2eec35a broke one of the
dash mpd tests. This updates and fixes it.

tests/check/elements/dash_mpd.c

index b460d14..ba96b92 100644 (file)
@@ -4043,6 +4043,8 @@ GST_START_TEST (dash_mpdparser_headers)
       "          <Initialization sourceURL=\"TestSourceUrl\""
       "                          range=\"100-200\">"
       "          </Initialization>"
+      "          <RepresentationIndex sourceURL=\"TestSourceIndex\">"
+      "          </RepresentationIndex>"
       "        </SegmentBase>"
       "      </Representation></AdaptationSet></Period></MPD>";
 
@@ -4083,7 +4085,7 @@ GST_START_TEST (dash_mpdparser_headers)
       gst_mpd_client_get_next_header_index (mpdclient, &uri, 0, &range_start,
       &range_end);
   assert_equals_int (ret, TRUE);
-  assert_equals_string (uri, "TestSourceUrl");
+  assert_equals_string (uri, "TestSourceIndex");
   assert_equals_int64 (range_start, 10);
   assert_equals_int64 (range_end, 20);
   g_free (uri);