Skip to content

Commit 07d416f

Browse files
committed
Add more atom tests
1 parent 8f8d6a3 commit 07d416f

File tree

5 files changed

+521
-2
lines changed

5 files changed

+521
-2
lines changed

tests/samples/atom_plain.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"feed": {
3+
"authors": [],
4+
"categories": [],
5+
"contributors": [],
6+
"entries": [
7+
{
8+
"authors": [
9+
{
10+
"email": "[email protected]",
11+
"name": "John Doe",
12+
"uri": "http://example.org/"
13+
}
14+
],
15+
"categories": [],
16+
"content": "[Update: The Atom draft is finished.]",
17+
"contributors": [
18+
{
19+
"email": null,
20+
"name": "John Doe",
21+
"uri": null
22+
}
23+
],
24+
"id": "tag:example.org,2003:3.2397",
25+
"links": [
26+
null,
27+
null
28+
],
29+
"published": "2003-12-13T08:29:29-04:00",
30+
"rights": null,
31+
"source": null,
32+
"summary": null,
33+
"title": "Atom draft-07 snapshot",
34+
"updated": "2005-07-31T12:29:29+00:00"
35+
}
36+
],
37+
"generator": "Example Toolkit",
38+
"icon": null,
39+
"id": "tag:example.org,2003:3",
40+
"links": [
41+
null,
42+
null
43+
],
44+
"logo": null,
45+
"rights": "Copyright (c) 2003, John Doe",
46+
"subtitle": "A <em>lot</em> of effort\n went into making this effortless",
47+
"title": "Title",
48+
"updated": "2005-07-31T12:29:29+00:00"
49+
},
50+
"version": null
51+
}
Lines changed: 252 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,252 @@
1+
{
2+
"feed": {
3+
"attributes": {
4+
"xmlns": "http://www.w3.org/2005/Atom"
5+
},
6+
"content": {
7+
"authors": [
8+
{
9+
"attributes": {},
10+
"content": {
11+
"email": null,
12+
"name": {
13+
"attributes": {},
14+
"content": "FYIcenter.com"
15+
},
16+
"uri": null
17+
}
18+
}
19+
],
20+
"categories": [
21+
{
22+
"attributes": {
23+
"term": "Programming"
24+
},
25+
"content": null
26+
},
27+
{
28+
"attributes": {
29+
"term": "Computer"
30+
},
31+
"content": null
32+
},
33+
{
34+
"attributes": {
35+
"term": "Developer"
36+
},
37+
"content": null
38+
}
39+
],
40+
"contributors": [],
41+
"entries": [
42+
{
43+
"attributes": {},
44+
"content": {
45+
"authors": [
46+
{
47+
"attributes": {},
48+
"content": {
49+
"email": null,
50+
"name": {
51+
"attributes": {},
52+
"content": "FYIcenter.com"
53+
},
54+
"uri": null
55+
}
56+
}
57+
],
58+
"categories": [
59+
{
60+
"attributes": {
61+
"term": "Microsoft"
62+
},
63+
"content": null
64+
}
65+
],
66+
"content": null,
67+
"contributors": [],
68+
"id": {
69+
"attributes": {},
70+
"content": "http://dev.fyicenter.com/1000702_Use_Developer_Portal_Internally.html"
71+
},
72+
"links": [
73+
{
74+
"attributes": {
75+
"href": "http://dev.fyicenter.com/1000702_Use_Developer_Portal_Internally.ht ml",
76+
"rel": "alternate"
77+
},
78+
"content": null
79+
}
80+
],
81+
"published": null,
82+
"rights": null,
83+
"source": null,
84+
"summary": {
85+
"attributes": {
86+
"type": "html"
87+
},
88+
"content": "<img align='left' width='64' height='64' \nsrc='http://dev.fyicenter.com/Azure-API/_icon_Azure-API.png' />How to \nuse the Developer Portal internally by you as the publisher? Normally, \nthe Developer Portal of an Azure API Management Service is used by \nclient developers. But as a publisher, you can also use the Developer \nPortal to test API operations internally. You can follow this tutorial \nto access the ... - Rank: 120; Updated: 2017-09-20 13:29:06 -> <a \nhref='http://dev.fyicenter.com/1000702_Use_Developer_Portal_Internally.ht\nml'>Source</a>"
89+
},
90+
"title": {
91+
"attributes": {},
92+
"content": "Use Developer Portal Internally"
93+
},
94+
"updated": {
95+
"attributes": {},
96+
"content": "2017-09-20T13:29:08+02:00"
97+
}
98+
}
99+
},
100+
{
101+
"attributes": {},
102+
"content": {
103+
"authors": [
104+
{
105+
"attributes": {},
106+
"content": {
107+
"email": null,
108+
"name": {
109+
"attributes": {},
110+
"content": "FYIcenter.com"
111+
},
112+
"uri": null
113+
}
114+
}
115+
],
116+
"categories": [
117+
{
118+
"attributes": {
119+
"term": "Microsoft"
120+
},
121+
"content": null
122+
}
123+
],
124+
"content": null,
125+
"contributors": [],
126+
"id": {
127+
"attributes": {},
128+
"content": "http://dev.fyicenter.com/1000701_Using_Azure_API_Management_Developer\n_Portal.html"
129+
},
130+
"links": [
131+
{
132+
"attributes": {
133+
"href": "http://dev.fyicenter.com/1000701_Using_Azure_API_Management_Develop er_Portal.html",
134+
"rel": "alternate"
135+
},
136+
"content": null
137+
}
138+
],
139+
"published": null,
140+
"rights": null,
141+
"source": null,
142+
"summary": {
143+
"attributes": {
144+
"type": "html"
145+
},
146+
"content": "<img align='left' width='64' height='64' \nsrc='http://dev.fyicenter.com/Azure-API/_icon_Azure-API.png' />Where to \nfind tutorials on Using Azure API Management Developer Portal? Here is \na list of tutorials to answer many frequently asked questions compiled \nby FYIcenter.com team on Using Azure API Management Developer Portal: \nUse Developer Portal Internally What Can I See on Developer Portal What \nI You T... - Rank: 120; Updated: 2017-09-20 13:29:06 -> <a \nhref='http://dev.fyicenter.com/1000701_Using_Azure_API_Management_Develop\ner_Portal.html'>Source</a>"
147+
},
148+
"title": {
149+
"attributes": {},
150+
"content": "Using Azure API Management Developer Portal"
151+
},
152+
"updated": {
153+
"attributes": {},
154+
"content": "2017-09-20T13:29:07+02:00"
155+
}
156+
}
157+
},
158+
{
159+
"attributes": {},
160+
"content": {
161+
"authors": [
162+
{
163+
"attributes": {},
164+
"content": {
165+
"email": null,
166+
"name": {
167+
"attributes": {},
168+
"content": "FYIcenter.com"
169+
},
170+
"uri": null
171+
}
172+
}
173+
],
174+
"categories": [
175+
{
176+
"attributes": {
177+
"term": "Microsoft"
178+
},
179+
"content": null
180+
}
181+
],
182+
"content": null,
183+
"contributors": [],
184+
"id": {
185+
"attributes": {},
186+
"content": "http://dev.fyicenter.com/1000700_Add_API_to_API_Products.html"
187+
},
188+
"links": [
189+
{
190+
"attributes": {
191+
"href": "http://dev.fyicenter.com/1000700_Add_API_to_API_Products.html",
192+
"rel": "alternate"
193+
},
194+
"content": null
195+
}
196+
],
197+
"published": null,
198+
"rights": null,
199+
"source": null,
200+
"summary": {
201+
"attributes": {
202+
"type": "html"
203+
},
204+
"content": "<img align='left' width='64' height='64' \nsrc='http://dev.fyicenter.com/Azure-API/_icon_Azure-API.png' />How to \nadd an API to an API product for internal testing on the Publisher \nPortal of an Azure API Management Service? You can follow this tutorial \nto add an API to an API product on the Publisher Portal of an Azure API \nManagement Service. 1. Click API from the left menu on the Publisher \nPortal. You s... - Rank: 119; Updated: 2017-09-20 13:29:06 -> <a \nhref='http://dev.fyicenter.com/1000700_Add_API_to_API_Products.html'>Sour\nce</a>"
205+
},
206+
"title": {
207+
"attributes": {},
208+
"content": "Add API to API Products"
209+
},
210+
"updated": {
211+
"attributes": {},
212+
"content": "2017-09-20T13:29:06+02:00"
213+
}
214+
}
215+
}
216+
],
217+
"generator": null,
218+
"icon": null,
219+
"id": {
220+
"attributes": {},
221+
"content": "http://dev.fyicenter.com/atom_xml.php"
222+
},
223+
"links": [
224+
{
225+
"attributes": {
226+
"href": "http://dev.fyicenter.com/atom_xml.php",
227+
"rel": "self"
228+
},
229+
"content": null
230+
}
231+
],
232+
"logo": null,
233+
"rights": {
234+
"attributes": {},
235+
"content": "Copyright (c) 2017 FYIcenter.com"
236+
},
237+
"subtitle": {
238+
"attributes": {},
239+
"content": "FYI (For Your Information) Center for Software Developers with \nlarge collection of FAQs, tutorials and tips codes for application and \nwWeb developers on Java, .NET, C, PHP, JavaScript, XML, HTML, CSS, RSS, \nMySQL and Oracle - dev.fyicenter.com."
240+
},
241+
"title": {
242+
"attributes": {},
243+
"content": "FYI Center for Software Developers"
244+
},
245+
"updated": {
246+
"attributes": {},
247+
"content": "2017-09-22T03:58:52+02:00"
248+
}
249+
}
250+
},
251+
"version": null
252+
}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<feed xmlns="http://www.w3.org/2005/Atom">
3+
<title>FYI Center for Software Developers</title>
4+
<subtitle>FYI (For Your Information) Center for Software Developers with
5+
large collection of FAQs, tutorials and tips codes for application and
6+
wWeb developers on Java, .NET, C, PHP, JavaScript, XML, HTML, CSS, RSS,
7+
MySQL and Oracle - dev.fyicenter.com.</subtitle>
8+
<link rel="self" href="http://dev.fyicenter.com/atom_xml.php"/>
9+
<id>http://dev.fyicenter.com/atom_xml.php</id>
10+
<updated>2017-09-22T03:58:52+02:00</updated>
11+
<author>
12+
<name>FYIcenter.com</name>
13+
</author>
14+
<rights>Copyright (c) 2017 FYIcenter.com</rights>
15+
<category term="Programming"/>
16+
<category term="Computer"/>
17+
<category term="Developer"/>
18+
<entry>
19+
<title>Use Developer Portal Internally</title>
20+
<link rel="alternate"
21+
href="http://dev.fyicenter.com/1000702_Use_Developer_Portal_Internally.ht
22+
ml"/>
23+
24+
<id>http://dev.fyicenter.com/1000702_Use_Developer_Portal_Internally.html
25+
</id>
26+
<updated>2017-09-20T13:29:08+02:00</updated>
27+
<summary type="html">&lt;img align='left' width='64' height='64'
28+
src='http://dev.fyicenter.com/Azure-API/_icon_Azure-API.png' />How to
29+
use the Developer Portal internally by you as the publisher? Normally,
30+
the Developer Portal of an Azure API Management Service is used by
31+
client developers. But as a publisher, you can also use the Developer
32+
Portal to test API operations internally. You can follow this tutorial
33+
to access the ... - Rank: 120; Updated: 2017-09-20 13:29:06 -> &lt;a
34+
href='http://dev.fyicenter.com/1000702_Use_Developer_Portal_Internally.ht
35+
ml'>Source&lt;/a></summary>
36+
<author>
37+
<name>FYIcenter.com</name>
38+
</author>
39+
<category term="Microsoft"/>
40+
</entry>
41+
<entry>
42+
<title>Using Azure API Management Developer Portal</title>
43+
<link rel="alternate"
44+
href="http://dev.fyicenter.com/1000701_Using_Azure_API_Management_Develop
45+
er_Portal.html"/>
46+
47+
<id>http://dev.fyicenter.com/1000701_Using_Azure_API_Management_Developer
48+
_Portal.html</id>
49+
<updated>2017-09-20T13:29:07+02:00</updated>
50+
<summary type="html">&lt;img align='left' width='64' height='64'
51+
src='http://dev.fyicenter.com/Azure-API/_icon_Azure-API.png' />Where to
52+
find tutorials on Using Azure API Management Developer Portal? Here is
53+
a list of tutorials to answer many frequently asked questions compiled
54+
by FYIcenter.com team on Using Azure API Management Developer Portal:
55+
Use Developer Portal Internally What Can I See on Developer Portal What
56+
I You T... - Rank: 120; Updated: 2017-09-20 13:29:06 -> &lt;a
57+
href='http://dev.fyicenter.com/1000701_Using_Azure_API_Management_Develop
58+
er_Portal.html'>Source&lt;/a></summary>
59+
<author>
60+
<name>FYIcenter.com</name>
61+
</author>
62+
<category term="Microsoft"/>
63+
</entry>
64+
<entry>
65+
<title>Add API to API Products</title>
66+
<link rel="alternate"
67+
href="http://dev.fyicenter.com/1000700_Add_API_to_API_Products.html"/>
68+
<id>http://dev.fyicenter.com/1000700_Add_API_to_API_Products.html</id>
69+
<updated>2017-09-20T13:29:06+02:00</updated>
70+
<summary type="html">&lt;img align='left' width='64' height='64'
71+
src='http://dev.fyicenter.com/Azure-API/_icon_Azure-API.png' />How to
72+
add an API to an API product for internal testing on the Publisher
73+
Portal of an Azure API Management Service? You can follow this tutorial
74+
to add an API to an API product on the Publisher Portal of an Azure API
75+
Management Service. 1. Click API from the left menu on the Publisher
76+
Portal. You s... - Rank: 119; Updated: 2017-09-20 13:29:06 -> &lt;a
77+
href='http://dev.fyicenter.com/1000700_Add_API_to_API_Products.html'>Sour
78+
ce&lt;/a></summary>
79+
<author>
80+
<name>FYIcenter.com</name>
81+
</author>
82+
<category term="Microsoft"/>
83+
</entry>
84+
</feed>

0 commit comments

Comments
 (0)