diff options
Diffstat (limited to 'simplepie/test/feed_copyright/SPtests/rss/2.0')
4 files changed, 84 insertions, 0 deletions
diff --git a/simplepie/test/feed_copyright/SPtests/rss/2.0/atom/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/2.0/atom/1.0/rights.php new file mode 100644 index 000000000..cd2e63764 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/2.0/atom/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_20_Atom_10_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="2.0" 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/2.0/copyright.php b/simplepie/test/feed_copyright/SPtests/rss/2.0/copyright.php new file mode 100644 index 000000000..273424bf4 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/2.0/copyright.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_20_Copyright extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="2.0"> + <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/2.0/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/2.0/dc/1.0/rights.php new file mode 100644 index 000000000..e866e6708 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/2.0/dc/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_20_DC_10_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="2.0" 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/2.0/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/rss/2.0/dc/1.1/rights.php new file mode 100644 index 000000000..9c251592c --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/2.0/dc/1.1/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_20_DC_11_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rss version="2.0" 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 |