diff options
Diffstat (limited to 'simplepie/test/feed_title/SPtests/atom')
6 files changed, 114 insertions, 0 deletions
diff --git a/simplepie/test/feed_title/SPtests/atom/0.3/dc/1.0/title.php b/simplepie/test/feed_title/SPtests/atom/0.3/dc/1.0/title.php new file mode 100644 index 000000000..ab0a13978 --- /dev/null +++ b/simplepie/test/feed_title/SPtests/atom/0.3/dc/1.0/title.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Title_Test_Atom_03_DC_10_Title extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <dc:title>Feed Title</dc:title> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/atom/0.3/dc/1.1/title.php b/simplepie/test/feed_title/SPtests/atom/0.3/dc/1.1/title.php new file mode 100644 index 000000000..20db9d9a1 --- /dev/null +++ b/simplepie/test/feed_title/SPtests/atom/0.3/dc/1.1/title.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Title_Test_Atom_03_DC_11_Title extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <dc:title>Feed Title</dc:title> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/atom/0.3/title.php b/simplepie/test/feed_title/SPtests/atom/0.3/title.php new file mode 100644 index 000000000..236afed1a --- /dev/null +++ b/simplepie/test/feed_title/SPtests/atom/0.3/title.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Title_Test_Atom_03_Title extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#"> + <title>Feed Title</title> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/atom/1.0/dc/1.0/title.php b/simplepie/test/feed_title/SPtests/atom/1.0/dc/1.0/title.php new file mode 100644 index 000000000..c95b5e70c --- /dev/null +++ b/simplepie/test/feed_title/SPtests/atom/1.0/dc/1.0/title.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Title_Test_Atom_10_DC_10_Title extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <dc:title>Feed Title</dc:title> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/atom/1.0/dc/1.1/title.php b/simplepie/test/feed_title/SPtests/atom/1.0/dc/1.1/title.php new file mode 100644 index 000000000..a67f90925 --- /dev/null +++ b/simplepie/test/feed_title/SPtests/atom/1.0/dc/1.1/title.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Title_Test_Atom_10_DC_11_Title extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <dc:title>Feed Title</dc:title> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Title'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/atom/1.0/title.php b/simplepie/test/feed_title/SPtests/atom/1.0/title.php new file mode 100644 index 000000000..bfbf2aeed --- /dev/null +++ b/simplepie/test/feed_title/SPtests/atom/1.0/title.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Title_Test_Atom_10_Title extends SimplePie_Feed_Title_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <title>Feed Title</title> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Title'; + } +} + +?>
\ No newline at end of file |