diff options
Diffstat (limited to 'simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0')
-rw-r--r-- | simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/content.php | 23 | ||||
-rw-r--r-- | simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/summary.php | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/content.php b/simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/content.php new file mode 100644 index 000000000..d712ece73 --- /dev/null +++ b/simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/content.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Description_Test_RSS_20_Atom_10_Content extends SimplePie_First_Item_Description_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:content>Item Description</a:content> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/summary.php b/simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/summary.php new file mode 100644 index 000000000..ab0aa2d20 --- /dev/null +++ b/simplepie/test/first_item_description/SPtests/rss/2.0/atom/1.0/summary.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Description_Test_RSS_20_Atom_10_Summary extends SimplePie_First_Item_Description_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:summary>Item Description</a:summary> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file |