diff options
Diffstat (limited to 'simplepie/test/first_item_title/SPtests/rss/0.90/dc')
-rw-r--r-- | simplepie/test/first_item_title/SPtests/rss/0.90/dc/1.0/title.php | 21 | ||||
-rw-r--r-- | simplepie/test/first_item_title/SPtests/rss/0.90/dc/1.1/title.php | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/simplepie/test/first_item_title/SPtests/rss/0.90/dc/1.0/title.php b/simplepie/test/first_item_title/SPtests/rss/0.90/dc/1.0/title.php new file mode 100644 index 000000000..f718d0623 --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/0.90/dc/1.0/title.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_090_DC_10_Title extends SimplePie_First_Item_Title_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <item> + <dc:title>Item Title</dc:title> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Item Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_title/SPtests/rss/0.90/dc/1.1/title.php b/simplepie/test/first_item_title/SPtests/rss/0.90/dc/1.1/title.php new file mode 100644 index 000000000..137c5917e --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/0.90/dc/1.1/title.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_090_DC_11_Title extends SimplePie_First_Item_Title_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://my.netscape.com/rdf/simple/0.9/" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <item> + <dc:title>Item Title</dc:title> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Item Title'; + } +} + +?>
\ No newline at end of file |