diff options
Diffstat (limited to 'simplepie/test/feed_title/SPtests')
45 files changed, 0 insertions, 935 deletions
diff --git a/simplepie/test/feed_title/SPtests/atom/0.3/dc/1.0/title.php b/simplepie/test/feed_title/SPtests/atom/0.3/dc/1.0/title.php deleted file mode 100644 index ab0a13978..000000000 --- a/simplepie/test/feed_title/SPtests/atom/0.3/dc/1.0/title.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Atom_03_DC_10_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.0/"> - <dc:title>Feed Title</dc:title> -</feed>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/atom/0.3/dc/1.1/title.php b/simplepie/test/feed_title/SPtests/atom/0.3/dc/1.1/title.php deleted file mode 100644 index 20db9d9a1..000000000 --- a/simplepie/test/feed_title/SPtests/atom/0.3/dc/1.1/title.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Atom_03_DC_11_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <dc:title>Feed Title</dc:title> -</feed>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/atom/0.3/title.php b/simplepie/test/feed_title/SPtests/atom/0.3/title.php deleted file mode 100644 index 236afed1a..000000000 --- a/simplepie/test/feed_title/SPtests/atom/0.3/title.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Atom_03_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<feed version="0.3" xmlns="http://purl.org/atom/ns#"> - <title>Feed Title</title> -</feed>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/atom/1.0/dc/1.0/title.php b/simplepie/test/feed_title/SPtests/atom/1.0/dc/1.0/title.php deleted file mode 100644 index c95b5e70c..000000000 --- a/simplepie/test/feed_title/SPtests/atom/1.0/dc/1.0/title.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Atom_10_DC_10_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.0/"> - <dc:title>Feed Title</dc:title> -</feed>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/atom/1.0/dc/1.1/title.php b/simplepie/test/feed_title/SPtests/atom/1.0/dc/1.1/title.php deleted file mode 100644 index a67f90925..000000000 --- a/simplepie/test/feed_title/SPtests/atom/1.0/dc/1.1/title.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Atom_10_DC_11_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <dc:title>Feed Title</dc:title> -</feed>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/atom/1.0/title.php b/simplepie/test/feed_title/SPtests/atom/1.0/title.php deleted file mode 100644 index bfbf2aeed..000000000 --- a/simplepie/test/feed_title/SPtests/atom/1.0/title.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Atom_10_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<feed xmlns="http://www.w3.org/2005/Atom"> - <title>Feed Title</title> -</feed>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/16.0.php b/simplepie/test/feed_title/SPtests/bugs/16.0.php deleted file mode 100644 index ab92612ae..000000000 --- a/simplepie/test/feed_title/SPtests/bugs/16.0.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Bug_16_Test_0 extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" -"http://my.netscape.com/publish/formats/rss-0.91.dtd"> -<rss version="0.91"> - <channel> - <title>Feed with DOCTYPE</title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed with DOCTYPE'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/174.0.php b/simplepie/test/feed_title/SPtests/bugs/174.0.php deleted file mode 100644 index 9625463b7..000000000 --- a/simplepie/test/feed_title/SPtests/bugs/174.0.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Bug_174_Test_0 extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<?xml version = "1.0" encoding = "UTF-8" ?> -<feed xmlns="http://www.w3.org/2005/Atom"> - <title>Spaces in prolog</title> -</feed>'; - } - - function expected() - { - $this->expected = 'Spaces in prolog'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/18.0.php b/simplepie/test/feed_title/SPtests/bugs/18.0.php deleted file mode 100644 index 5f63db252..000000000 --- a/simplepie/test/feed_title/SPtests/bugs/18.0.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Bug_18_Test_0 extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="2.0"> - <channel> - <title>Channel title</title> - <image> - <title>Image title</title> - </image> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Channel title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/18.1.php b/simplepie/test/feed_title/SPtests/bugs/18.1.php deleted file mode 100644 index d51c3d3df..000000000 --- a/simplepie/test/feed_title/SPtests/bugs/18.1.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Bug_18_Test_1 extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="2.0"> - <channel> - <image> - <title>Image title</title> - </image> - <title>Channel title</title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Channel title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/20.0.php b/simplepie/test/feed_title/SPtests/bugs/20.0.php deleted file mode 100644 index 4d1c394b5..000000000 --- a/simplepie/test/feed_title/SPtests/bugs/20.0.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Bug_20_Test_0 extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<a:feed xmlns:a="http://www.w3.org/2005/Atom" xmlns="http://www.w3.org/1999/xhtml"> - <a:title>Non-default namespace</a:title> -</a:feed>'; - } - - function expected() - { - $this->expected = 'Non-default namespace'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/20.1.php b/simplepie/test/feed_title/SPtests/bugs/20.1.php deleted file mode 100644 index f46fc622b..000000000 --- a/simplepie/test/feed_title/SPtests/bugs/20.1.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Bug_20_Test_1 extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<a:feed xmlns:a="http://www.w3.org/2005/Atom" xmlns="http://www.w3.org/1999/xhtml"> - <a:title type="xhtml"><div>Non-default namespace</div></a:title> -</a:feed>'; - } - - function expected() - { - $this->expected = 'Non-default namespace'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/20.2.php b/simplepie/test/feed_title/SPtests/bugs/20.2.php deleted file mode 100644 index ed7d75e42..000000000 --- a/simplepie/test/feed_title/SPtests/bugs/20.2.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Bug_20_Test_2 extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:h="http://www.w3.org/1999/xhtml"> - <title type="xhtml"><h:div>Non-default namespace</h:div></title> -</feed>'; - } - - function expected() - { - $this->expected = 'Non-default namespace'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/272.0.php b/simplepie/test/feed_title/SPtests/bugs/272.0.php deleted file mode 100644 index 5bd731613..000000000 --- a/simplepie/test/feed_title/SPtests/bugs/272.0.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Bug_272_Test_0 extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<feed xmlns="http://www.w3.org/2005/Atom"> - <title>Ampersand: <![CDATA[&]]></title> -</feed>'; - } - - function expected() - { - $this->expected = 'Ampersand: &'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/bugs/272.1.php b/simplepie/test/feed_title/SPtests/bugs/272.1.php deleted file mode 100644 index 5beda2ded..000000000 --- a/simplepie/test/feed_title/SPtests/bugs/272.1.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_Bug_272_Test_1 extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<feed xmlns="http://www.w3.org/2005/Atom"> - <title><![CDATA[&]]>: Ampersand</title> -</feed>'; - } - - function expected() - { - $this->expected = '&: Ampersand'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.90/atom/0.3/title.php b/simplepie/test/feed_title/SPtests/rss/0.90/atom/0.3/title.php deleted file mode 100644 index 146f566f3..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.90/atom/0.3/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_090_Atom_03_Title extends SimplePie_Feed_Title_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://purl.org/atom/ns#"> - <channel> - <a:title>Feed Title</a:title> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.90/atom/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/0.90/atom/1.0/title.php deleted file mode 100644 index 6e6ce9387..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.90/atom/1.0/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_090_Atom_10_Title extends SimplePie_Feed_Title_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:title>Feed Title</a:title> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.90/dc/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/0.90/dc/1.0/title.php deleted file mode 100644 index e359b34db..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.90/dc/1.0/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_090_DC_10_Title extends SimplePie_Feed_Title_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:dc="http://purl.org/dc/elements/1.0/"> - <channel> - <dc:title>Feed Title</dc:title> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.90/dc/1.1/title.php b/simplepie/test/feed_title/SPtests/rss/0.90/dc/1.1/title.php deleted file mode 100644 index a060e3c6f..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.90/dc/1.1/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_090_DC_11_Title extends SimplePie_Feed_Title_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:dc="http://purl.org/dc/elements/1.1/"> - <channel> - <dc:title>Feed Title</dc:title> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.90/title.php b/simplepie/test/feed_title/SPtests/rss/0.90/title.php deleted file mode 100644 index cfde01d28..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.90/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_090_Title extends SimplePie_Feed_Title_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/"> - <channel> - <title>Feed Title</title> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/0.3/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/0.3/title.php deleted file mode 100644 index 51e0ef749..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/0.3/title.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_091_Netscape_Atom_03_Title extends SimplePie_Feed_Title_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://purl.org/atom/ns#"> - <channel> - <a:title>Feed Title</a:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/1.0/title.php deleted file mode 100644 index 2daf561f6..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/atom/1.0/title.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_091_Netscape_Atom_10_Title extends SimplePie_Feed_Title_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:title>Feed Title</a:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.0/title.php deleted file mode 100644 index c95fcd4d8..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.0/title.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_091_Netscape_DC_10_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> -<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/"> - <channel> - <dc:title>Feed Title</dc:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.1/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.1/title.php deleted file mode 100644 index b5c9c5211..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/dc/1.1/title.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_091_Netscape_DC_11_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> -<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <channel> - <dc:title>Feed Title</dc:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-netscape/title.php deleted file mode 100644 index 928bbbe81..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.91-netscape/title.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_091_Netscape_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> -<rss version="0.91"> - <channel> - <title>Feed Title</title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-userland/atom/0.3/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-userland/atom/0.3/title.php deleted file mode 100644 index b104820c0..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.91-userland/atom/0.3/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_091_Userland_Atom_03_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> - <channel> - <a:title>Feed Title</a:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-userland/atom/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-userland/atom/1.0/title.php deleted file mode 100644 index f109e13de..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.91-userland/atom/1.0/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_091_Userland_Atom_10_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> - <channel> - <a:title>Feed Title</a:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-userland/dc/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-userland/dc/1.0/title.php deleted file mode 100644 index 2d6e60833..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.91-userland/dc/1.0/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_091_Userland_DC_10_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/"> - <channel> - <dc:title>Feed Title</dc:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-userland/dc/1.1/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-userland/dc/1.1/title.php deleted file mode 100644 index 6436bb446..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.91-userland/dc/1.1/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_091_Userland_DC_11_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <channel> - <dc:title>Feed Title</dc:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.91-userland/title.php b/simplepie/test/feed_title/SPtests/rss/0.91-userland/title.php deleted file mode 100644 index 5ce3b1d4e..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.91-userland/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_091_Userland_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="0.91"> - <channel> - <title>Feed Title</title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.92/atom/0.3/title.php b/simplepie/test/feed_title/SPtests/rss/0.92/atom/0.3/title.php deleted file mode 100644 index 48209c77b..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.92/atom/0.3/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_092_Atom_03_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#"> - <channel> - <a:title>Feed Title</a:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.92/atom/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/0.92/atom/1.0/title.php deleted file mode 100644 index 7af135c4d..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.92/atom/1.0/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_092_Atom_10_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom"> - <channel> - <a:title>Feed Title</a:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.92/dc/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/0.92/dc/1.0/title.php deleted file mode 100644 index dac1d51ef..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.92/dc/1.0/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_092_DC_10_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.0/"> - <channel> - <dc:title>Feed Title</dc:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.92/dc/1.1/title.php b/simplepie/test/feed_title/SPtests/rss/0.92/dc/1.1/title.php deleted file mode 100644 index 48ad28654..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.92/dc/1.1/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_092_DC_11_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <channel> - <dc:title>Feed Title</dc:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/0.92/title.php b/simplepie/test/feed_title/SPtests/rss/0.92/title.php deleted file mode 100644 index fe948f0d3..000000000 --- a/simplepie/test/feed_title/SPtests/rss/0.92/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_092_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="0.92"> - <channel> - <title>Feed Title</title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/1.0/atom/0.3/title.php b/simplepie/test/feed_title/SPtests/rss/1.0/atom/0.3/title.php deleted file mode 100644 index 753863a24..000000000 --- a/simplepie/test/feed_title/SPtests/rss/1.0/atom/0.3/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_10_Atom_03_Title extends SimplePie_Feed_Title_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://purl.org/atom/ns#"> - <channel> - <a:title>Feed Title</a:title> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/1.0/atom/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/1.0/atom/1.0/title.php deleted file mode 100644 index 8b8bfe95f..000000000 --- a/simplepie/test/feed_title/SPtests/rss/1.0/atom/1.0/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_10_Atom_10_Title extends SimplePie_Feed_Title_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:title>Feed Title</a:title> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/1.0/dc/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/1.0/dc/1.0/title.php deleted file mode 100644 index 2239c10f6..000000000 --- a/simplepie/test/feed_title/SPtests/rss/1.0/dc/1.0/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_10_DC_10_Title extends SimplePie_Feed_Title_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:dc="http://purl.org/dc/elements/1.0/"> - <channel> - <dc:title>Feed Title</dc:title> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/1.0/dc/1.1/title.php b/simplepie/test/feed_title/SPtests/rss/1.0/dc/1.1/title.php deleted file mode 100644 index d764d2715..000000000 --- a/simplepie/test/feed_title/SPtests/rss/1.0/dc/1.1/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_10_DC_11_Title extends SimplePie_Feed_Title_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:dc="http://purl.org/dc/elements/1.1/"> - <channel> - <dc:title>Feed Title</dc:title> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/1.0/title.php deleted file mode 100644 index bcf55cf8a..000000000 --- a/simplepie/test/feed_title/SPtests/rss/1.0/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_10_Title extends SimplePie_Feed_Title_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/"> - <channel> - <title>Feed Title</title> - </channel> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/2.0/atom/0.3/title.php b/simplepie/test/feed_title/SPtests/rss/2.0/atom/0.3/title.php deleted file mode 100644 index deda0f1e7..000000000 --- a/simplepie/test/feed_title/SPtests/rss/2.0/atom/0.3/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_20_Atom_03_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#"> - <channel> - <a:title>Feed Title</a:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/2.0/atom/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/2.0/atom/1.0/title.php deleted file mode 100644 index b71cfa2b9..000000000 --- a/simplepie/test/feed_title/SPtests/rss/2.0/atom/1.0/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_20_Atom_10_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom"> - <channel> - <a:title>Feed Title</a:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/2.0/dc/1.0/title.php b/simplepie/test/feed_title/SPtests/rss/2.0/dc/1.0/title.php deleted file mode 100644 index e84fb0c8f..000000000 --- a/simplepie/test/feed_title/SPtests/rss/2.0/dc/1.0/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_20_DC_10_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.0/"> - <channel> - <dc:title>Feed Title</dc:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/2.0/dc/1.1/title.php b/simplepie/test/feed_title/SPtests/rss/2.0/dc/1.1/title.php deleted file mode 100644 index 2a7dd59d8..000000000 --- a/simplepie/test/feed_title/SPtests/rss/2.0/dc/1.1/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_20_DC_11_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <channel> - <dc:title>Feed Title</dc:title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/feed_title/SPtests/rss/2.0/title.php b/simplepie/test/feed_title/SPtests/rss/2.0/title.php deleted file mode 100644 index a2659932c..000000000 --- a/simplepie/test/feed_title/SPtests/rss/2.0/title.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_Feed_Title_Test_RSS_20_Title extends SimplePie_Feed_Title_Test -{ - function data() - { - $this->data = -'<rss version="2.0"> - <channel> - <title>Feed Title</title> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'Feed Title'; - } -} - -?>
\ No newline at end of file |