diff options
Diffstat (limited to 'simplepie/test/first_item_title/SPtests/rss/2.0/dc/1.0')
-rw-r--r-- | simplepie/test/first_item_title/SPtests/rss/2.0/dc/1.0/title.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/simplepie/test/first_item_title/SPtests/rss/2.0/dc/1.0/title.php b/simplepie/test/first_item_title/SPtests/rss/2.0/dc/1.0/title.php new file mode 100644 index 000000000..f2a9bea94 --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/2.0/dc/1.0/title.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_20_DC_10_Title extends SimplePie_First_Item_Title_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <item> + <dc:title>Item Title</dc:title> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Title'; + } +} + +?>
\ No newline at end of file |