diff options
Diffstat (limited to 'simplepie/test/feed_image_height/SPtests/rss')
22 files changed, 0 insertions, 482 deletions
diff --git a/simplepie/test/feed_image_height/SPtests/rss/0.90/atom/1.0/icon-default.php b/simplepie/test/feed_image_height/SPtests/rss/0.90/atom/1.0/icon-default.php deleted file mode 100644 index c8251bebf..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.90/atom/1.0/icon-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_090_Atom_10_Icon_Default extends SimplePie_Feed_Image_Height_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; - } -} - -?> diff --git a/simplepie/test/feed_image_height/SPtests/rss/0.90/atom/1.0/logo-default.php b/simplepie/test/feed_image_height/SPtests/rss/0.90/atom/1.0/logo-default.php deleted file mode 100644 index 207f9d9f2..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.90/atom/1.0/logo-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_090_Atom_10_Logo_Default extends SimplePie_Feed_Image_Height_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; - } -} - -?> diff --git a/simplepie/test/feed_image_height/SPtests/rss/0.90/url-default.php b/simplepie/test/feed_image_height/SPtests/rss/0.90/url-default.php deleted file mode 100644 index f267b8430..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.90/url-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_090_URL_Default extends SimplePie_Feed_Image_Height_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; - } -} - -?> diff --git a/simplepie/test/feed_image_height/SPtests/rss/0.91-netscape/atom/1.0/icon-default.php b/simplepie/test/feed_image_height/SPtests/rss/0.91-netscape/atom/1.0/icon-default.php deleted file mode 100644 index 842b9fd54..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.91-netscape/atom/1.0/icon-default.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_091_Netscape_Atom_10_Icon_Default extends SimplePie_Feed_Image_Height_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_height/SPtests/rss/0.91-netscape/atom/1.0/logo-default.php b/simplepie/test/feed_image_height/SPtests/rss/0.91-netscape/atom/1.0/logo-default.php deleted file mode 100644 index 73a878c9a..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.91-netscape/atom/1.0/logo-default.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_091_Netscape_Atom_10_Logo_Default extends SimplePie_Feed_Image_Height_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_height/SPtests/rss/0.91-netscape/height.php b/simplepie/test/feed_image_height/SPtests/rss/0.91-netscape/height.php deleted file mode 100644 index 7e3cbe8a1..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.91-netscape/height.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_091_Netscape_Height extends SimplePie_Feed_Image_Height_Test -{ - function data() - { - $this->data = -'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> -<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-netscape/url-default.php b/simplepie/test/feed_image_height/SPtests/rss/0.91-netscape/url-default.php deleted file mode 100644 index 43fea9a40..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.91-netscape/url-default.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_091_Netscape_URL_Default extends SimplePie_Feed_Image_Height_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 = 31.0; - } -} - -?>
\ No newline at end of file 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 deleted file mode 100644 index 7e0222c09..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/atom/1.0/icon-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 8e3f16024..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/atom/1.0/logo-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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 deleted file mode 100644 index 5b7ba7311..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/height.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 deleted file mode 100644 index 4eafec9d4..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.91-userland/url-default.php +++ /dev/null @@ -1,23 +0,0 @@ -<?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 diff --git a/simplepie/test/feed_image_height/SPtests/rss/0.92/atom/1.0/icon-default.php b/simplepie/test/feed_image_height/SPtests/rss/0.92/atom/1.0/icon-default.php deleted file mode 100644 index f1a4d70b4..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.92/atom/1.0/icon-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_092_Atom_10_Icon_Default extends SimplePie_Feed_Image_Height_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_height/SPtests/rss/0.92/atom/1.0/logo-default.php b/simplepie/test/feed_image_height/SPtests/rss/0.92/atom/1.0/logo-default.php deleted file mode 100644 index c4e27f3da..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.92/atom/1.0/logo-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_092_Atom_10_Logo_Default extends SimplePie_Feed_Image_Height_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_height/SPtests/rss/0.92/height.php b/simplepie/test/feed_image_height/SPtests/rss/0.92/height.php deleted file mode 100644 index fc284167c..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.92/height.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_092_Height extends SimplePie_Feed_Image_Height_Test -{ - function data() - { - $this->data = -'<rss version="0.92"> - <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.92/url-default.php b/simplepie/test/feed_image_height/SPtests/rss/0.92/url-default.php deleted file mode 100644 index 97dbd1169..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/0.92/url-default.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_092_URL_Default extends SimplePie_Feed_Image_Height_Test -{ - function data() - { - $this->data = -'<rss version="0.92"> - <channel> - <image> - <url>http://example.com/</url> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 31.0; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_height/SPtests/rss/1.0/atom/1.0/icon-default.php b/simplepie/test/feed_image_height/SPtests/rss/1.0/atom/1.0/icon-default.php deleted file mode 100644 index 0db522702..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/1.0/atom/1.0/icon-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_10_Atom_10_Icon_Default extends SimplePie_Feed_Image_Height_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_height/SPtests/rss/1.0/atom/1.0/logo-default.php b/simplepie/test/feed_image_height/SPtests/rss/1.0/atom/1.0/logo-default.php deleted file mode 100644 index 41f76403c..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/1.0/atom/1.0/logo-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_10_Atom_10_Logo_Default extends SimplePie_Feed_Image_Height_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_height/SPtests/rss/1.0/url-default.php b/simplepie/test/feed_image_height/SPtests/rss/1.0/url-default.php deleted file mode 100644 index f96878c68..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/1.0/url-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_10_URL_Default extends SimplePie_Feed_Image_Height_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_height/SPtests/rss/2.0/atom/1.0/icon-default.php b/simplepie/test/feed_image_height/SPtests/rss/2.0/atom/1.0/icon-default.php deleted file mode 100644 index 71cd42c23..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/2.0/atom/1.0/icon-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_20_Atom_10_Icon_Default extends SimplePie_Feed_Image_Height_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_height/SPtests/rss/2.0/atom/1.0/logo-default.php b/simplepie/test/feed_image_height/SPtests/rss/2.0/atom/1.0/logo-default.php deleted file mode 100644 index 77a9514de..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/2.0/atom/1.0/logo-default.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_20_Atom_10_Logo_Default extends SimplePie_Feed_Image_Height_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_height/SPtests/rss/2.0/height.php b/simplepie/test/feed_image_height/SPtests/rss/2.0/height.php deleted file mode 100644 index 02d80e871..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/2.0/height.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_20_Height extends SimplePie_Feed_Image_Height_Test -{ - function data() - { - $this->data = -'<rss version="2.0"> - <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/2.0/url-default.php b/simplepie/test/feed_image_height/SPtests/rss/2.0/url-default.php deleted file mode 100644 index e603375cc..000000000 --- a/simplepie/test/feed_image_height/SPtests/rss/2.0/url-default.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_Height_Test_RSS_20_URL_Default extends SimplePie_Feed_Image_Height_Test -{ - function data() - { - $this->data = -'<rss version="2.0"> - <channel> - <image> - <url>http://example.com/</url> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 31.0; - } -} - -?>
\ No newline at end of file |