aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/feed_link
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/feed_link')
-rw-r--r--simplepie/test/feed_link/SPtests/atom/0.3/link.php19
-rw-r--r--simplepie/test/feed_link/SPtests/atom/0.3/link_@rel_alternate.php19
-rw-r--r--simplepie/test/feed_link/SPtests/atom/1.0/link.php19
-rw-r--r--simplepie/test/feed_link/SPtests/atom/1.0/link_@rel_absolute_iri.php19
-rw-r--r--simplepie/test/feed_link/SPtests/atom/1.0/link_@rel_alternate.php19
-rw-r--r--simplepie/test/feed_link/SPtests/rss/0.90/atom/0.3/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/0.90/atom/1.0/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/0.90/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/0.91-netscape/atom/0.3/link.php22
-rw-r--r--simplepie/test/feed_link/SPtests/rss/0.91-netscape/atom/1.0/link.php22
-rw-r--r--simplepie/test/feed_link/SPtests/rss/0.91-netscape/link.php22
-rw-r--r--simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/0.3/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/1.0/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/0.91-userland/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/0.92/atom/0.3/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/0.92/atom/1.0/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/0.92/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/1.0/atom/0.3/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/1.0/atom/1.0/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/1.0/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/2.0/atom/0.3/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/2.0/atom/1.0/link.php21
-rw-r--r--simplepie/test/feed_link/SPtests/rss/2.0/link.php21
23 files changed, 0 insertions, 476 deletions
diff --git a/simplepie/test/feed_link/SPtests/atom/0.3/link.php b/simplepie/test/feed_link/SPtests/atom/0.3/link.php
deleted file mode 100644
index 9f69b5a43..000000000
--- a/simplepie/test/feed_link/SPtests/atom/0.3/link.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_Atom_03_Link extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<feed version="0.3" xmlns="http://purl.org/atom/ns#">
- <link href="http://example.com/"/>
-</feed>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/atom/0.3/link_@rel_alternate.php b/simplepie/test/feed_link/SPtests/atom/0.3/link_@rel_alternate.php
deleted file mode 100644
index f4b5736e6..000000000
--- a/simplepie/test/feed_link/SPtests/atom/0.3/link_@rel_alternate.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_Atom_03_Link_Alternate extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<feed version="0.3" xmlns="http://purl.org/atom/ns#">
- <link href="http://example.com/" rel="alternate"/>
-</feed>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/atom/1.0/link.php b/simplepie/test/feed_link/SPtests/atom/1.0/link.php
deleted file mode 100644
index 7c528c9b5..000000000
--- a/simplepie/test/feed_link/SPtests/atom/1.0/link.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_Atom_10_Link extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<feed xmlns="http://www.w3.org/2005/Atom">
- <link href="http://example.com/"/>
-</feed>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/atom/1.0/link_@rel_absolute_iri.php b/simplepie/test/feed_link/SPtests/atom/1.0/link_@rel_absolute_iri.php
deleted file mode 100644
index c91cc0e16..000000000
--- a/simplepie/test/feed_link/SPtests/atom/1.0/link_@rel_absolute_iri.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_Atom_10_Link_Absolute_IRI extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<feed xmlns="http://www.w3.org/2005/Atom">
- <link href="http://example.com/" rel="http://www.iana.org/assignments/relation/alternate"/>
-</feed>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/atom/1.0/link_@rel_alternate.php b/simplepie/test/feed_link/SPtests/atom/1.0/link_@rel_alternate.php
deleted file mode 100644
index 8e1ede100..000000000
--- a/simplepie/test/feed_link/SPtests/atom/1.0/link_@rel_alternate.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_Atom_10_Link_Relative_IRI extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<feed xmlns="http://www.w3.org/2005/Atom">
- <link href="http://example.com/" rel="alternate"/>
-</feed>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/0.90/atom/0.3/link.php b/simplepie/test/feed_link/SPtests/rss/0.90/atom/0.3/link.php
deleted file mode 100644
index 2f048b9f9..000000000
--- a/simplepie/test/feed_link/SPtests/rss/0.90/atom/0.3/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_090_Atom_03_Link extends SimplePie_Feed_Link_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:link href="http://example.com/"/>
- </channel>
-</rdf:RDF>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/0.90/atom/1.0/link.php b/simplepie/test/feed_link/SPtests/rss/0.90/atom/1.0/link.php
deleted file mode 100644
index 47ed9d852..000000000
--- a/simplepie/test/feed_link/SPtests/rss/0.90/atom/1.0/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_090_Atom_10_Link extends SimplePie_Feed_Link_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:link href="http://example.com/"/>
- </channel>
-</rdf:RDF>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/0.90/link.php b/simplepie/test/feed_link/SPtests/rss/0.90/link.php
deleted file mode 100644
index 35088b517..000000000
--- a/simplepie/test/feed_link/SPtests/rss/0.90/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_090_Link extends SimplePie_Feed_Link_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>
- <link>http://example.com/</link>
- </channel>
-</rdf:RDF>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/0.91-netscape/atom/0.3/link.php b/simplepie/test/feed_link/SPtests/rss/0.91-netscape/atom/0.3/link.php
deleted file mode 100644
index c50a8ed79..000000000
--- a/simplepie/test/feed_link/SPtests/rss/0.91-netscape/atom/0.3/link.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_091_Netscape_Atom_03_Link extends SimplePie_Feed_Link_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:link href="http://example.com/"/>
- </channel>
-</rss>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/0.91-netscape/atom/1.0/link.php b/simplepie/test/feed_link/SPtests/rss/0.91-netscape/atom/1.0/link.php
deleted file mode 100644
index 58ac9f486..000000000
--- a/simplepie/test/feed_link/SPtests/rss/0.91-netscape/atom/1.0/link.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_091_Netscape_Atom_10_Link extends SimplePie_Feed_Link_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:link href="http://example.com/"/>
- </channel>
-</rss>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/0.91-netscape/link.php b/simplepie/test/feed_link/SPtests/rss/0.91-netscape/link.php
deleted file mode 100644
index bebc3b2c1..000000000
--- a/simplepie/test/feed_link/SPtests/rss/0.91-netscape/link.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_091_Netscape_Link extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
-<rss version="0.91">
- <channel>
- <link>http://example.com/</link>
- </channel>
-</rss>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/0.3/link.php b/simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/0.3/link.php
deleted file mode 100644
index 737a1fb38..000000000
--- a/simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/0.3/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_091_Userland_Atom_03_Link extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<rss version="0.91" xmlns:a="http://purl.org/atom/ns#">
- <channel>
- <a:link href="http://example.com/"/>
- </channel>
-</rss>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/1.0/link.php b/simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/1.0/link.php
deleted file mode 100644
index b168918b0..000000000
--- a/simplepie/test/feed_link/SPtests/rss/0.91-userland/atom/1.0/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_091_Userland_Atom_10_Link extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom">
- <channel>
- <a:link href="http://example.com/"/>
- </channel>
-</rss>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/0.91-userland/link.php b/simplepie/test/feed_link/SPtests/rss/0.91-userland/link.php
deleted file mode 100644
index ce1709cbd..000000000
--- a/simplepie/test/feed_link/SPtests/rss/0.91-userland/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_091_Userland_Link extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<rss version="0.91">
- <channel>
- <link>http://example.com/</link>
- </channel>
-</rss>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/0.92/atom/0.3/link.php b/simplepie/test/feed_link/SPtests/rss/0.92/atom/0.3/link.php
deleted file mode 100644
index 94bcd514f..000000000
--- a/simplepie/test/feed_link/SPtests/rss/0.92/atom/0.3/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_092_Atom_03_Link extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<rss version="0.92" xmlns:a="http://purl.org/atom/ns#">
- <channel>
- <a:link href="http://example.com/"/>
- </channel>
-</rss>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/0.92/atom/1.0/link.php b/simplepie/test/feed_link/SPtests/rss/0.92/atom/1.0/link.php
deleted file mode 100644
index ecfd94feb..000000000
--- a/simplepie/test/feed_link/SPtests/rss/0.92/atom/1.0/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_092_Atom_10_Link extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<rss version="0.92" xmlns:a="http://www.w3.org/2005/Atom">
- <channel>
- <a:link href="http://example.com/"/>
- </channel>
-</rss>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/0.92/link.php b/simplepie/test/feed_link/SPtests/rss/0.92/link.php
deleted file mode 100644
index 10d3a675a..000000000
--- a/simplepie/test/feed_link/SPtests/rss/0.92/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_092_Link extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<rss version="0.92">
- <channel>
- <link>http://example.com/</link>
- </channel>
-</rss>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/1.0/atom/0.3/link.php b/simplepie/test/feed_link/SPtests/rss/1.0/atom/0.3/link.php
deleted file mode 100644
index f64c9f530..000000000
--- a/simplepie/test/feed_link/SPtests/rss/1.0/atom/0.3/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_10_Atom_03_Link extends SimplePie_Feed_Link_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:link href="http://example.com/"/>
- </channel>
-</rdf:RDF>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/1.0/atom/1.0/link.php b/simplepie/test/feed_link/SPtests/rss/1.0/atom/1.0/link.php
deleted file mode 100644
index 9317d0037..000000000
--- a/simplepie/test/feed_link/SPtests/rss/1.0/atom/1.0/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_10_Atom_10_Link extends SimplePie_Feed_Link_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:link href="http://example.com/"/>
- </channel>
-</rdf:RDF>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/1.0/link.php b/simplepie/test/feed_link/SPtests/rss/1.0/link.php
deleted file mode 100644
index fefa7a947..000000000
--- a/simplepie/test/feed_link/SPtests/rss/1.0/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_10_Link extends SimplePie_Feed_Link_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>
- <link>http://example.com/</link>
- </channel>
-</rdf:RDF>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/2.0/atom/0.3/link.php b/simplepie/test/feed_link/SPtests/rss/2.0/atom/0.3/link.php
deleted file mode 100644
index 5f9e76189..000000000
--- a/simplepie/test/feed_link/SPtests/rss/2.0/atom/0.3/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_20_Atom_03_Link extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#">
- <channel>
- <a:link href="http://example.com/"/>
- </channel>
-</rss>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/2.0/atom/1.0/link.php b/simplepie/test/feed_link/SPtests/rss/2.0/atom/1.0/link.php
deleted file mode 100644
index cb7aeccdd..000000000
--- a/simplepie/test/feed_link/SPtests/rss/2.0/atom/1.0/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_20_Atom_10_Link extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<rss version="2.0" xmlns:a="http://www.w3.org/2005/Atom">
- <channel>
- <a:link href="http://example.com/"/>
- </channel>
-</rss>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file
diff --git a/simplepie/test/feed_link/SPtests/rss/2.0/link.php b/simplepie/test/feed_link/SPtests/rss/2.0/link.php
deleted file mode 100644
index 125c33bfc..000000000
--- a/simplepie/test/feed_link/SPtests/rss/2.0/link.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-class SimplePie_Feed_Link_Test_RSS_20_Link extends SimplePie_Feed_Link_Test
-{
- function data()
- {
- $this->data =
-'<rss version="2.0">
- <channel>
- <link>http://example.com/</link>
- </channel>
-</rss>';
- }
-
- function expected()
- {
- $this->expected = 'http://example.com/';
- }
-}
-
-?> \ No newline at end of file