diff options
author | Dave Beckett <dave@dajobe.org> | 2013-11-24 15:35:49 -0800 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2013-11-24 15:35:49 -0800 |
commit | b9ca82e44e8bfaa16af6fc47e0e4374b242d9048 (patch) | |
tree | be375f01b4cb808ec8e043be42ad195dfb1f7cb9 /tests | |
parent | c7ff64e6e951ef6f06070c699007f5419fd61731 (diff) | |
download | raptor-b9ca82e44e8bfaa16af6fc47e0e4374b242d9048.tar.gz |
Updated expected atom feeds output for serialization attributes newlines
Diffstat (limited to 'tests')
-rw-r--r-- | tests/feeds/test01-result.atom | 6 | ||||
-rw-r--r-- | tests/feeds/test02-result.atom | 12 | ||||
-rw-r--r-- | tests/feeds/test03-result.atom | 15 |
3 files changed, 19 insertions, 14 deletions
diff --git a/tests/feeds/test01-result.atom b/tests/feeds/test01-result.atom index 949d95f4..c2bee238 100644 --- a/tests/feeds/test01-result.atom +++ b/tests/feeds/test01-result.atom @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<atom:entry - xmlns:at="http://purl.org/syndication/atomtriples/1" +<atom:entry xmlns:at="http://purl.org/syndication/atomtriples/1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" @@ -13,7 +12,8 @@ <atom:id>http://example.org/2006/03/28/blog-item</atom:id> <atom:title>atomic blog item title</atom:title> <atom:updated>2006-03-28T20:57:15Z</atom:updated> - <atom:link href="2006/03/28/blog-item" rel="alternate"/> + <atom:link href="2006/03/28/blog-item" + rel="alternate"/> <atom:summary>rss:description here</atom:summary> <at:md> <dc:creator> diff --git a/tests/feeds/test02-result.atom b/tests/feeds/test02-result.atom index b87e370e..82ad7552 100644 --- a/tests/feeds/test02-result.atom +++ b/tests/feeds/test02-result.atom @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<atom:feed - xmlns:at="http://purl.org/syndication/atomtriples/1" +<atom:feed xmlns:at="http://purl.org/syndication/atomtriples/1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" @@ -16,7 +15,8 @@ <atom:author> <atom:name>unknown</atom:name> </atom:author> - <atom:link href="" rel="self"/> + <atom:link href="" + rel="self"/> <at:feedmap> <at:feedmap property="http://purl.org/rss/1.0/link">atom:id</at:feedmap> <at:feedmap property="http://purl.org/dc/elements/1.1/date">atom:updated</at:feedmap> @@ -38,7 +38,8 @@ <atom:id>http://example.org/news/2008-03-30</atom:id> <atom:title>News for 2008-03-30</atom:title> <atom:updated>2008-03-30T06:07:28Z</atom:updated> - <atom:link href="2008-03-30" rel="alternate"/> + <atom:link href="2008-03-30" + rel="alternate"/> <atom:summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"> html description 2 </div></atom:summary> @@ -49,7 +50,8 @@ html description 2 <atom:id>http://example.org/news/2007-10-01</atom:id> <atom:title>News for 2007-10-01</atom:title> <atom:updated>2007-10-01T06:56:58Z</atom:updated> - <atom:link href="2007-10-01" rel="alternate"/> + <atom:link href="2007-10-01" + rel="alternate"/> <atom:summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"> html description 4 </div></atom:summary> diff --git a/tests/feeds/test03-result.atom b/tests/feeds/test03-result.atom index a08bbb9d..87133bae 100644 --- a/tests/feeds/test03-result.atom +++ b/tests/feeds/test03-result.atom @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<atom:feed - xmlns:at="http://purl.org/syndication/atomtriples/1" +<atom:feed xmlns:at="http://purl.org/syndication/atomtriples/1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" @@ -18,7 +17,8 @@ <atom:name>unknown</atom:name> <atom:uri>http://bob.com/</atom:uri> </atom:author> - <atom:link href="/whatsnew" rel="self"/> + <atom:link href="/whatsnew" + rel="self"/> <at:feedmap> <at:feedmap property="http://purl.org/rss/1.0/link">atom:id</at:feedmap> <at:feedmap property="http://purl.org/dc/elements/1.1/date">atom:updated</at:feedmap> @@ -51,7 +51,8 @@ newlines</div></atom:content> <atom:id>http://example.org/2006/02/02/blog-item</atom:id> <atom:title>blog item title 2006-02</atom:title> <atom:updated>2006-02-02T00:00:02Z</atom:updated> - <atom:link href="/2006/02/02/blog-item" rel="alternate"/> + <atom:link href="/2006/02/02/blog-item" + rel="alternate"/> <atom:summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">a content:encoded description with <b xmlns="http://www.w3.org/1999/xhtml">tags</b> and newlines</div></atom:summary> @@ -62,7 +63,8 @@ newlines</div></atom:summary> <atom:id>http://example.org/2006/01/01/blog-item</atom:id> <atom:title>blog item title 2006-01</atom:title> <atom:updated>2006-01-01T00:00:01Z</atom:updated> - <atom:link href="/2006/01/01/blog-item" rel="alternate"/> + <atom:link href="/2006/01/01/blog-item" + rel="alternate"/> <atom:summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">The atom:summary description including <b>tags</b> over several lines.</div></atom:summary> @@ -73,7 +75,8 @@ over several lines.</div></atom:summary> <atom:id>http://example.org/2005/12/12/blog-item</atom:id> <atom:title>blog item title 2005-12</atom:title> <atom:updated>2005-12-12T00:00:00Z</atom:updated> - <atom:content src="http://external.example.org/" type="text/html"/> + <atom:content src="http://external.example.org/" + type="text/html"/> <atom:summary>the rss description</atom:summary> <at:md/> </atom:entry> |