diff options
Diffstat (limited to 'simplepie/test/feed_category_label/SPtests/atom')
6 files changed, 114 insertions, 0 deletions
diff --git a/simplepie/test/feed_category_label/SPtests/atom/0.3/dc/1.0/subject.php b/simplepie/test/feed_category_label/SPtests/atom/0.3/dc/1.0/subject.php new file mode 100644 index 000000000..735222265 --- /dev/null +++ b/simplepie/test/feed_category_label/SPtests/atom/0.3/dc/1.0/subject.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Category_Label_Test_Atom_03_DC_10_Subject extends SimplePie_Feed_Category_Label_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:subject>Feed Category</dc:subject> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_category_label/SPtests/atom/0.3/dc/1.1/subject.php b/simplepie/test/feed_category_label/SPtests/atom/0.3/dc/1.1/subject.php new file mode 100644 index 000000000..81c0fc3d5 --- /dev/null +++ b/simplepie/test/feed_category_label/SPtests/atom/0.3/dc/1.1/subject.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Category_Label_Test_Atom_03_DC_11_Subject extends SimplePie_Feed_Category_Label_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:subject>Feed Category</dc:subject> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_category_label/SPtests/atom/1.0/dc/1.0/subject.php b/simplepie/test/feed_category_label/SPtests/atom/1.0/dc/1.0/subject.php new file mode 100644 index 000000000..ffe2eb68d --- /dev/null +++ b/simplepie/test/feed_category_label/SPtests/atom/1.0/dc/1.0/subject.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Category_Label_Test_Atom_10_DC_10_Subject extends SimplePie_Feed_Category_Label_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <dc:subject>Feed Category</dc:subject> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_category_label/SPtests/atom/1.0/dc/1.1/subject.php b/simplepie/test/feed_category_label/SPtests/atom/1.0/dc/1.1/subject.php new file mode 100644 index 000000000..89fd41849 --- /dev/null +++ b/simplepie/test/feed_category_label/SPtests/atom/1.0/dc/1.1/subject.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Category_Label_Test_Atom_10_DC_11_Subject extends SimplePie_Feed_Category_Label_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <dc:subject>Feed Category</dc:subject> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_category_label/SPtests/atom/1.0/label.php b/simplepie/test/feed_category_label/SPtests/atom/1.0/label.php new file mode 100644 index 000000000..eacf3706f --- /dev/null +++ b/simplepie/test/feed_category_label/SPtests/atom/1.0/label.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Category_Label_Test_Atom_10_Category_Label extends SimplePie_Feed_Category_Label_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <category label="Feed Category"/> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_category_label/SPtests/atom/1.0/term.php b/simplepie/test/feed_category_label/SPtests/atom/1.0/term.php new file mode 100644 index 000000000..d387f69d4 --- /dev/null +++ b/simplepie/test/feed_category_label/SPtests/atom/1.0/term.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Category_Label_Test_Atom_10_Category_Term extends SimplePie_Feed_Category_Label_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <category term="Feed Category"/> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Category'; + } +} + +?>
\ No newline at end of file |