Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew McDole committed Dec 18, 2016
1 parent a99c694 commit dcf1fa2
Show file tree
Hide file tree
Showing 25 changed files with 40 additions and 91 deletions.

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions testdata/parser/atom/atom10_feed_authors_email.xml

This file was deleted.

11 changes: 0 additions & 11 deletions testdata/parser/atom/atom10_feed_authors_name.xml

This file was deleted.

12 changes: 0 additions & 12 deletions testdata/parser/atom/atom10_feed_authors_uri.json

This file was deleted.

11 changes: 0 additions & 11 deletions testdata/parser/atom/atom10_feed_authors_uri.xml

This file was deleted.

11 changes: 0 additions & 11 deletions testdata/parser/atom/atom10_feed_authors_url.xml

This file was deleted.

Expand Up @@ -3,7 +3,7 @@
{
"content": {
"type": "xhtml",
"value": "<p>Entry Content</p>g"
"value": "<p>Entry Content</p>"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom10_feed_entry_link_href.json
Expand Up @@ -4,7 +4,7 @@
"links": [
{
"rel": "alternate",
"href": "http://www.example.org"
"href": "http://example.org"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions testdata/parser/atom/atom10_feed_entry_link_multiple.json
Expand Up @@ -3,12 +3,12 @@
{
"links": [
{
"href": "http://www.example.org/1",
"href": "http://example.org/1",
"rel": "alternate",
"type": "application/xhtml+xml"
},
{
"href": "http://www.example.org/2",
"href": "http://example.org/2",
"rel": "service.post",
"type": "application/atom+xml"
}
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom10_feed_entry_link_no_rel.json
Expand Up @@ -3,7 +3,7 @@
{
"links": [
{
"href": "http://www.example.org",
"href": "http://example.org",
"rel": "alternate",
"type": "text/html"
}
Expand Down
Expand Up @@ -5,8 +5,8 @@ Description: entry source contributor - uri
<entry>
<source>
<contributor>
<uri>https://example.org</uri>
<uri>http://example.org</uri>
</contributor>
</source>
</entry>
</feed>
</feed>
Expand Up @@ -4,7 +4,7 @@
"source": {
"links": [
{
"href": "http://www.example.org",
"href": "http://example.org",
"rel": "alternate"
}
]
Expand Down
Expand Up @@ -4,12 +4,12 @@
"source": {
"links": [
{
"href": "http://www.example.org/1",
"href": "http://example.org/1",
"rel": "alternate",
"type": "application/xhtml+xml"
},
{
"href": "http://www.example.org/2",
"href": "http://example.org/2",
"rel": "service.post",
"type": "application/atom+xml"
}
Expand Down
Expand Up @@ -4,7 +4,7 @@ Description: entry source rights - html w/ escaped markup
<feed xmlns="http://www.w3.org/2005/Atom">
<entry>
<source>
<rights type="html">&lt;p&gt;Entry Rights&lt;/p&gt;</rights>
<rights type="html">&lt;p&gt;Source Rights&lt;/p&gt;</rights>
</source>
</entry>
</feed>
Expand Up @@ -4,7 +4,7 @@ Description: entry source subtitle - base64 w/ escaped markup
<feed xmlns="http://www.w3.org/2005/Atom">
<entry>
<source>
<subtitle type="application/octet-stream">PJmx0O3AmZ3Q7U291cmNlIFN1YnRpdGxlJmx0Oy9wJmd0Ow==</subtitle>
<subtitle type="application/octet-stream">Jmx0O3AmZ3Q7U291cmNlIFN1YnRpdGxlJmx0Oy9wJmd0Ow==</subtitle>
</source>
</entry>
</feed>
</feed>
Expand Up @@ -2,7 +2,7 @@
"entries": [
{
"source": {
"title": "&lt;p&gt;Source Title&lt;/p&gt"
"title": "&lt;p&gt;Source Title&lt;/p&gt;"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom10_feed_link_href.json
@@ -1,7 +1,7 @@
{
"links": [
{
"href": "http://www.example.org",
"href": "http://example.org",
"rel": "alternate"
}
],
Expand Down
4 changes: 2 additions & 2 deletions testdata/parser/atom/atom10_feed_link_length.xml
Expand Up @@ -2,5 +2,5 @@
Description: feed link length
-->
<feed xmlns="http://www.w3.org/2005/Atom">
<link lenght="1024"></link>
</feed>
<link length="1024"></link>
</feed>
8 changes: 4 additions & 4 deletions testdata/parser/rss/rss_channel_image.json
Expand Up @@ -2,10 +2,10 @@
"image": {
"url": "http://example.org/url",
"link": "http://example.org/link",
"title": "Sample image",
"width": "80",
"height": "15",
"description": "Available in Netscape RSS 0.91"
"title": "Image Title",
"width": "256",
"height": "512",
"description": "Image Description"
},
"items": [],
"version": "0.91"
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/rss/rss_channel_item_guid.json
Expand Up @@ -2,7 +2,7 @@
"items": [
{
"guid": {
"value": "abc"
"value": "abc123"
}
}
],
Expand Down
5 changes: 5 additions & 0 deletions testdata/parser/rss/rss_channel_language.json
@@ -0,0 +1,5 @@
{
"language":"en-us",
"items": [],
"version":"2.0"
}
4 changes: 4 additions & 0 deletions testdata/parser/rss/version_rss_091_netscape.json
@@ -0,0 +1,4 @@
{
"items": [],
"version": "0.91"
}
1 change: 0 additions & 1 deletion testdata/parser/rss/version_rss_missing.json
@@ -1,5 +1,4 @@
{
"description": "Feed Description",
"items": [],
"version": ""
}
9 changes: 9 additions & 0 deletions testdata/translator/rss/feed_image_-_rdf_image.json
@@ -0,0 +1,9 @@
{
"image": {
"url": "http://xml.com/universal/images/xml_tiny.gif",
"title": "XML.com"
},
"items": [],
"feedType": "rss",
"feedVersion": "1.0"
}

0 comments on commit dcf1fa2

Please sign in to comment.