diff options
Diffstat (limited to 'simplepie/test/feed_title/SPtests/rss/1.0')
5 files changed, 105 insertions, 0 deletions
diff --git a/simplepie/test/feed_title/SPtests/rss/1.0/atom/0.3/title.php b/simplepie/test/feed_title/SPtests/rss/1.0/atom/0.3/title.php new file mode 100644 index 000000000..753863a24 --- /dev/null +++ b/simplepie/test/feed_title/SPtests/rss/1.0/atom/0.3/title.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Title_Test_RSS_10_Atom_03_Title extends SimplePie_Feed_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#"> + <channel> + <a:title>Feed Title</a:title> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/1.0/atom/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/1.0/atom/1.0/title.php new file mode 100644 index 000000000..8b8bfe95f --- /dev/null +++ b/simplepie/test/feed_title/SPtests/rss/1.0/atom/1.0/title.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Title_Test_RSS_10_Atom_10_Title extends SimplePie_Feed_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"> + <channel> + <a:title>Feed Title</a:title> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/1.0/dc/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/1.0/dc/1.0/title.php new file mode 100644 index 000000000..2239c10f6 --- /dev/null +++ b/simplepie/test/feed_title/SPtests/rss/1.0/dc/1.0/title.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Title_Test_RSS_10_DC_10_Title extends SimplePie_Feed_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/"> + <channel> + <dc:title>Feed Title</dc:title> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/1.0/dc/1.1/title.php b/simplepie/test/feed_title/SPtests/rss/1.0/dc/1.1/title.php new file mode 100644 index 000000000..d764d2715 --- /dev/null +++ b/simplepie/test/feed_title/SPtests/rss/1.0/dc/1.1/title.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Title_Test_RSS_10_DC_11_Title extends SimplePie_Feed_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/"> + <channel> + <dc:title>Feed Title</dc:title> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/1.0/title.php new file mode 100644 index 000000000..bcf55cf8a --- /dev/null +++ b/simplepie/test/feed_title/SPtests/rss/1.0/title.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Title_Test_RSS_10_Title extends SimplePie_Feed_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/"> + <channel> + <title>Feed Title</title> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Title'; + } +} + +?>
\ No newline at end of file |