diff options
Diffstat (limited to 'simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc')
-rw-r--r-- | simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.0/description.php | 24 | ||||
-rw-r--r-- | simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.1/description.php | 24 |
2 files changed, 48 insertions, 0 deletions
diff --git a/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.0/description.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.0/description.php new file mode 100644 index 000000000..9606684c8 --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.0/description.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Netscape_DC_10_Description 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: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-netscape/dc/1.1/description.php b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.1/description.php new file mode 100644 index 000000000..5b9a2aede --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/rss/0.91-netscape/dc/1.1/description.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Content_Test_RSS_091_Netscape_DC_11_Description 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: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 |