diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-05 03:34:42 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-05 03:34:42 -0700 |
commit | 9f7ae0e95f89b964a098eaacdfd89ff25e05c615 (patch) | |
tree | 0bfe8d04f4b11abdbea41fe9bf6e165eec8ebc4b /simplepie/test/first_item_title/SPtests/rss/1.0 | |
parent | f5826105bfc514599b2c5b6692bca14ca4bc5d78 (diff) | |
download | volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.gz volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.bz2 volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.zip |
Add simplepie
Diffstat (limited to 'simplepie/test/first_item_title/SPtests/rss/1.0')
5 files changed, 105 insertions, 0 deletions
diff --git a/simplepie/test/first_item_title/SPtests/rss/1.0/atom/0.3/title.php b/simplepie/test/first_item_title/SPtests/rss/1.0/atom/0.3/title.php new file mode 100644 index 000000000..f23da2034 --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/1.0/atom/0.3/title.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_10_Atom_03_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://purl.org/rss/1.0/" xmlns:a="http://purl.org/atom/ns#"> + <item> + <a:title>Item Title</a: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/1.0/atom/1.0/title.php b/simplepie/test/first_item_title/SPtests/rss/1.0/atom/1.0/title.php new file mode 100644 index 000000000..98e889811 --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/1.0/atom/1.0/title.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_10_Atom_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://purl.org/rss/1.0/" xmlns:a="http://www.w3.org/2005/Atom"> + <item> + <a:title>Item Title</a: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/1.0/dc/1.0/title.php b/simplepie/test/first_item_title/SPtests/rss/1.0/dc/1.0/title.php new file mode 100644 index 000000000..b2b0c3b23 --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/1.0/dc/1.0/title.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_10_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://purl.org/rss/1.0/" 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/1.0/dc/1.1/title.php b/simplepie/test/first_item_title/SPtests/rss/1.0/dc/1.1/title.php new file mode 100644 index 000000000..4ebaa9966 --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/1.0/dc/1.1/title.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_10_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://purl.org/rss/1.0/" 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 diff --git a/simplepie/test/first_item_title/SPtests/rss/1.0/title.php b/simplepie/test/first_item_title/SPtests/rss/1.0/title.php new file mode 100644 index 000000000..4e20cbfcf --- /dev/null +++ b/simplepie/test/first_item_title/SPtests/rss/1.0/title.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Title_Test_RSS_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://purl.org/rss/1.0/"> + <item> + <title>Item Title</title> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Item Title'; + } +} + +?>
\ No newline at end of file |