diff options
Diffstat (limited to 'simplepie/test/feed_description/SPtests/rss/1.0')
5 files changed, 105 insertions, 0 deletions
diff --git a/simplepie/test/feed_description/SPtests/rss/1.0/atom/0.3/tagline.php b/simplepie/test/feed_description/SPtests/rss/1.0/atom/0.3/tagline.php new file mode 100644 index 000000000..4a86e3bae --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/1.0/atom/0.3/tagline.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_10_Atom_03_Tagline 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:a="http://purl.org/atom/ns#"> + <channel> + <a:tagline>Feed Description</a:tagline> + </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/atom/1.0/subtitle.php b/simplepie/test/feed_description/SPtests/rss/1.0/atom/1.0/subtitle.php new file mode 100644 index 000000000..c193059de --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/1.0/atom/1.0/subtitle.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_10_Atom_10_Subtitle 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:a="http://www.w3.org/2005/Atom"> + <channel> + <a:subtitle>Feed Description</a:subtitle> + </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.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 diff --git a/simplepie/test/feed_description/SPtests/rss/1.0/description.php b/simplepie/test/feed_description/SPtests/rss/1.0/description.php new file mode 100644 index 000000000..82a2479a3 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/1.0/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_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/"> + <channel> + <description>Feed Description</description> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file |