diff options
Diffstat (limited to 'simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape')
4 files changed, 96 insertions, 0 deletions
diff --git a/simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape/atom/1.0/label.php b/simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape/atom/1.0/label.php new file mode 100644 index 000000000..cbd00ec02 --- /dev/null +++ b/simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape/atom/1.0/label.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Category_Label_Test_RSS_091_Netscape_Atom_10_Category_Label extends SimplePie_First_Item_Category_Label_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:category label="Item Category"/> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape/atom/1.0/term.php b/simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape/atom/1.0/term.php new file mode 100644 index 000000000..d1c3522e2 --- /dev/null +++ b/simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape/atom/1.0/term.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Category_Label_Test_RSS_091_Netscape_Atom_10_Category_Term extends SimplePie_First_Item_Category_Label_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:category term="Item Category"/> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape/dc/1.0/subject.php b/simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape/dc/1.0/subject.php new file mode 100644 index 000000000..6a1a93e4e --- /dev/null +++ b/simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape/dc/1.0/subject.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Category_Label_Test_RSS_091_Netscape_DC_10_Subject extends SimplePie_First_Item_Category_Label_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <item> + <dc:subject>Item Category</dc:subject> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape/dc/1.1/subject.php b/simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape/dc/1.1/subject.php new file mode 100644 index 000000000..9cfb63341 --- /dev/null +++ b/simplepie/test/first_item_category_label/SPtests/rss/0.91-netscape/dc/1.1/subject.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Category_Label_Test_RSS_091_Netscape_DC_11_Subject extends SimplePie_First_Item_Category_Label_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <item> + <dc:subject>Item Category</dc:subject> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Category'; + } +} + +?>
\ No newline at end of file |