diff options
Diffstat (limited to 'simplepie/test/feed_image_width')
24 files changed, 0 insertions, 520 deletions
diff --git a/simplepie/test/feed_image_width/SPtests/atom/1.0/icon-default.php b/simplepie/test/feed_image_width/SPtests/atom/1.0/icon-default.php deleted file mode 100644 index e409a08f3..000000000 --- a/simplepie/test/feed_image_width/SPtests/atom/1.0/icon-default.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_Atom_10_Icon_Default extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<feed xmlns="http://www.w3.org/2005/Atom"> - <icon>http://example.com/</icon> -</feed>'; - } - - function expected() - { - $this->expected = NULL; - } -} - -?> diff --git a/simplepie/test/feed_image_width/SPtests/atom/1.0/logo-default.php b/simplepie/test/feed_image_width/SPtests/atom/1.0/logo-default.php deleted file mode 100644 index 36a63866f..000000000 --- a/simplepie/test/feed_image_width/SPtests/atom/1.0/logo-default.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_Atom_10_Logo_Default extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<feed xmlns="http://www.w3.org/2005/Atom"> - <logo>http://example.com/</logo> -</feed>'; - } - - function expected() - { - $this->expected = NULL; - } -} - -?> diff --git a/simplepie/test/feed_image_width/SPtests/rss/0.90/atom/1.0/icon-default.php b/simplepie/test/feed_image_width/SPtests/rss/0.90/atom/1.0/icon-default.php deleted file mode 100644 index efa0f5ae1..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.90/atom/1.0/icon-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_090_Atom_10_Icon extends SimplePie_Feed_Image_Width_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:icon>http://example.com/</a:icon> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = NULL; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/0.90/atom/1.0/logo-default.php b/simplepie/test/feed_image_width/SPtests/rss/0.90/atom/1.0/logo-default.php deleted file mode 100644 index c9e93afcb..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.90/atom/1.0/logo-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_090_Atom_10_Logo extends SimplePie_Feed_Image_Width_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:logo>http://example.com/</a:logo> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = NULL; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/0.90/url-default.php b/simplepie/test/feed_image_width/SPtests/rss/0.90/url-default.php deleted file mode 100644 index 075fa6d6e..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.90/url-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_090 extends SimplePie_Feed_Image_Width_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/"> - <image> - <url>http://example.com/</url> - </image> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = NULL; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/0.91-netscape/atom/1.0/icon-default.php b/simplepie/test/feed_image_width/SPtests/rss/0.91-netscape/atom/1.0/icon-default.php deleted file mode 100644 index e60f59265..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.91-netscape/atom/1.0/icon-default.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_091_Netscape_Atom_10_Icon extends SimplePie_Feed_Image_Width_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: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_width/SPtests/rss/0.91-netscape/atom/1.0/logo-default.php b/simplepie/test/feed_image_width/SPtests/rss/0.91-netscape/atom/1.0/logo-default.php deleted file mode 100644 index 7abbe210e..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.91-netscape/atom/1.0/logo-default.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_091_Netscape_Atom_10_Logo extends SimplePie_Feed_Image_Width_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: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_width/SPtests/rss/0.91-netscape/url-default.php b/simplepie/test/feed_image_width/SPtests/rss/0.91-netscape/url-default.php deleted file mode 100644 index 4849fcdfc..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.91-netscape/url-default.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_091_Netscape extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> -<rss version="0.91"> - <channel> - <image> - <url>http://example.com/</url> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 88.0; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/0.91-netscape/width.php b/simplepie/test/feed_image_width/SPtests/rss/0.91-netscape/width.php deleted file mode 100644 index 608147fda..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.91-netscape/width.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_091_Netscape_Width extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> -<rss version="0.91"> - <channel> - <image> - <width>100</width> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 100.0; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/atom/1.0/icon-default.php b/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/atom/1.0/icon-default.php deleted file mode 100644 index 351b8d831..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/atom/1.0/icon-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_091_Userland_Atom_10_Icon extends SimplePie_Feed_Image_Width_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_width/SPtests/rss/0.91-userland/atom/1.0/logo-default.php b/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/atom/1.0/logo-default.php deleted file mode 100644 index 7b35b750a..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/atom/1.0/logo-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_091_Userland_Atom_10_Logo extends SimplePie_Feed_Image_Width_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_width/SPtests/rss/0.91-userland/url-default.php b/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/url-default.php deleted file mode 100644 index 49010e074..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/url-default.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_091_Userland extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<rss version="0.91"> - <channel> - <image> - <url>http://example.com/</url> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 88.0; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/width.php b/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/width.php deleted file mode 100644 index 84749ffd7..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.91-userland/width.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_091_Userland_Width extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<rss version="0.91"> - <channel> - <image> - <width>100</width> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 100.0; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/0.92/atom/1.0/icon-default.php b/simplepie/test/feed_image_width/SPtests/rss/0.92/atom/1.0/icon-default.php deleted file mode 100644 index ddbbb4e94..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.92/atom/1.0/icon-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_092_Atom_10_Icon extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<rss version="0.92" 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_width/SPtests/rss/0.92/atom/1.0/logo-default.php b/simplepie/test/feed_image_width/SPtests/rss/0.92/atom/1.0/logo-default.php deleted file mode 100644 index b30d364f3..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.92/atom/1.0/logo-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_092_Atom_10_Logo extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<rss version="0.92" 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_width/SPtests/rss/0.92/url-default.php b/simplepie/test/feed_image_width/SPtests/rss/0.92/url-default.php deleted file mode 100644 index c0b17b562..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.92/url-default.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_092 extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<rss version="0.92"> - <channel> - <image> - <url>http://example.com/</url> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 88.0; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/0.92/width.php b/simplepie/test/feed_image_width/SPtests/rss/0.92/width.php deleted file mode 100644 index 6bf6f45d5..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/0.92/width.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_092_Width extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<rss version="0.92"> - <channel> - <image> - <width>100</width> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 100.0; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/1.0/atom/1.0/icon-default.php b/simplepie/test/feed_image_width/SPtests/rss/1.0/atom/1.0/icon-default.php deleted file mode 100644 index 39571a476..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/1.0/atom/1.0/icon-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_10_Atom_10_Icon extends SimplePie_Feed_Image_Width_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:icon>http://example.com/</a:icon> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = NULL; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/1.0/atom/1.0/logo-default.php b/simplepie/test/feed_image_width/SPtests/rss/1.0/atom/1.0/logo-default.php deleted file mode 100644 index cdb34bd22..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/1.0/atom/1.0/logo-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_10_Atom_10_Logo extends SimplePie_Feed_Image_Width_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:logo>http://example.com/</a:logo> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = NULL; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/1.0/url-default.php b/simplepie/test/feed_image_width/SPtests/rss/1.0/url-default.php deleted file mode 100644 index 4ad0bf41e..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/1.0/url-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_10 extends SimplePie_Feed_Image_Width_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/"> - <image> - <url>http://example.com/</url> - </image> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = NULL; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/2.0/atom/1.0/icon-default.php b/simplepie/test/feed_image_width/SPtests/rss/2.0/atom/1.0/icon-default.php deleted file mode 100644 index 152c32418..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/2.0/atom/1.0/icon-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_20_Atom_10_Icon extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<rss version="2.0" 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_width/SPtests/rss/2.0/atom/1.0/logo-default.php b/simplepie/test/feed_image_width/SPtests/rss/2.0/atom/1.0/logo-default.php deleted file mode 100644 index 112985a68..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/2.0/atom/1.0/logo-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_20_Atom_10_Logo extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<rss version="2.0" 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_width/SPtests/rss/2.0/url-default.php b/simplepie/test/feed_image_width/SPtests/rss/2.0/url-default.php deleted file mode 100644 index bc9bf7da9..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/2.0/url-default.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_20 extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<rss version="2.0"> - <channel> - <image> - <url>http://example.com/</url> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 88.0; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_width/SPtests/rss/2.0/width.php b/simplepie/test/feed_image_width/SPtests/rss/2.0/width.php deleted file mode 100644 index 3572f9a8b..000000000 --- a/simplepie/test/feed_image_width/SPtests/rss/2.0/width.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Width_Test_RSS_20_Width extends SimplePie_Feed_Image_Width_Test -{ - function data() - { - $this->data = -'<rss version="2.0"> - <channel> - <image> - <width>100</width> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 100.0; - } -} - -?>
\ No newline at end of file |