[totem-pl-parser] Add test cases for the recent itms parser fixes



commit edca00ae10b190bfd71b97a6914d2d94939b933f
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 29 01:17:32 2009 +0100

    Add test cases for the recent itms parser fixes
    
    2009-04-29  Bastien Nocera  <hadess hadess net>
    
    	* plparse/tests/parser.c (test_parsability): Add test cases for
    	the recent itms parser fixes
---
 ChangeLog              |    5 +++++
 plparse/tests/parser.c |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5e4e5b0..45358e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-04-29  Bastien Nocera  <hadess hadess net>
 
+	* plparse/tests/parser.c (test_parsability): Add test cases for
+	the recent itms parser fixes
+
+2009-04-29  Bastien Nocera  <hadess hadess net>
+
 	* plparse/totem-pl-parser-podcast.c (totem_pl_parser_is_itms_feed):
 	Fix parsing for
 	itms://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=271121520&ign-mscache=1
diff --git a/plparse/tests/parser.c b/plparse/tests/parser.c
index 4fa4938..66a7a00 100644
--- a/plparse/tests/parser.c
+++ b/plparse/tests/parser.c
@@ -167,6 +167,8 @@ test_parsability (void)
 	} const files[] = {
 		/* NOTE: For relative paths, don't add a protocol. */
 		{ "560051.xml", TRUE, FALSE },
+		{ "itms://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=271121520&ign-mscache=1", TRUE, TRUE },
+		{ "http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=271121520";, TRUE, TRUE },
 		{ "file:///tmp/file_doesnt_exist.wmv", FALSE, FALSE },
 		{ "http://live.hujjat.org:7860/main";, FALSE, TRUE },
 		{ "http://www.comedycentral.com/sitewide/media_player/videoswitcher.jhtml?showid=934&category=/shows/the_daily_show/videos/headlines&sec=videoId%3D36032%3BvideoFeatureId%3D%3BpoppedFrom%3D_shows_the_daily_show_index.jhtml%3BisIE%3Dfalse%3BisPC%3Dtrue%3Bpagename%3Dmedia_player%3Bzyg%3D%27%2Bif_nt_zyg%2B%27%3Bspan%3D%27%2Bif_nt_span%2B%27%3Bdemo%3D%27%2Bif_nt_demo%2B%27%3Bbps%3D%27%2Bif_nt_bandwidth%2B%27%3Bgateway%3Dshows%3Bsection_1%3Dthe_daily_show%3Bsection_2%3Dvideos%3Bsection_3%3Dheadlines%3Bzyg%3D%27%2Bif_nt_zyg%2B%27%3Bspan%3D%27%2Bif_nt_span%2B%27%3Bdemo%3D%27%2Bif_nt_demo%2B%27%3Bera%3D%27%2Bif_nt_era%2B%27%3Bbps%3D%27%2Bif_nt_bandwidth%2B%27%3Bfla%3D%27%2Bif_nt_Flash%2B%27&itemid=36032&clip=com/dailyshow/headlines/10156_headline.wmv&mswmext=.asx";, TRUE, TRUE },



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