diff options
Diffstat (limited to 'simplepie/test/feed_category_label/SPtests/rss/0.92')
4 files changed, 84 insertions, 0 deletions
diff --git a/simplepie/test/feed_category_label/SPtests/rss/0.92/atom/1.0/label.php b/simplepie/test/feed_category_label/SPtests/rss/0.92/atom/1.0/label.php new file mode 100644 index 000000000..38af20b99 --- /dev/null +++ b/simplepie/test/feed_category_label/SPtests/rss/0.92/atom/1.0/label.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Category_Label_Test_RSS_092_Atom_10_Category_Label extends SimplePie_Feed_Category_Label_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:category label="Feed Category"/> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_category_label/SPtests/rss/0.92/atom/1.0/term.php b/simplepie/test/feed_category_label/SPtests/rss/0.92/atom/1.0/term.php new file mode 100644 index 000000000..2539a6d7b --- /dev/null +++ b/simplepie/test/feed_category_label/SPtests/rss/0.92/atom/1.0/term.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Category_Label_Test_RSS_092_Atom_10_Category_Term extends SimplePie_Feed_Category_Label_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:category term="Feed Category"/> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_category_label/SPtests/rss/0.92/dc/1.0/subject.php b/simplepie/test/feed_category_label/SPtests/rss/0.92/dc/1.0/subject.php new file mode 100644 index 000000000..0decfee44 --- /dev/null +++ b/simplepie/test/feed_category_label/SPtests/rss/0.92/dc/1.0/subject.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Category_Label_Test_RSS_092_DC_10_Subject extends SimplePie_Feed_Category_Label_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <dc:subject>Feed Category</dc:subject> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_category_label/SPtests/rss/0.92/dc/1.1/subject.php b/simplepie/test/feed_category_label/SPtests/rss/0.92/dc/1.1/subject.php new file mode 100644 index 000000000..1108b4fa8 --- /dev/null +++ b/simplepie/test/feed_category_label/SPtests/rss/0.92/dc/1.1/subject.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Category_Label_Test_RSS_092_DC_11_Subject extends SimplePie_Feed_Category_Label_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <dc:subject>Feed Category</dc:subject> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Category'; + } +} + +?>
\ No newline at end of file |