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/feed_description | |
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/feed_description')
36 files changed, 749 insertions, 0 deletions
diff --git a/simplepie/test/feed_description/SPtests/atom/0.3/dc/1.0/description.php b/simplepie/test/feed_description/SPtests/atom/0.3/dc/1.0/description.php new file mode 100644 index 000000000..c6fc4cd31 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/atom/0.3/dc/1.0/description.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Description_Test_Atom_03_DC_10_Description extends SimplePie_Feed_Description_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:description>Feed Description</dc:description> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/atom/0.3/dc/1.1/description.php b/simplepie/test/feed_description/SPtests/atom/0.3/dc/1.1/description.php new file mode 100644 index 000000000..3b466a4ff --- /dev/null +++ b/simplepie/test/feed_description/SPtests/atom/0.3/dc/1.1/description.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Description_Test_Atom_03_DC_11_Description extends SimplePie_Feed_Description_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:description>Feed Description</dc:description> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/atom/0.3/tagline.php b/simplepie/test/feed_description/SPtests/atom/0.3/tagline.php new file mode 100644 index 000000000..41ddd356b --- /dev/null +++ b/simplepie/test/feed_description/SPtests/atom/0.3/tagline.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Description_Test_Atom_03_Tagline extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<feed version="0.3" xmlns="http://purl.org/atom/ns#"> + <tagline>Feed Description</tagline> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/atom/1.0/dc/1.0/description.php b/simplepie/test/feed_description/SPtests/atom/1.0/dc/1.0/description.php new file mode 100644 index 000000000..ebd9f0e42 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/atom/1.0/dc/1.0/description.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Description_Test_Atom_10_DC_10_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <dc:description>Feed Description</dc:description> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/atom/1.0/dc/1.1/description.php b/simplepie/test/feed_description/SPtests/atom/1.0/dc/1.1/description.php new file mode 100644 index 000000000..31e4d277b --- /dev/null +++ b/simplepie/test/feed_description/SPtests/atom/1.0/dc/1.1/description.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Description_Test_Atom_10_DC_11_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <dc:description>Feed Description</dc:description> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/atom/1.0/subtitle.php b/simplepie/test/feed_description/SPtests/atom/1.0/subtitle.php new file mode 100644 index 000000000..da830bf80 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/atom/1.0/subtitle.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Description_Test_Atom_10_Subtitle extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <subtitle>Feed Description</subtitle> +</feed>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.90/atom/0.3/tagline.php b/simplepie/test/feed_description/SPtests/rss/0.90/atom/0.3/tagline.php new file mode 100644 index 000000000..e6cb8aba3 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.90/atom/0.3/tagline.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_090_Atom_03_Tagline extends SimplePie_Feed_Description_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://purl.org/atom/ns#"> + <channel> + <a:tagline>Feed Description</a:tagline> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.90/atom/1.0/subtitle.php b/simplepie/test/feed_description/SPtests/rss/0.90/atom/1.0/subtitle.php new file mode 100644 index 000000000..3824094e5 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.90/atom/1.0/subtitle.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_090_Atom_10_Subtitle extends SimplePie_Feed_Description_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:subtitle>Feed Description</a:subtitle> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.90/dc/1.0/description.php b/simplepie/test/feed_description/SPtests/rss/0.90/dc/1.0/description.php new file mode 100644 index 000000000..12170525c --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.90/dc/1.0/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_090_DC_10_Description extends SimplePie_Feed_Description_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:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <dc:description>Feed Description</dc:description> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.90/dc/1.1/description.php b/simplepie/test/feed_description/SPtests/rss/0.90/dc/1.1/description.php new file mode 100644 index 000000000..3db65728c --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.90/dc/1.1/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_090_DC_11_Description extends SimplePie_Feed_Description_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:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <dc:description>Feed Description</dc:description> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.90/description.php b/simplepie/test/feed_description/SPtests/rss/0.90/description.php new file mode 100644 index 000000000..52d7cf0c3 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.90/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_090_Description extends SimplePie_Feed_Description_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/"> + <channel> + <description>Feed Description</description> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.91-netscape/atom/0.3/tagline.php b/simplepie/test/feed_description/SPtests/rss/0.91-netscape/atom/0.3/tagline.php new file mode 100644 index 000000000..d8eedbc3d --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.91-netscape/atom/0.3/tagline.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_091_Netscape_Atom_03_Tagline extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <a:tagline>Feed Description</a:tagline> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.91-netscape/atom/1.0/subtitle.php b/simplepie/test/feed_description/SPtests/rss/0.91-netscape/atom/1.0/subtitle.php new file mode 100644 index 000000000..9339d490e --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.91-netscape/atom/1.0/subtitle.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_091_Netscape_Atom_10_Subtitle extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:subtitle>Feed Description</a:subtitle> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.91-netscape/dc/1.0/description.php b/simplepie/test/feed_description/SPtests/rss/0.91-netscape/dc/1.0/description.php new file mode 100644 index 000000000..ba0cca251 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.91-netscape/dc/1.0/description.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_091_Netscape_DC_10_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <dc:description>Feed Description</dc:description> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.91-netscape/dc/1.1/description.php b/simplepie/test/feed_description/SPtests/rss/0.91-netscape/dc/1.1/description.php new file mode 100644 index 000000000..10592c12f --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.91-netscape/dc/1.1/description.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_091_Netscape_DC_11_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <dc:description>Feed Description</dc:description> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.91-netscape/description.php b/simplepie/test/feed_description/SPtests/rss/0.91-netscape/description.php new file mode 100644 index 000000000..291854d27 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.91-netscape/description.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_091_Netscape_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91"> + <channel> + <description>Feed Description</description> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.91-userland/atom/0.3/tagline.php b/simplepie/test/feed_description/SPtests/rss/0.91-userland/atom/0.3/tagline.php new file mode 100644 index 000000000..2a44a8eb3 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.91-userland/atom/0.3/tagline.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_091_Userland_Atom_03_Tagline extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <a:tagline>Feed Description</a:tagline> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.91-userland/atom/1.0/subtitle.php b/simplepie/test/feed_description/SPtests/rss/0.91-userland/atom/1.0/subtitle.php new file mode 100644 index 000000000..dab053e14 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.91-userland/atom/1.0/subtitle.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_091_Userland_Atom_10_Subtitle extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:subtitle>Feed Description</a:subtitle> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.91-userland/dc/1.0/description.php b/simplepie/test/feed_description/SPtests/rss/0.91-userland/dc/1.0/description.php new file mode 100644 index 000000000..652b7a642 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.91-userland/dc/1.0/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_091_Userland_DC_10_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <dc:description>Feed Description</dc:description> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.91-userland/dc/1.1/description.php b/simplepie/test/feed_description/SPtests/rss/0.91-userland/dc/1.1/description.php new file mode 100644 index 000000000..653a6cfe4 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.91-userland/dc/1.1/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_091_Userland_DC_11_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <dc:description>Feed Description</dc:description> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.91-userland/description.php b/simplepie/test/feed_description/SPtests/rss/0.91-userland/description.php new file mode 100644 index 000000000..afc408b57 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.91-userland/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_091_Userland_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="0.91"> + <channel> + <description>Feed Description</description> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.92/atom/0.3/tagline.php b/simplepie/test/feed_description/SPtests/rss/0.92/atom/0.3/tagline.php new file mode 100644 index 000000000..6573f30da --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.92/atom/0.3/tagline.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_092_Atom_03_Tagline extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <a:tagline>Feed Description</a:tagline> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.92/atom/1.0/subtitle.php b/simplepie/test/feed_description/SPtests/rss/0.92/atom/1.0/subtitle.php new file mode 100644 index 000000000..168185e2e --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.92/atom/1.0/subtitle.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_092_Atom_10_Subtitle extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:subtitle>Feed Description</a:subtitle> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.92/dc/1.0/description.php b/simplepie/test/feed_description/SPtests/rss/0.92/dc/1.0/description.php new file mode 100644 index 000000000..690a52c54 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.92/dc/1.0/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_092_DC_10_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <dc:description>Feed Description</dc:description> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.92/dc/1.1/description.php b/simplepie/test/feed_description/SPtests/rss/0.92/dc/1.1/description.php new file mode 100644 index 000000000..27e3e6bc3 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.92/dc/1.1/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_092_DC_11_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <dc:description>Feed Description</dc:description> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/0.92/description.php b/simplepie/test/feed_description/SPtests/rss/0.92/description.php new file mode 100644 index 000000000..ac17b67ce --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/0.92/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_092_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="0.92"> + <channel> + <description>Feed Description</description> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/1.0/atom/0.3/tagline.php b/simplepie/test/feed_description/SPtests/rss/1.0/atom/0.3/tagline.php new file mode 100644 index 000000000..4a86e3bae --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/1.0/atom/0.3/tagline.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_10_Atom_03_Tagline extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <a:tagline>Feed Description</a:tagline> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/1.0/atom/1.0/subtitle.php b/simplepie/test/feed_description/SPtests/rss/1.0/atom/1.0/subtitle.php new file mode 100644 index 000000000..c193059de --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/1.0/atom/1.0/subtitle.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_10_Atom_10_Subtitle extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:subtitle>Feed Description</a:subtitle> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/1.0/dc/1.0/description.php b/simplepie/test/feed_description/SPtests/rss/1.0/dc/1.0/description.php new file mode 100644 index 000000000..79135f67a --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/1.0/dc/1.0/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_10_DC_10_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <dc:description>Feed Description</dc:description> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/1.0/dc/1.1/description.php b/simplepie/test/feed_description/SPtests/rss/1.0/dc/1.1/description.php new file mode 100644 index 000000000..dd4e64dd7 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/1.0/dc/1.1/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_10_DC_11_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <dc:description>Feed Description</dc:description> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/1.0/description.php b/simplepie/test/feed_description/SPtests/rss/1.0/description.php new file mode 100644 index 000000000..82a2479a3 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/1.0/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_10_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/"> + <channel> + <description>Feed Description</description> + </channel> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/2.0/atom/0.3/tagline.php b/simplepie/test/feed_description/SPtests/rss/2.0/atom/0.3/tagline.php new file mode 100644 index 000000000..7e13698d5 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/2.0/atom/0.3/tagline.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_20_Atom_03_Tagline extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <a:tagline>Feed Description</a:tagline> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/2.0/atom/1.0/subtitle.php b/simplepie/test/feed_description/SPtests/rss/2.0/atom/1.0/subtitle.php new file mode 100644 index 000000000..91807079b --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/2.0/atom/1.0/subtitle.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_20_Atom_10_Subtitle extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:subtitle>Feed Description</a:subtitle> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/2.0/dc/1.0/description.php b/simplepie/test/feed_description/SPtests/rss/2.0/dc/1.0/description.php new file mode 100644 index 000000000..4b094096e --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/2.0/dc/1.0/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_20_DC_10_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <channel> + <dc:description>Feed Description</dc:description> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/2.0/dc/1.1/description.php b/simplepie/test/feed_description/SPtests/rss/2.0/dc/1.1/description.php new file mode 100644 index 000000000..00088e8e2 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/2.0/dc/1.1/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_20_DC_11_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <dc:description>Feed Description</dc:description> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_description/SPtests/rss/2.0/description.php b/simplepie/test/feed_description/SPtests/rss/2.0/description.php new file mode 100644 index 000000000..1364082f8 --- /dev/null +++ b/simplepie/test/feed_description/SPtests/rss/2.0/description.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Description_Test_RSS_20_Description extends SimplePie_Feed_Description_Test +{ + function data() + { + $this->data = +'<rss version="2.0"> + <channel> + <description>Feed Description</description> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'Feed Description'; + } +} + +?>
\ No newline at end of file |