diff options
Diffstat (limited to 'simplepie/test/feed_copyright/SPtests/atom')
5 files changed, 95 insertions, 0 deletions
diff --git a/simplepie/test/feed_copyright/SPtests/atom/0.3/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/atom/0.3/dc/1.0/rights.php new file mode 100644 index 000000000..fc3058b0d --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/atom/0.3/dc/1.0/rights.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Copyright_Test_Atom_03_DC_10 extends SimplePie_Feed_Copyright_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:rights>Example Copyright Information</dc:rights> +</feed>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/atom/0.3/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/atom/0.3/dc/1.1/rights.php new file mode 100644 index 000000000..65a26725c --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/atom/0.3/dc/1.1/rights.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Copyright_Test_Atom_03_DC_11 extends SimplePie_Feed_Copyright_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:rights>Example Copyright Information</dc:rights> +</feed>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/atom/1.0/dc/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/atom/1.0/dc/1.0/rights.php new file mode 100644 index 000000000..6b1cd5dd1 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/atom/1.0/dc/1.0/rights.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Copyright_Test_Atom_10_DC_10 extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.0/"> + <dc:rights>Example Copyright Information</dc:rights> +</feed>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/atom/1.0/dc/1.1/rights.php b/simplepie/test/feed_copyright/SPtests/atom/1.0/dc/1.1/rights.php new file mode 100644 index 000000000..98bcde948 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/atom/1.0/dc/1.1/rights.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Copyright_Test_Atom_10_DC_11 extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <dc:rights>Example Copyright Information</dc:rights> +</feed>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/feed_copyright/SPtests/atom/1.0/rights.php b/simplepie/test/feed_copyright/SPtests/atom/1.0/rights.php new file mode 100644 index 000000000..3e0b7f6f0 --- /dev/null +++ b/simplepie/test/feed_copyright/SPtests/atom/1.0/rights.php @@ -0,0 +1,19 @@ +<?php + +class SimplePie_Feed_Copyright_Test_Atom_10_Rights extends SimplePie_Feed_Copyright_Test +{ + function data() + { + $this->data = +'<feed xmlns="http://www.w3.org/2005/Atom"> + <rights>Example Copyright Information</rights> +</feed>'; + } + + function expected() + { + $this->expected = 'Example Copyright Information'; + } +} + +?>
\ No newline at end of file |