diff options
Diffstat (limited to 'simplepie/test/feed_image_url/SPtests/rss')
18 files changed, 0 insertions, 389 deletions
diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.90/atom/1.0/icon.php b/simplepie/test/feed_image_url/SPtests/rss/0.90/atom/1.0/icon.php deleted file mode 100644 index 4dc802b95..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/0.90/atom/1.0/icon.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_090_Atom_10_Icon extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.90/atom/1.0/logo.php b/simplepie/test/feed_image_url/SPtests/rss/0.90/atom/1.0/logo.php deleted file mode 100644 index d3a390c8a..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/0.90/atom/1.0/logo.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_090_Atom_10_Logo extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.90/url.php b/simplepie/test/feed_image_url/SPtests/rss/0.90/url.php deleted file mode 100644 index 16c0615ae..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/0.90/url.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_090_URL extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/icon.php b/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/icon.php deleted file mode 100644 index ded856a72..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/icon.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_091_Netscape_Atom_10_Icon extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/logo.php b/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/logo.php deleted file mode 100644 index 1e4bdabb8..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/atom/1.0/logo.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_091_Netscape_Atom_10_Logo extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/url.php b/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/url.php deleted file mode 100644 index 2db6903e3..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/0.91-netscape/url.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_091_Netscape_URL extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.91-userland/atom/1.0/icon.php b/simplepie/test/feed_image_url/SPtests/rss/0.91-userland/atom/1.0/icon.php deleted file mode 100644 index fc898fefe..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/0.91-userland/atom/1.0/icon.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_091_Userland_Atom_10_Icon extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.91-userland/atom/1.0/logo.php b/simplepie/test/feed_image_url/SPtests/rss/0.91-userland/atom/1.0/logo.php deleted file mode 100644 index c9134c60a..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/0.91-userland/atom/1.0/logo.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_091_Userland_Atom_10_Logo extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.91-userland/url.php b/simplepie/test/feed_image_url/SPtests/rss/0.91-userland/url.php deleted file mode 100644 index e6e19fc5a..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/0.91-userland/url.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_091_Userland_URL extends SimplePie_Feed_Image_URL_Test -{ - function data() - { - $this->data = -'<rss version="0.91"> - <channel> - <image> - <url>http://example.com/</url> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.92/atom/1.0/icon.php b/simplepie/test/feed_image_url/SPtests/rss/0.92/atom/1.0/icon.php deleted file mode 100644 index 61e0a2fd5..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/0.92/atom/1.0/icon.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_092_Atom_10_Icon extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.92/atom/1.0/logo.php b/simplepie/test/feed_image_url/SPtests/rss/0.92/atom/1.0/logo.php deleted file mode 100644 index 82cc9bc7a..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/0.92/atom/1.0/logo.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_092_Atom_10_Logo extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/0.92/url.php b/simplepie/test/feed_image_url/SPtests/rss/0.92/url.php deleted file mode 100644 index a8aa09f79..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/0.92/url.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_092_URL extends SimplePie_Feed_Image_URL_Test -{ - function data() - { - $this->data = -'<rss version="0.92"> - <channel> - <image> - <url>http://example.com/</url> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/1.0/atom/1.0/icon.php b/simplepie/test/feed_image_url/SPtests/rss/1.0/atom/1.0/icon.php deleted file mode 100644 index 18018b094..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/1.0/atom/1.0/icon.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_10_Atom_10_Icon extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/1.0/atom/1.0/logo.php b/simplepie/test/feed_image_url/SPtests/rss/1.0/atom/1.0/logo.php deleted file mode 100644 index a66cbd8eb..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/1.0/atom/1.0/logo.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_10_Atom_10_Logo extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/1.0/url.php b/simplepie/test/feed_image_url/SPtests/rss/1.0/url.php deleted file mode 100644 index 58ce1fdeb..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/1.0/url.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_10_URL extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/2.0/atom/1.0/icon.php b/simplepie/test/feed_image_url/SPtests/rss/2.0/atom/1.0/icon.php deleted file mode 100644 index 7393af860..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/2.0/atom/1.0/icon.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_20_Atom_10_Icon extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/2.0/atom/1.0/logo.php b/simplepie/test/feed_image_url/SPtests/rss/2.0/atom/1.0/logo.php deleted file mode 100644 index 775db3516..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/2.0/atom/1.0/logo.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_20_Atom_10_Logo extends SimplePie_Feed_Image_URL_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 = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_image_url/SPtests/rss/2.0/url.php b/simplepie/test/feed_image_url/SPtests/rss/2.0/url.php deleted file mode 100644 index b8301ef71..000000000 --- a/simplepie/test/feed_image_url/SPtests/rss/2.0/url.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Image_URL_Test_RSS_20_URL extends SimplePie_Feed_Image_URL_Test -{ - function data() - { - $this->data = -'<rss version="2.0"> - <channel> - <image> - <url>http://example.com/</url> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file |