diff options
Diffstat (limited to 'simplepie/test/first_item_content/SPtests/rss/0.91-userland')
7 files changed, 161 insertions, 0 deletions
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/content.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/content.php new file mode 100644 index 000000000..4287801e7 --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/content.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Userland_Atom_03_Content extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <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_content/SPtests/rss/0.91-userland/atom/0.3/summary.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/summary.php new file mode 100644 index 000000000..690a0eced --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/0.3/summary.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Userland_Atom_03_Summary extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:summary>Item Description</a:summary> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/content.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/content.php new file mode 100644 index 000000000..cab5aa6e9 --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/content.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Userland_Atom_10_Content extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<rss version="0.91" 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_content/SPtests/rss/0.91-userland/atom/1.0/summary.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/summary.php new file mode 100644 index 000000000..f0f50d0a0 --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/atom/1.0/summary.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Userland_Atom_10_Summary extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<rss version="0.91" 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 diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.0/description.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.0/description.php new file mode 100644 index 000000000..4a63d5e4f --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.0/description.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Userland_DC_10_Description extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <item> + <dc:description>Item Description</dc:description> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.1/description.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.1/description.php new file mode 100644 index 000000000..d745953fb --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/dc/1.1/description.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Userland_DC_11_Description extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <item> + <dc:description>Item Description</dc:description> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-userland/description.php b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/description.php new file mode 100644 index 000000000..70353eeb9 --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-userland/description.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Userland_Description extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<rss version="0.91"> + <channel> + <item> + <description>Item Description</description> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file |