diff options
Diffstat (limited to 'simplepie/test/feed_description/SPtests/rss/1.0/dc')
-rw-r--r-- | simplepie/test/feed_description/SPtests/rss/1.0/dc/1.0/description.php | 21 | ||||
-rw-r--r-- | simplepie/test/feed_description/SPtests/rss/1.0/dc/1.1/description.php | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/simplepie/test/feed_description/SPtests/rss/1.0/dc/1.0/description.php b/simplepie/test/feed_description/SPtests/rss/1.0/dc/1.0/description.php new file mode 100644 index 000000000..79135f67a --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/1.0/dc/1.0/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_10_DC_10_Description extends SimplePie_Feed_Description_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:description>Feed Description</dc:description> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/1.0/dc/1.1/description.php b/simplepie/test/feed_description/SPtests/rss/1.0/dc/1.1/description.php new file mode 100644 index 000000000..dd4e64dd7 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/1.0/dc/1.1/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_10_DC_11_Description extends SimplePie_Feed_Description_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:description>Feed Description</dc:description> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file |