[totem-pl-parser] tests: Update ITMS test URLs



commit d2054d31f000cd131f05b749b210c3f9476dc9aa
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Oct 23 12:59:14 2015 +0200

    tests: Update ITMS test URLs
    
    For the first and third test, the RSS URL changed. For the second test,
    use the same Podcast as for the other two tests, rather than Annie Mac's
    Mini Mix.
    
    See https://bugzilla.redhat.com/show_bug.cgi?id=1274648

 plparse/tests/parser.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plparse/tests/parser.c b/plparse/tests/parser.c
index 7e7db30..45fa7d4 100644
--- a/plparse/tests/parser.c
+++ b/plparse/tests/parser.c
@@ -529,9 +529,9 @@ test_itms_parsing (void)
        }
 
        /* From https://itunes.apple.com/us/podcast/best-of-chris-moyles/id77318908 */
-       g_assert_cmpstr (parser_test_get_playlist_uri 
("itmss://itunes.apple.com/us/podcast/best-of-chris-moyles/id77318908?ign-msr=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D3%26ved%3D0CEEQFjAC%26url%3Dhttps%253A%252F%252Fitunes.apple.com%252Fus%252Fpodcast%252Fbest-of-chris-moyles%252Fid77318908%26ei%3DiMeaUO_ZIsfCtAbvk4DADA%26usg%3DAFQjCNE5YyukECjJE3fmrLIJICX5dMSyyg%26sig2%3DGM631xTbZq7E6m-eaGc3HA"),
 ==, "http://downloads.bbc.co.uk/podcasts/radio1/moyles/rss.xml";);
-       g_assert_cmpstr (parser_test_get_playlist_uri 
("itms://itunes.apple.com/gb/podcast/best-of-chris-moyles-enhanced/id142102961?ign-mpt=uo%3D4"), ==, 
"http://downloads.bbc.co.uk/podcasts/radio1/moylesen/rss.xml";);
-       g_assert_cmpstr (parser_test_get_playlist_uri 
("http://itunes.apple.com/gb/podcast/radio-1-mini-mix/id268491175?uo=4";), ==, 
"http://downloads.bbc.co.uk/podcasts/radio1/r1mix/rss.xml";);
+       g_assert_cmpstr (parser_test_get_playlist_uri 
("itmss://itunes.apple.com/us/podcast/best-of-chris-moyles/id77318908?ign-msr=https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D3%26ved%3D0CEEQFjAC%26url%3Dhttps%253A%252F%252Fitunes.apple.com%252Fus%252Fpodcast%252Fbest-of-chris-moyles%252Fid77318908%26ei%3DiMeaUO_ZIsfCtAbvk4DADA%26usg%3DAFQjCNE5YyukECjJE3fmrLIJICX5dMSyyg%26sig2%3DGM631xTbZq7E6m-eaGc3HA"),
 ==, "http://www.bbc.co.uk/programmes/p02nrx0j/episodes/downloads.rss";);
+       g_assert_cmpstr (parser_test_get_playlist_uri 
("https://itunes.apple.com/us/podcast/best-of-chris-moyles/id77318908#";), ==, 
"http://www.bbc.co.uk/programmes/p02nrx0j/episodes/downloads.rss";);
+       g_assert_cmpstr (parser_test_get_playlist_uri 
("http://itunes.apple.com/gb/podcast/radio-1-mini-mix/id268491175?uo=4";), ==, 
"http://www.bbc.co.uk/programmes/p02nrtyg/episodes/downloads.rss";);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]