From 9f7ae0e95f89b964a098eaacdfd89ff25e05c615 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Mon, 5 Jul 2010 03:34:42 -0700 Subject: Add simplepie --- .../SPtests/atom/0.3/dc/1.0/identifier.php | 21 +++++++++++++++++++ .../SPtests/atom/0.3/dc/1.1/identifier.php | 21 +++++++++++++++++++ .../test/first_item_id/SPtests/atom/0.3/id.php | 21 +++++++++++++++++++ .../SPtests/atom/1.0/dc/1.0/identifier.php | 21 +++++++++++++++++++ .../SPtests/atom/1.0/dc/1.1/identifier.php | 21 +++++++++++++++++++ .../test/first_item_id/SPtests/atom/1.0/id.php | 21 +++++++++++++++++++ .../first_item_id/SPtests/rss/0.90/atom/0.3/id.php | 21 +++++++++++++++++++ .../first_item_id/SPtests/rss/0.90/atom/1.0/id.php | 21 +++++++++++++++++++ .../SPtests/rss/0.90/dc/1.0/identifier.php | 21 +++++++++++++++++++ .../SPtests/rss/0.90/dc/1.1/identifier.php | 21 +++++++++++++++++++ .../SPtests/rss/0.91-netscape/atom/0.3/id.php | 24 ++++++++++++++++++++++ .../SPtests/rss/0.91-netscape/atom/1.0/id.php | 24 ++++++++++++++++++++++ .../rss/0.91-netscape/dc/1.0/identifier.php | 24 ++++++++++++++++++++++ .../rss/0.91-netscape/dc/1.1/identifier.php | 24 ++++++++++++++++++++++ .../SPtests/rss/0.91-userland/atom/0.3/id.php | 23 +++++++++++++++++++++ .../SPtests/rss/0.91-userland/atom/1.0/id.php | 23 +++++++++++++++++++++ .../rss/0.91-userland/dc/1.0/identifier.php | 23 +++++++++++++++++++++ .../rss/0.91-userland/dc/1.1/identifier.php | 23 +++++++++++++++++++++ .../first_item_id/SPtests/rss/0.92/atom/0.3/id.php | 23 +++++++++++++++++++++ .../first_item_id/SPtests/rss/0.92/atom/1.0/id.php | 23 +++++++++++++++++++++ .../SPtests/rss/0.92/dc/1.0/identifier.php | 23 +++++++++++++++++++++ .../SPtests/rss/0.92/dc/1.1/identifier.php | 23 +++++++++++++++++++++ .../first_item_id/SPtests/rss/1.0/atom/0.3/id.php | 21 +++++++++++++++++++ .../first_item_id/SPtests/rss/1.0/atom/1.0/id.php | 21 +++++++++++++++++++ .../SPtests/rss/1.0/dc/1.0/identifier.php | 21 +++++++++++++++++++ .../SPtests/rss/1.0/dc/1.1/identifier.php | 21 +++++++++++++++++++ .../first_item_id/SPtests/rss/2.0/atom/0.3/id.php | 23 +++++++++++++++++++++ .../first_item_id/SPtests/rss/2.0/atom/1.0/id.php | 23 +++++++++++++++++++++ .../SPtests/rss/2.0/dc/1.0/identifier.php | 23 +++++++++++++++++++++ .../SPtests/rss/2.0/dc/1.1/identifier.php | 23 +++++++++++++++++++++ .../test/first_item_id/SPtests/rss/2.0/guid.php | 23 +++++++++++++++++++++ 31 files changed, 689 insertions(+) create mode 100644 simplepie/test/first_item_id/SPtests/atom/0.3/dc/1.0/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/atom/0.3/dc/1.1/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/atom/0.3/id.php create mode 100644 simplepie/test/first_item_id/SPtests/atom/1.0/dc/1.0/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/atom/1.0/dc/1.1/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/atom/1.0/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.90/atom/0.3/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.90/atom/1.0/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.90/dc/1.0/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.90/dc/1.1/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/0.3/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/1.0/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.0/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.1/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.91-userland/atom/0.3/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.91-userland/atom/1.0/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.91-userland/dc/1.0/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.91-userland/dc/1.1/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.92/atom/0.3/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.92/atom/1.0/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.0/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.1/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/1.0/atom/0.3/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/1.0/atom/1.0/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.0/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/2.0/atom/0.3/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/2.0/atom/1.0/id.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/2.0/dc/1.0/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/2.0/dc/1.1/identifier.php create mode 100644 simplepie/test/first_item_id/SPtests/rss/2.0/guid.php (limited to 'simplepie/test/first_item_id/SPtests') diff --git a/simplepie/test/first_item_id/SPtests/atom/0.3/dc/1.0/identifier.php b/simplepie/test/first_item_id/SPtests/atom/0.3/dc/1.0/identifier.php new file mode 100644 index 000000000..44a34d499 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/atom/0.3/dc/1.0/identifier.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/atom/0.3/dc/1.1/identifier.php b/simplepie/test/first_item_id/SPtests/atom/0.3/dc/1.1/identifier.php new file mode 100644 index 000000000..ddb9ca094 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/atom/0.3/dc/1.1/identifier.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/atom/0.3/id.php b/simplepie/test/first_item_id/SPtests/atom/0.3/id.php new file mode 100644 index 000000000..de783213a --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/atom/0.3/id.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/atom/1.0/dc/1.0/identifier.php b/simplepie/test/first_item_id/SPtests/atom/1.0/dc/1.0/identifier.php new file mode 100644 index 000000000..cdba6bf0d --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/atom/1.0/dc/1.0/identifier.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/atom/1.0/dc/1.1/identifier.php b/simplepie/test/first_item_id/SPtests/atom/1.0/dc/1.1/identifier.php new file mode 100644 index 000000000..e1f8d40c7 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/atom/1.0/dc/1.1/identifier.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?> \ No newline at end of file diff --git a/simplepie/test/first_item_id/SPtests/atom/1.0/id.php b/simplepie/test/first_item_id/SPtests/atom/1.0/id.php new file mode 100644 index 000000000..f9bd4e2b9 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/atom/1.0/id.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + 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/0.3/id.php b/simplepie/test/first_item_id/SPtests/rss/0.90/atom/0.3/id.php new file mode 100644 index 000000000..fd7065463 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.90/atom/0.3/id.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + 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 new file mode 100644 index 000000000..d78046f25 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.90/atom/1.0/id.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + 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 new file mode 100644 index 000000000..7e873436b --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.90/dc/1.0/identifier.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + 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 new file mode 100644 index 000000000..6a6b7a399 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.90/dc/1.1/identifier.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + 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 new file mode 100644 index 000000000..0d2396fce --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/0.3/id.php @@ -0,0 +1,24 @@ +data = +' + + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..982f0712d --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/atom/1.0/id.php @@ -0,0 +1,24 @@ +data = +' + + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..693b10ec7 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.0/identifier.php @@ -0,0 +1,24 @@ +data = +' + + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..0e1683b2c --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.91-netscape/dc/1.1/identifier.php @@ -0,0 +1,24 @@ +data = +' + + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..0ef6eabcb --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.91-userland/atom/0.3/id.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..36a4a00f5 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.91-userland/atom/1.0/id.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..f5b6b114f --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.91-userland/dc/1.0/identifier.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..c9668f27d --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.91-userland/dc/1.1/identifier.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..b8fefd284 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.92/atom/0.3/id.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..2dd2ee2b1 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.92/atom/1.0/id.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..3d60d9a98 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.0/identifier.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..fb6989a47 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/0.92/dc/1.1/identifier.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..095302d0f --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/1.0/atom/0.3/id.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + 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 new file mode 100644 index 000000000..65fb43c45 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/1.0/atom/1.0/id.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + 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 new file mode 100644 index 000000000..e9194ca29 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.0/identifier.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + 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 new file mode 100644 index 000000000..be2907fcb --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/1.0/dc/1.1/identifier.php @@ -0,0 +1,21 @@ +data = +' + + http://example.com/ + +'; + } + + 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 new file mode 100644 index 000000000..5c090f750 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/2.0/atom/0.3/id.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..fb4cd5471 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/2.0/atom/1.0/id.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..dc9e67269 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/2.0/dc/1.0/identifier.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..3acc1bda7 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/2.0/dc/1.1/identifier.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + 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 new file mode 100644 index 000000000..9af6e3a76 --- /dev/null +++ b/simplepie/test/first_item_id/SPtests/rss/2.0/guid.php @@ -0,0 +1,23 @@ +data = +' + + + http://example.com/ + + +'; + } + + function expected() + { + $this->expected = 'http://example.com/'; + } +} + +?> \ No newline at end of file -- cgit v1.2.3