diff options
Diffstat (limited to 'simplepie/test/feed_image_height/SPtests/rss/0.91-userland')
4 files changed, 88 insertions, 0 deletions
diff --git a/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/atom/1.0/icon-default.php b/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/atom/1.0/icon-default.php new file mode 100644 index 000000000..7e0222c09 --- /dev/null +++ b/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/atom/1.0/icon-default.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Image_Height_Test_RSS_091_Userland_Atom_10_Icon_Default extends SimplePie_Feed_Image_Height_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:icon>http://example.com/</a:icon> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = NULL; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/atom/1.0/logo-default.php b/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/atom/1.0/logo-default.php new file mode 100644 index 000000000..8e3f16024 --- /dev/null +++ b/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/atom/1.0/logo-default.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_Feed_Image_Height_Test_RSS_091_Userland_Atom_10_Logo_Default extends SimplePie_Feed_Image_Height_Test +{ + function data() + { + $this->data = +'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> + <channel> + <a:logo>http://example.com/</a:logo> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = NULL; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/height.php b/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/height.php new file mode 100644 index 000000000..5b7ba7311 --- /dev/null +++ b/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/height.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_Feed_Image_Height_Test_RSS_091_Userland_Height extends SimplePie_Feed_Image_Height_Test +{ + function data() + { + $this->data = +'<rss version="0.91"> + <channel> + <image> + <height>100</height> + </image> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 100.0; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/url-default.php b/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/url-default.php new file mode 100644 index 000000000..4eafec9d4 --- /dev/null +++ b/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/url-default.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_Feed_Image_Height_Test_RSS_091_Userland_URL_Default extends SimplePie_Feed_Image_Height_Test +{ + function data() + { + $this->data = +'<rss version="0.91"> + <channel> + <image> + <url>http://example.com/</url> + </image> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 31.0; + } +} + +?>
\ No newline at end of file |