From 71e1133d2773a724463d2da2ce8636a8cd8ab547 Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Sun, 4 Aug 2013 19:10:18 +0300 Subject: [PATCH] tests: media_guardian: Additional test URL, update media IDs Signed-off-by: Toni Gundogdu --- tests/media/media_guardian.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/tests/media/media_guardian.c b/tests/media/media_guardian.c index 896b227..86f29ef 100644 --- a/tests/media/media_guardian.c +++ b/tests/media/media_guardian.c @@ -28,6 +28,7 @@ static const gchar *URLs[] = { + "http://www.theguardian.com/film/video/2013/aug/01/alan-partridge-alpha-papa-video", "http://www.guardian.co.uk/football/blog/audio/2013/feb/18/football-weekly-blackburn-arsenal-wenger", "http://www.guardian.co.uk/technology/video/2013/may/01/google-glass-user-guide-released-video", "http://www.guardian.co.uk/science/audio/2013/apr/29/podcast-science-weekly-burning-question", @@ -37,6 +38,7 @@ static const gchar *URLs[] = static const gchar *TITLEs[] = { + "Alan Partridge: Alpha Papa: watch an exclusive clip", "Football Weekly: Blackburn dump Arsenal out of the FA Cup", "Google Glass: video user guide released – video", "Science Weekly podcast: The Burning Question – can we quit fossil fuels?", @@ -46,10 +48,11 @@ static const gchar *TITLEs[] = static const gchar *IDs[] = { - "404273586", - "408161914", - "407913554", - "408018322", + "1945044", + "1869215", + "1902069", + "1899845", + "1900820", NULL }; @@ -67,6 +70,10 @@ static void test_media_guardian() e.title = TITLEs[i]; e.id = IDs[i]; +#ifdef _1 /* Skip: audio streams don't obviously have these */ + o.gt0.stream.video.height = TRUE; + o.gt0.stream.video.width = TRUE; +#endif o.gt0.duration_ms = TRUE; qm_test(__func__, URLs[i], &e, &o); -- 2.11.4.GIT