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_content/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_content/SPtests/atom')
8 files changed, 168 insertions, 0 deletions
diff --git a/simplepie/test/first_item_content/SPtests/atom/0.3/content.php b/simplepie/test/first_item_content/SPtests/atom/0.3/content.php new file mode 100644 index 000000000..7c7efb32d --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/atom/0.3/content.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Content_Test_Atom_03_Content extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#"> + <entry> + <content>Item Description</content> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_content/SPtests/atom/0.3/dc/1.0/description.php b/simplepie/test/first_item_content/SPtests/atom/0.3/dc/1.0/description.php new file mode 100644 index 000000000..d964440c2 --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/atom/0.3/dc/1.0/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Content_Test_Atom_03_DC_10_Description extends SimplePie_First_Item_Content_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:description>Item Description</dc:description> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_content/SPtests/atom/0.3/dc/1.1/description.php b/simplepie/test/first_item_content/SPtests/atom/0.3/dc/1.1/description.php new file mode 100644 index 000000000..79a91f4d8 --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/atom/0.3/dc/1.1/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Content_Test_Atom_03_DC_11_Description extends SimplePie_First_Item_Content_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:description>Item Description</dc:description> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_content/SPtests/atom/0.3/summary.php b/simplepie/test/first_item_content/SPtests/atom/0.3/summary.php new file mode 100644 index 000000000..420f00702 --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/atom/0.3/summary.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Content_Test_Atom_03_Summary extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#"> + <entry> + <summary>Item Description</summary> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_content/SPtests/atom/1.0/content.php b/simplepie/test/first_item_content/SPtests/atom/1.0/content.php new file mode 100644 index 000000000..a35d9bac8 --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/atom/1.0/content.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Content_Test_Atom_10_Content extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <entry> + <content>Item Description</content> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_content/SPtests/atom/1.0/dc/1.0/description.php b/simplepie/test/first_item_content/SPtests/atom/1.0/dc/1.0/description.php new file mode 100644 index 000000000..37ec188f2 --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/atom/1.0/dc/1.0/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Content_Test_Atom_10_DC_10_Description extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <entry> + <dc:description>Item Description</dc:description> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_content/SPtests/atom/1.0/dc/1.1/description.php b/simplepie/test/first_item_content/SPtests/atom/1.0/dc/1.1/description.php new file mode 100644 index 000000000..dca7893cf --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/atom/1.0/dc/1.1/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Content_Test_Atom_10_DC_11_Description extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <entry> + <dc:description>Item Description</dc:description> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_content/SPtests/atom/1.0/summary.php b/simplepie/test/first_item_content/SPtests/atom/1.0/summary.php new file mode 100644 index 000000000..42028baac --- /dev/null +++ b/simplepie/test/first_item_content/SPtests/atom/1.0/summary.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Content_Test_Atom_10_Summary extends SimplePie_First_Item_Content_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <entry> + <summary>Item Description</summary> + </entry> +</feed>'; + } + + function expected() + { + $this->expected = 'Item Description'; + } +} + +?>
\ No newline at end of file |