diff options
Diffstat (limited to 'simplepie/test/feed_description/SPtests/rss/0.90')
5 files changed, 105 insertions, 0 deletions
diff --git a/simplepie/test/feed_description/SPtests/rss/0.90/atom/0.3/tagline.php b/simplepie/test/feed_description/SPtests/rss/0.90/atom/0.3/tagline.php new file mode 100644 index 000000000..e6cb8aba3 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.90/atom/0.3/tagline.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_090_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://my.netscape.com/rdf/simple/0.9/" 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/0.90/atom/1.0/subtitle.php b/simplepie/test/feed_description/SPtests/rss/0.90/atom/1.0/subtitle.php new file mode 100644 index 000000000..3824094e5 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.90/atom/1.0/subtitle.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_090_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://my.netscape.com/rdf/simple/0.9/" 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/0.90/dc/1.0/description.php b/simplepie/test/feed_description/SPtests/rss/0.90/dc/1.0/description.php new file mode 100644 index 000000000..12170525c --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.90/dc/1.0/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_090_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://my.netscape.com/rdf/simple/0.9/" 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/0.90/dc/1.1/description.php b/simplepie/test/feed_description/SPtests/rss/0.90/dc/1.1/description.php new file mode 100644 index 000000000..3db65728c --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.90/dc/1.1/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_090_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://my.netscape.com/rdf/simple/0.9/" 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/0.90/description.php b/simplepie/test/feed_description/SPtests/rss/0.90/description.php new file mode 100644 index 000000000..52d7cf0c3 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.90/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_090_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://my.netscape.com/rdf/simple/0.9/"> + <channel> + <description>Feed Description</description> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file |