diff options
Diffstat (limited to 'simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom')
4 files changed, 96 insertions, 0 deletions
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/content.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/content.php new file mode 100644 index 000000000..9ddd30750 --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/content.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Netscape_Atom_03_Content extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<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-netscape/atom/0.3/summary.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/summary.php new file mode 100644 index 000000000..1833d359f --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/0.3/summary.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Netscape_Atom_03_Summary extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<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-netscape/atom/1.0/content.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/1.0/content.php new file mode 100644 index 000000000..7a4ac164e --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/1.0/content.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Netscape_Atom_10_Content extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<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-netscape/atom/1.0/summary.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/1.0/summary.php new file mode 100644 index 000000000..e90f938e8 --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/atom/1.0/summary.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Netscape_Atom_10_Summary extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<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 |