diff options
Diffstat (limited to 'simplepie/test/feed_category_label/SPtests/rss/0.90/atom/1.0')
-rw-r--r-- | simplepie/test/feed_category_label/SPtests/rss/0.90/atom/1.0/label.php | 21 | ||||
-rw-r--r-- | simplepie/test/feed_category_label/SPtests/rss/0.90/atom/1.0/term.php | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/simplepie/test/feed_category_label/SPtests/rss/0.90/atom/1.0/label.php b/simplepie/test/feed_category_label/SPtests/rss/0.90/atom/1.0/label.php new file mode 100644 index 000000000..2b91b3916 --- /dev/null +++ b/simplepie/test/feed_category_label/SPtests/rss/0.90/atom/1.0/label.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Category_Label_Test_RSS_090_Atom_10_Category_Label extends SimplePie_Feed_Category_Label_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:a="http://www.w3.org/2005/Atom"> + <channel> + <a:category label="Feed Category"/> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_category_label/SPtests/rss/0.90/atom/1.0/term.php b/simplepie/test/feed_category_label/SPtests/rss/0.90/atom/1.0/term.php new file mode 100644 index 000000000..cc797910c --- /dev/null +++ b/simplepie/test/feed_category_label/SPtests/rss/0.90/atom/1.0/term.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Category_Label_Test_RSS_090_Atom_10_Category_Term extends SimplePie_Feed_Category_Label_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:a="http://www.w3.org/2005/Atom"> + <channel> + <a:category term="Feed Category"/> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Category'; + } +} + +?>
\ No newline at end of file |