diff options
Diffstat (limited to 'simplepie/test/first_item_category_label/SPtests/rss/0.92/dc')
-rw-r--r-- | simplepie/test/first_item_category_label/SPtests/rss/0.92/dc/1.0/subject.php | 23 | ||||
-rw-r--r-- | simplepie/test/first_item_category_label/SPtests/rss/0.92/dc/1.1/subject.php | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/simplepie/test/first_item_category_label/SPtests/rss/0.92/dc/1.0/subject.php b/simplepie/test/first_item_category_label/SPtests/rss/0.92/dc/1.0/subject.php new file mode 100644 index 000000000..28d099422 --- /dev/null +++ b/simplepie/test/first_item_category_label/SPtests/rss/0.92/dc/1.0/subject.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Category_Label_Test_RSS_092_DC_10_Subject extends SimplePie_First_Item_Category_Label_Test +{ + function data() + { + $this->data = +'<rss version="0.92" 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.92/dc/1.1/subject.php b/simplepie/test/first_item_category_label/SPtests/rss/0.92/dc/1.1/subject.php new file mode 100644 index 000000000..bf41df8ac --- /dev/null +++ b/simplepie/test/first_item_category_label/SPtests/rss/0.92/dc/1.1/subject.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Category_Label_Test_RSS_092_DC_11_Subject extends SimplePie_First_Item_Category_Label_Test +{ + function data() + { + $this->data = +'<rss version="0.92" 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 |