Skip to content

Commit

Permalink
First pass at rewriting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew McDole committed Apr 25, 2016
1 parent 9b0c8d5 commit be2a90f
Show file tree
Hide file tree
Showing 560 changed files with 1,030 additions and 1,572 deletions.
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_author_email.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"authors": [
{
"email": "me@example.com"
"email": "me@example.org"
}
],
"entries": [],
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_author_homepage.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"authors": [
{
"uri": "http://example.com/"
"uri": "http://example.org/"
}
],
"entries": [],
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_author_mixed_content.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"authors": [
{
"name": "Example author"
"name": "Feed Author"
}
],
"entries": [],
Expand Down
4 changes: 2 additions & 2 deletions testdata/parser/atom/atom03_feed_author_mixed_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description: feed author - mixed content
-->
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<author>
<name>Example author</name>
Example mixed content
<name>Feed Author</name>
Mixed content
</author>
</feed>
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_author_name.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"authors": [
{
"name": "Example author"
"name": "Feed Author"
}
],
"entries": [],
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_author_uri.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"authors": [
{
"uri": "http://example.com/"
"uri": "http://example.org/"
}
],
"entries": [],
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_author_url.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"authors": [
{
"uri": "http://example.com/"
"uri": "http://example.org/"
}
],
"entries": [],
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_contributor_email.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"contributors": [
{
"email": "me@example.com"
"email": "me@example.org"
}
],
"entries": [],
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_contributor_homepage.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"contributors": [
{
"uri": "http://example.com/"
"uri": "http://example.org/"
}
],
"entries": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"contributors": [
{
"name": "Example contributor"
"name": "Feed Contributor"
}
],
"entries": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description: feed contributor - mixed content
-->
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<contributor>
<name>Example contributor</name>
Example mixed content
<name>Feed Contributor</name>
Mixed content
</contributor>
</feed>
8 changes: 4 additions & 4 deletions testdata/parser/atom/atom03_feed_contributor_multiple.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"contributors": [
{
"name": "Contributor 1",
"email": "me@example.com",
"uri": "http://example.com/"
"email": "me@example.org",
"uri": "http://example.org/"
},
{
"name": "Contributor 2",
"email": "you@example.com",
"uri": "http://two.example.com/"
"email": "you@example.org",
"uri": "http://two.example.org/"
}
],
"entries": [],
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_contributor_name.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"contributors": [
{
"name": "Example contributor"
"name": "Feed Contributor"
}
],
"entries": [],
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_contributor_uri.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"contributors": [
{
"uri": "http://example.com/"
"uri": "http://example.org/"
}
],
"entries": [],
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_contributor_url.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"contributors": [
{
"uri": "http://example.com/"
"uri": "http://example.org/"
}
],
"entries": [],
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_copyright.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"rights": "Example Atom",
"rights": "Feed Rights",
"entries": [],
"version": "0.3"
}
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_copyright_base64.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"rights": "Example <b>Atom</b>",
"rights": "Feed <b>Rights</b>",
"entries": [],
"version": "0.3"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"rights": "Example <b>Atom</b>",
"rights": "Feed <b>Rights</b>",
"entries": [],
"version": "0.3"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"rights": "Example <b>Atom</b>",
"rights": "Feed <b>Rights</b>",
"entries": [],
"version": "0.3"
}
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_copyright_text.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"rights": "Example Atom",
"rights": "Feed Rights",
"entries": [],
"version": "0.3"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"rights": "Example <b>Atom</b>",
"rights": "Feed <b>Rights</b>",
"entries": [],
"version": "0.3"
}
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_entry_author_email.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"authors": [
{
"email": "me@example.com"
"email": "me@example.org"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"authors": [
{
"uri": "http://example.com/"
"uri": "http://example.org/"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"authors": [
{
"name": "Example author"
"name": "Author Name"
}
]
}
Expand Down
12 changes: 6 additions & 6 deletions testdata/parser/atom/atom03_feed_entry_author_mixed_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Description: entry author - mixed content
-->
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<entry>
<author>
<name>Example author</name>
Example mixed content
</author>
</entry>
<entry>
<author>
<name>Author Name</name>
Mixed content
</author>
</entry>
</feed>
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_entry_author_name.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"authors": [
{
"name": "Example author"
"name": "Author Name"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_entry_author_uri.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"authors": [
{
"uri": "http://example.com/"
"uri": "http://example.org/"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_entry_author_url.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"authors": [
{
"uri": "http://example.com/"
"uri": "http://example.org/"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_entry_content.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"entries": [
{
"content": {
"value": "Example Atom"
"value": "Entry Content"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"contributors": [
{
"email": "me@example.com"
"email": "me@example.org"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"contributors": [
{
"uri": "http://example.com/"
"uri": "http://example.org/"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"contributors": [
{
"name": "Example contributor"
"name": "Contributor Name"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Description: entry contributor - mixed content
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<entry>
<contributor>
<name>Example contributor</name>
Example mixed content
<name>Contributor Name</name>
Mixed content
</contributor>
</entry>
</feed>
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"contributors": [
{
"name": "Contributor 1",
"email": "me@example.com",
"uri": "http://example.com/"
"email": "me@example.org",
"uri": "http://example.org/"
},
{
"name": "Contributor 2",
"email": "you@example.com",
"uri": "http://two.example.com/"
"email": "you@example.org",
"uri": "http://two.example.org/"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"contributors": [
{
"name": "Example contributor"
"name": "Contributor Name"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"contributors": [
{
"uri": "http://example.com/"
"uri": "http://example.org/"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"contributors": [
{
"uri": "http://example.com/"
"uri": "http://example.org/"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_entry_id.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"entries": [
{
"id": "http://example.com/"
"id": "http://example.org/"
}
],
"version": "0.3"
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_entry_link_href.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"links": [
{
"href": "http://www.example.com/",
"href": "http://www.example.org/",
"rel": "alternate"
}
]
Expand Down
4 changes: 2 additions & 2 deletions testdata/parser/atom/atom03_feed_entry_link_multiple.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
{
"links": [
{
"href": "http://www.example.com/",
"href": "http://www.example.org/",
"rel": "alternate",
"type": "application/xhtml+xml"
},
{
"href": "http://www.example.com/post",
"href": "http://www.example.org/post",
"rel": "service.post",
"type": "application/atom+xml"
}
Expand Down
2 changes: 1 addition & 1 deletion testdata/parser/atom/atom03_feed_entry_link_title.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"links": [
{
"rel": "alternate",
"title": "Example title"
"title": "Link title"
}
]
}
Expand Down
Loading

0 comments on commit be2a90f

Please sign in to comment.