[xiph-commits] r12609 - trunk/xspf/testcase/for_version_1/pass

dllmain at svn.xiph.org dllmain at svn.xiph.org
Fri Mar 2 14:49:43 PST 2007


Author: dllmain
Date: 2007-03-02 14:49:25 -0800 (Fri, 02 Mar 2007)
New Revision: 12609

Added:
   trunk/xspf/testcase/for_version_1/pass/playlist-empty-annotation.xspf
   trunk/xspf/testcase/for_version_1/pass/playlist-empty-creator.xspf
   trunk/xspf/testcase/for_version_1/pass/playlist-empty-meta.xspf
   trunk/xspf/testcase/for_version_1/pass/playlist-empty-title.xspf
   trunk/xspf/testcase/for_version_1/pass/track-empty-album.xspf
   trunk/xspf/testcase/for_version_1/pass/track-empty-annotation.xspf
   trunk/xspf/testcase/for_version_1/pass/track-empty-creator.xspf
   trunk/xspf/testcase/for_version_1/pass/track-empty-meta.xspf
   trunk/xspf/testcase/for_version_1/pass/track-empty-title.xspf
Log:
9 new testcases checking for emptiness where allowed

Added: trunk/xspf/testcase/for_version_1/pass/playlist-empty-annotation.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/pass/playlist-empty-annotation.xspf	2007-03-02 19:51:35 UTC (rev 12608)
+++ trunk/xspf/testcase/for_version_1/pass/playlist-empty-annotation.xspf	2007-03-02 22:49:25 UTC (rev 12609)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+  <annotation />
+  <trackList />
+</playlist>

Added: trunk/xspf/testcase/for_version_1/pass/playlist-empty-creator.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/pass/playlist-empty-creator.xspf	2007-03-02 19:51:35 UTC (rev 12608)
+++ trunk/xspf/testcase/for_version_1/pass/playlist-empty-creator.xspf	2007-03-02 22:49:25 UTC (rev 12609)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+  <creator />
+  <trackList />
+</playlist>

Added: trunk/xspf/testcase/for_version_1/pass/playlist-empty-meta.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/pass/playlist-empty-meta.xspf	2007-03-02 19:51:35 UTC (rev 12608)
+++ trunk/xspf/testcase/for_version_1/pass/playlist-empty-meta.xspf	2007-03-02 22:49:25 UTC (rev 12609)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+  <meta rel="http://example.com/" />
+  <trackList />
+</playlist>

Added: trunk/xspf/testcase/for_version_1/pass/playlist-empty-title.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/pass/playlist-empty-title.xspf	2007-03-02 19:51:35 UTC (rev 12608)
+++ trunk/xspf/testcase/for_version_1/pass/playlist-empty-title.xspf	2007-03-02 22:49:25 UTC (rev 12609)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+  <title />
+  <trackList />
+</playlist>

Added: trunk/xspf/testcase/for_version_1/pass/track-empty-album.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/pass/track-empty-album.xspf	2007-03-02 19:51:35 UTC (rev 12608)
+++ trunk/xspf/testcase/for_version_1/pass/track-empty-album.xspf	2007-03-02 22:49:25 UTC (rev 12609)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+  <trackList>
+    <track>
+      <album />
+    </track>
+  </trackList>
+</playlist>

Added: trunk/xspf/testcase/for_version_1/pass/track-empty-annotation.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/pass/track-empty-annotation.xspf	2007-03-02 19:51:35 UTC (rev 12608)
+++ trunk/xspf/testcase/for_version_1/pass/track-empty-annotation.xspf	2007-03-02 22:49:25 UTC (rev 12609)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+  <trackList>
+    <track>
+      <annotation />
+    </track>
+  </trackList>
+</playlist>

Added: trunk/xspf/testcase/for_version_1/pass/track-empty-creator.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/pass/track-empty-creator.xspf	2007-03-02 19:51:35 UTC (rev 12608)
+++ trunk/xspf/testcase/for_version_1/pass/track-empty-creator.xspf	2007-03-02 22:49:25 UTC (rev 12609)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+  <trackList>
+    <track>
+      <creator />
+    </track>
+  </trackList>
+</playlist>

Added: trunk/xspf/testcase/for_version_1/pass/track-empty-meta.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/pass/track-empty-meta.xspf	2007-03-02 19:51:35 UTC (rev 12608)
+++ trunk/xspf/testcase/for_version_1/pass/track-empty-meta.xspf	2007-03-02 22:49:25 UTC (rev 12609)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+  <trackList>
+    <track>
+      <meta rel="http://example.com/" />
+    </track>
+  </trackList>
+</playlist>

Added: trunk/xspf/testcase/for_version_1/pass/track-empty-title.xspf
===================================================================
--- trunk/xspf/testcase/for_version_1/pass/track-empty-title.xspf	2007-03-02 19:51:35 UTC (rev 12608)
+++ trunk/xspf/testcase/for_version_1/pass/track-empty-title.xspf	2007-03-02 22:49:25 UTC (rev 12609)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+  <trackList>
+    <track>
+      <title />
+    </track>
+  </trackList>
+</playlist>



More information about the commits mailing list