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_category_label/SPtests/atom | |
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_category_label/SPtests/atom')
6 files changed, 126 insertions, 0 deletions
diff --git a/simplepie/test/first_item_category_label/SPtests/atom/0.3/dc/1.0/subject.php b/simplepie/test/first_item_category_label/SPtests/atom/0.3/dc/1.0/subject.php new file mode 100644 index 000000000..8f39d5f5c --- /dev/null +++ b/simplepie/test/first_item_category_label/SPtests/atom/0.3/dc/1.0/subject.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Category_Label_Test_Atom_03_DC_10_Subject extends SimplePie_First_Item_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/"> + <entry> + <dc:subject>Item Category</dc:subject> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_category_label/SPtests/atom/0.3/dc/1.1/subject.php b/simplepie/test/first_item_category_label/SPtests/atom/0.3/dc/1.1/subject.php new file mode 100644 index 000000000..72bcfe293 --- /dev/null +++ b/simplepie/test/first_item_category_label/SPtests/atom/0.3/dc/1.1/subject.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Category_Label_Test_Atom_03_DC_11_Subject extends SimplePie_First_Item_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/"> + <entry> + <dc:subject>Item Category</dc:subject> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_category_label/SPtests/atom/1.0/dc/1.0/subject.php b/simplepie/test/first_item_category_label/SPtests/atom/1.0/dc/1.0/subject.php new file mode 100644 index 000000000..d72d6f9d5 --- /dev/null +++ b/simplepie/test/first_item_category_label/SPtests/atom/1.0/dc/1.0/subject.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Category_Label_Test_Atom_10_DC_10_Subject extends SimplePie_First_Item_Category_Label_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <entry> + <dc:subject>Item Category</dc:subject> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_category_label/SPtests/atom/1.0/dc/1.1/subject.php b/simplepie/test/first_item_category_label/SPtests/atom/1.0/dc/1.1/subject.php new file mode 100644 index 000000000..9850757a9 --- /dev/null +++ b/simplepie/test/first_item_category_label/SPtests/atom/1.0/dc/1.1/subject.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Category_Label_Test_Atom_10_DC_11_Subject extends SimplePie_First_Item_Category_Label_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <entry> + <dc:subject>Item Category</dc:subject> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_category_label/SPtests/atom/1.0/label.php b/simplepie/test/first_item_category_label/SPtests/atom/1.0/label.php new file mode 100644 index 000000000..1f2eb256f --- /dev/null +++ b/simplepie/test/first_item_category_label/SPtests/atom/1.0/label.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Category_Label_Test_Atom_10_Category_Label extends SimplePie_First_Item_Category_Label_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <entry> + <category label="Item Category"/> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Category'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_category_label/SPtests/atom/1.0/term.php b/simplepie/test/first_item_category_label/SPtests/atom/1.0/term.php new file mode 100644 index 000000000..0689665ce --- /dev/null +++ b/simplepie/test/first_item_category_label/SPtests/atom/1.0/term.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Category_Label_Test_Atom_10_Category_Term extends SimplePie_First_Item_Category_Label_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <entry> + <category term="Item Category"/> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Category'; + } +} + +?>
\ No newline at end of file |