diff options
Diffstat (limited to 'simplepie/test/first_item_title/SPtests/rss/0.91-userland')
5 files changed, 115 insertions, 0 deletions
diff --git a/simplepie/test/first_item_title/SPtests/rss/0.91-userland/atom/0.3/title.php b/simplepie/test/first_item_title/SPtests/rss/0.91-userland/atom/0.3/title.php new file mode 100644 index 000000000..30ebf1a28 --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/0.91-userland/atom/0.3/title.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_091_Userland_Atom_03_Title extends SimplePie_First_Item_Title_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:title>Item Title</a:title> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_title/SPtests/rss/0.91-userland/atom/1.0/title.php b/simplepie/test/first_item_title/SPtests/rss/0.91-userland/atom/1.0/title.php new file mode 100644 index 000000000..610cf123a --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/0.91-userland/atom/1.0/title.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_091_Userland_Atom_10_Title extends SimplePie_First_Item_Title_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <item> + <a:title>Item Title</a:title> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_title/SPtests/rss/0.91-userland/dc/1.0/title.php b/simplepie/test/first_item_title/SPtests/rss/0.91-userland/dc/1.0/title.php new file mode 100644 index 000000000..4697173a8 --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/0.91-userland/dc/1.0/title.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_091_Userland_DC_10_Title extends SimplePie_First_Item_Title_Test +{ + function data() + { + $this->data = +'<rss version="0.91" 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 diff --git a/simplepie/test/first_item_title/SPtests/rss/0.91-userland/dc/1.1/title.php b/simplepie/test/first_item_title/SPtests/rss/0.91-userland/dc/1.1/title.php new file mode 100644 index 000000000..33e76fa89 --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/0.91-userland/dc/1.1/title.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_091_Userland_DC_11_Title extends SimplePie_First_Item_Title_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <item> + <dc:title>Item Title</dc:title> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_title/SPtests/rss/0.91-userland/title.php b/simplepie/test/first_item_title/SPtests/rss/0.91-userland/title.php new file mode 100644 index 000000000..384144ce5 --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/0.91-userland/title.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_091_Userland_Title extends SimplePie_First_Item_Title_Test +{ + function data() + { + $this->data = +'<rss version="0.91"> + <channel> + <item> + <title>Item Title</title> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Item Title'; + } +} + +?>
\ No newline at end of file |