diff options
Diffstat (limited to 'simplepie/test/first_item_id/SPtests/rss')
25 files changed, 0 insertions, 563 deletions
diff --git a/simplepie/test/first_item_id/SPtests/rss/0.90/atom/0.3/id.php b/simplepie/test/first_item_id/SPtests/rss/0.90/atom/0.3/id.php deleted file mode 100644 index fd7065463..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.90/atom/0.3/id.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_090_Atom_03_ID extends SimplePie_First_Item_ID_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#"> - <item> - <a:id>http://example.com/</a:id> - </item> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.90/atom/1.0/id.php b/simplepie/test/first_item_id/SPtests/rss/0.90/atom/1.0/id.php deleted file mode 100644 index d78046f25..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.90/atom/1.0/id.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_090_Atom_10_ID extends SimplePie_First_Item_ID_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"> - <item> - <a:id>http://example.com/</a:id> - </item> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.90/dc/1.0/identifier.php b/simplepie/test/first_item_id/SPtests/rss/0.90/dc/1.0/identifier.php deleted file mode 100644 index 7e873436b..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.90/dc/1.0/identifier.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_090_DC_10_Identifier extends SimplePie_First_Item_ID_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/"> - <item> - <dc:identifier>http://example.com/</dc:identifier> - </item> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.90/dc/1.1/identifier.php b/simplepie/test/first_item_id/SPtests/rss/0.90/dc/1.1/identifier.php deleted file mode 100644 index 6a6b7a399..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.90/dc/1.1/identifier.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_090_DC_11_Identifier extends SimplePie_First_Item_ID_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/"> - <item> - <dc:identifier>http://example.com/</dc:identifier> - </item> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/0.3/id.php b/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/0.3/id.php deleted file mode 100644 index 0d2396fce..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/0.3/id.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_091_Netscape_Atom_03_ID extends SimplePie_First_Item_ID_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> - <item> - <a:id>http://example.com/</a:id> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/1.0/id.php b/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/1.0/id.php deleted file mode 100644 index 982f0712d..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/1.0/id.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_091_Netscape_Atom_10_ID extends SimplePie_First_Item_ID_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> - <item> - <a:id>http://example.com/</a:id> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.0/identifier.php b/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.0/identifier.php deleted file mode 100644 index 693b10ec7..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.0/identifier.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_091_Netscape_DC_10_Identifier extends SimplePie_First_Item_ID_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> - <item> - <dc:identifier>http://example.com/</dc:identifier> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.1/identifier.php b/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.1/identifier.php deleted file mode 100644 index 0e1683b2c..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.1/identifier.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_091_Netscape_DC_11_Identifier extends SimplePie_First_Item_ID_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> - <item> - <dc:identifier>http://example.com/</dc:identifier> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.91-userland/atom/0.3/id.php b/simplepie/test/first_item_id/SPtests/rss/0.91-userland/atom/0.3/id.php deleted file mode 100644 index 0ef6eabcb..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.91-userland/atom/0.3/id.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_091_Userland_Atom_03_ID extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#"> - <channel> - <item> - <a:id>http://example.com/</a:id> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.91-userland/atom/1.0/id.php b/simplepie/test/first_item_id/SPtests/rss/0.91-userland/atom/1.0/id.php deleted file mode 100644 index 36a4a00f5..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.91-userland/atom/1.0/id.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_091_Userland_Atom_10_ID extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom"> - <channel> - <item> - <a:id>http://example.com/</a:id> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.91-userland/dc/1.0/identifier.php b/simplepie/test/first_item_id/SPtests/rss/0.91-userland/dc/1.0/identifier.php deleted file mode 100644 index f5b6b114f..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.91-userland/dc/1.0/identifier.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_091_Userland_DC_10_Identifier extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.0/"> - <channel> - <item> - <dc:identifier>http://example.com/</dc:identifier> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.91-userland/dc/1.1/identifier.php b/simplepie/test/first_item_id/SPtests/rss/0.91-userland/dc/1.1/identifier.php deleted file mode 100644 index c9668f27d..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.91-userland/dc/1.1/identifier.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_091_Userland_DC_11_Identifier extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <channel> - <item> - <dc:identifier>http://example.com/</dc:identifier> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.92/atom/0.3/id.php b/simplepie/test/first_item_id/SPtests/rss/0.92/atom/0.3/id.php deleted file mode 100644 index b8fefd284..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.92/atom/0.3/id.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_092_Atom_03_ID extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#"> - <channel> - <item> - <a:id>http://example.com/</a:id> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.92/atom/1.0/id.php b/simplepie/test/first_item_id/SPtests/rss/0.92/atom/1.0/id.php deleted file mode 100644 index 2dd2ee2b1..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.92/atom/1.0/id.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_092_Atom_10_ID extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom"> - <channel> - <item> - <a:id>http://example.com/</a:id> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.0/identifier.php b/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.0/identifier.php deleted file mode 100644 index 3d60d9a98..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.0/identifier.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_092_DC_10_Identifier extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.0/"> - <channel> - <item> - <dc:identifier>http://example.com/</dc:identifier> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.1/identifier.php b/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.1/identifier.php deleted file mode 100644 index fb6989a47..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.1/identifier.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_092_DC_11_Identifier extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="0.92" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <channel> - <item> - <dc:identifier>http://example.com/</dc:identifier> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/1.0/atom/0.3/id.php b/simplepie/test/first_item_id/SPtests/rss/1.0/atom/0.3/id.php deleted file mode 100644 index 095302d0f..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/1.0/atom/0.3/id.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_10_Atom_03_ID extends SimplePie_First_Item_ID_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#"> - <item> - <a:id>http://example.com/</a:id> - </item> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/1.0/atom/1.0/id.php b/simplepie/test/first_item_id/SPtests/rss/1.0/atom/1.0/id.php deleted file mode 100644 index 65fb43c45..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/1.0/atom/1.0/id.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_10_Atom_10_ID extends SimplePie_First_Item_ID_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"> - <item> - <a:id>http://example.com/</a:id> - </item> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.0/identifier.php b/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.0/identifier.php deleted file mode 100644 index e9194ca29..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.0/identifier.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_10_DC_10_Identifier extends SimplePie_First_Item_ID_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/"> - <item> - <dc:identifier>http://example.com/</dc:identifier> - </item> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php b/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php deleted file mode 100644 index be2907fcb..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_10_DC_11_Identifier extends SimplePie_First_Item_ID_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/"> - <item> - <dc:identifier>http://example.com/</dc:identifier> - </item> -</rdf:RDF>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/2.0/atom/0.3/id.php b/simplepie/test/first_item_id/SPtests/rss/2.0/atom/0.3/id.php deleted file mode 100644 index 5c090f750..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/2.0/atom/0.3/id.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_20_Atom_03_ID extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#"> - <channel> - <item> - <a:id>http://example.com/</a:id> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/2.0/atom/1.0/id.php b/simplepie/test/first_item_id/SPtests/rss/2.0/atom/1.0/id.php deleted file mode 100644 index fb4cd5471..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/2.0/atom/1.0/id.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_20_Atom_10_ID extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom"> - <channel> - <item> - <a:id>http://example.com/</a:id> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/2.0/dc/1.0/identifier.php b/simplepie/test/first_item_id/SPtests/rss/2.0/dc/1.0/identifier.php deleted file mode 100644 index dc9e67269..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/2.0/dc/1.0/identifier.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_20_DC_10_Identifier extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.0/"> - <channel> - <item> - <dc:identifier>http://example.com/</dc:identifier> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/2.0/dc/1.1/identifier.php b/simplepie/test/first_item_id/SPtests/rss/2.0/dc/1.1/identifier.php deleted file mode 100644 index 3acc1bda7..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/2.0/dc/1.1/identifier.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_20_DC_11_Identifier extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <channel> - <item> - <dc:identifier>http://example.com/</dc:identifier> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/rss/2.0/guid.php b/simplepie/test/first_item_id/SPtests/rss/2.0/guid.php deleted file mode 100644 index 9af6e3a76..000000000 --- a/simplepie/test/first_item_id/SPtests/rss/2.0/guid.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class SimplePie_First_Item_ID_Test_RSS_20_GUID extends SimplePie_First_Item_ID_Test -{ - function data() - { - $this->data = -'<rss version="2.0"> - <channel> - <item> - <guid>http://example.com/</guid> - </item> - </channel> -</rss>'; - } - - function expected() - { - $this->expected = 'http://example.com/'; - } -} - -?>
\ No newline at end of file |