diff options
Diffstat (limited to 'simplepie/test/feed_link/SPtests/rss/0.91-userland')
3 files changed, 63 insertions, 0 deletions
diff --git a/simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/0.3/link.php b/simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/0.3/link.php new file mode 100644 index 000000000..737a1fb38 --- /dev/null +++ b/simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/0.3/link.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Link_Test_RSS_091_Userland_Atom_03_Link extends SimplePie_Feed_Link_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <a:link href="http://example.com/"/> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/1.0/link.php b/simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/1.0/link.php new file mode 100644 index 000000000..b168918b0 --- /dev/null +++ b/simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/1.0/link.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Link_Test_RSS_091_Userland_Atom_10_Link extends SimplePie_Feed_Link_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:link href="http://example.com/"/> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_link/SPtests/rss/0.91-userland/link.php b/simplepie/test/feed_link/SPtests/rss/0.91-userland/link.php new file mode 100644 index 000000000..ce1709cbd --- /dev/null +++ b/simplepie/test/feed_link/SPtests/rss/0.91-userland/link.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Link_Test_RSS_091_Userland_Link extends SimplePie_Feed_Link_Test +{ + function data() + { + $this->data = +'<rss version="0.91"> + <channel> + <link>http://example.com/</link> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?>
\ No newline at end of file |