aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_copyright/SPtests/rss/0.91-userland
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_copyright/SPtests/rss/0.91-userland')
-rw-r--r--simplepie/test/feed_copyright/SPtests/rss/0.91-userland/atom/1.0/rights.php21
-rw-r--r--simplepie/test/feed_copyright/SPtests/rss/0.91-userland/copyright.php21
-rw-r--r--simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.0/rights.php21
-rw-r--r--simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.1/rights.php21
4 files changed, 84 insertions, 0 deletions
diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/atom/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/atom/1.0/rights.php
new file mode 100644
index 000000000..32a1efa80
--- /dev/null
+++ b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/atom/1.0/rights.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_Feed_Copyright_Test_RSS_091_Userland_Atom_10_Rights extends SimplePie_Feed_Copyright_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom">
+ <channel>
+ <a:rights>Example Copyright Information</a:rights>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Example Copyright Information';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/copyright.php b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/copyright.php
new file mode 100644
index 000000000..2da3ceb0b
--- /dev/null
+++ b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/copyright.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_Feed_Copyright_Test_RSS_091_Userland_Copyright extends SimplePie_Feed_Copyright_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91">
+ <channel>
+ <copyright>Example Copyright Information</copyright>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Example Copyright Information';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.0/rights.php
new file mode 100644
index 000000000..44daa979e
--- /dev/null
+++ b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.0/rights.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_Feed_Copyright_Test_RSS_091_Userland_DC_10_Rights extends SimplePie_Feed_Copyright_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/">
+ <channel>
+ <dc:rights>Example Copyright Information</dc:rights>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Example Copyright Information';
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.1/rights.php
new file mode 100644
index 000000000..aaa13264b
--- /dev/null
+++ b/simplepie/test/feed_copyright/SPtests/rss/0.91-userland/dc/1.1/rights.php
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_Feed_Copyright_Test_RSS_091_Userland_DC_11_Rights extends SimplePie_Feed_Copyright_Test
+{
+ function data()
+ {
+ $this->data =
+'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <channel>
+ <dc:rights>Example Copyright Information</dc:rights>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 'Example Copyright Information';
+ }
+}
+
+?> \ No newline at end of file