diff options
Diffstat (limited to 'simplepie/test/feed_copyright/SPtests/rss/1.0')
3 files changed, 63 insertions, 0 deletions
diff --git a/simplepie/test/feed_copyright/SPtests/rss/1.0/atom/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/1.0/atom/1.0/rights.php new file mode 100644 index 000000000..4f8a2f343 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/1.0/atom/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_10_Atom_10_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:rights>Example Copyright Information</a:rights> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/1.0/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/rss/1.0/dc/1.0/rights.php new file mode 100644 index 000000000..efa34b39b --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/1.0/dc/1.0/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_10_DC_10_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <dc:rights>Example Copyright Information</dc:rights> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/rss/1.0/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/rss/1.0/dc/1.1/rights.php new file mode 100644 index 000000000..803f5e024 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/rss/1.0/dc/1.1/rights.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Copyright_Test_RSS_10_DC_11_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <dc:rights>Example Copyright Information</dc:rights> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file |