#35 More work on unit tests

This commit is contained in:
Pierre-Olivier Latour
2014-04-11 22:25:03 -07:00
parent c062d9d6d3
commit a28ac82ba2
722 changed files with 8890 additions and 96 deletions
+7
View File
@@ -0,0 +1,7 @@
HTTP/1.1 200 OK
Cache-Control: no-cache
DAV: 1
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:49:26 GMT
+7
View File
@@ -0,0 +1,7 @@
OPTIONS / HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Host: localhost:8080
+11
View File
@@ -0,0 +1,11 @@
HTTP/1.1 207 Multi-Status
Cache-Control: no-cache
Content-Length: 256
Content-Type: application/xml; charset="utf-8"
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:49:26 GMT
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
</D:multistatus>
+13
View File
@@ -0,0 +1,13 @@
PROPFIND / HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Depth: 0
Content-Length: 117
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<resourcetype xmlns="DAV:"/>
</prop></propfind>
+14
View File
@@ -0,0 +1,14 @@
HTTP/1.1 207 Multi-Status
Cache-Control: no-cache
Content-Length: 1106
Content-Type: application/xml; charset="utf-8"
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:49:26 GMT
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
<D:response><D:href>/Copy.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
<D:response><D:href>/images</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
<D:response><D:href>/PDF%20Reports</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
</D:multistatus>
+16
View File
@@ -0,0 +1,16 @@
PROPFIND / HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Depth: 1
Content-Length: 211
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<creationdate xmlns="DAV:"/>
<getcontentlength xmlns="DAV:"/>
<getlastmodified xmlns="DAV:"/>
<resourcetype xmlns="DAV:"/>
</prop></propfind>
+12
View File
@@ -0,0 +1,12 @@
HTTP/1.1 207 Multi-Status
Cache-Control: no-cache
Content-Length: 700
Content-Type: application/xml; charset="utf-8"
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:49:29 GMT
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
<D:response><D:href>/PDF%20Reports/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
<D:response><D:href>/PDF%20Reports/Apple%20Economic%20Impact%20on%20Cupertino.pdf</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2013-05-01T12:01:13+00:00</D:creationdate><D:getlastmodified>Wed, 01 May 2013 12:01:13 GMT</D:getlastmodified><D:getcontentlength>181952</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
</D:multistatus>
+16
View File
@@ -0,0 +1,16 @@
PROPFIND /PDF%20Reports/ HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Depth: 1
Content-Length: 211
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<creationdate xmlns="DAV:"/>
<getcontentlength xmlns="DAV:"/>
<getlastmodified xmlns="DAV:"/>
<resourcetype xmlns="DAV:"/>
</prop></propfind>
+13
View File
@@ -0,0 +1,13 @@
HTTP/1.1 207 Multi-Status
Cache-Control: no-cache
Content-Length: 998
Content-Type: application/xml; charset="utf-8"
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:49:30 GMT
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
<D:response><D:href>/images/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
<D:response><D:href>/images/capable_green_ipad_l.png</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T21:46:56+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 21:46:56 GMT</D:getlastmodified><D:getcontentlength>116066</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
<D:response><D:href>/images/hero_mba_11.jpg</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T21:51:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 21:51:14 GMT</D:getlastmodified><D:getcontentlength>106799</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
</D:multistatus>
+16
View File
@@ -0,0 +1,16 @@
PROPFIND /images/ HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Depth: 1
Content-Length: 211
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<creationdate xmlns="DAV:"/>
<getcontentlength xmlns="DAV:"/>
<getlastmodified xmlns="DAV:"/>
<resourcetype xmlns="DAV:"/>
</prop></propfind>
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
GET /images/hero_mba_11.jpg HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 204 No Content
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:49:42 GMT
+6
View File
@@ -0,0 +1,6 @@
DELETE /images/hero_mba_11.jpg HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 201 Created
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:49:48 GMT
+8
View File
@@ -0,0 +1,8 @@
MOVE /PDF%20Reports/Apple%20Economic%20Impact%20on%20Cupertino.pdf HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Destination: http://localhost:8080/PDF%20Reports/Apple%20Economic%20Impact.pdf
Overwrite: T
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 201 Created
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:49:51 GMT
+8
View File
@@ -0,0 +1,8 @@
MOVE /PDF%20Reports/ HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Destination: http://localhost:8080/Apple%20PDF%20Reports
Overwrite: T
+11
View File
@@ -0,0 +1,11 @@
HTTP/1.1 207 Multi-Status
Cache-Control: no-cache
Content-Length: 256
Content-Type: application/xml; charset="utf-8"
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:50:00 GMT
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
</D:multistatus>
+13
View File
@@ -0,0 +1,13 @@
PROPFIND / HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Depth: 0
Content-Length: 117
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<resourcetype xmlns="DAV:"/>
</prop></propfind>
+13
View File
@@ -0,0 +1,13 @@
HTTP/1.1 200 OK
Connection: Close
Server: GCDWebDAVServer
Content-Type: text/plain
Last-Modified: Thu, 10 Apr 2014 11:10:14 GMT
Date: Sat, 12 Apr 2014 04:50:00 GMT
Content-Length: 271
Cache-Control: no-cache
Etag: 73590261/1397128214/0
For the colorful.
Color is more than just a hue. It expresses a feeling. Makes a statement. Declares an allegiance. Color reveals your personality. iPhone 5c, in five anything-but-shy colors, does just that. Its not just for lovers of color. Its for the colorful.
+6
View File
@@ -0,0 +1,6 @@
GET /Copy.txt HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 201 Created
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:50:04 GMT
+12
View File
@@ -0,0 +1,12 @@
PUT /Copy_safe_save_215004.txt HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Content-Length: 288
For the colorful.
Color is more than just a hue. It expresses a feeling. Makes a statement. Declares an allegiance. Color reveals your personality. iPhone 5c, in five anything-but-shy colors, does just that. Its not just for lovers of color. Its for the colorful.
This is a test!
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 204 No Content
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:50:04 GMT
+6
View File
@@ -0,0 +1,6 @@
DELETE /Copy.txt HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 201 Created
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:50:04 GMT
+8
View File
@@ -0,0 +1,8 @@
MOVE /Copy_safe_save_215004.txt HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Destination: http://localhost:8080/Copy.txt
Overwrite: T
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 201 Created
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:50:55 GMT
+8
View File
@@ -0,0 +1,8 @@
PUT /Test%20File.txt HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Content-Length: 21
Nothing to see here!
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 201 Created
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:51:05 GMT
+8
View File
@@ -0,0 +1,8 @@
MOVE /Test%20File.txt HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Destination: http://localhost:8080/Apple%20PDF%20Reports/Test%20File.txt
Overwrite: T
+11
View File
@@ -0,0 +1,11 @@
HTTP/1.1 207 Multi-Status
Cache-Control: no-cache
Content-Length: 278
Content-Type: application/xml; charset="utf-8"
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:51:07 GMT
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
<D:response><D:href>/Apple%20PDF%20Reports/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
</D:multistatus>
+13
View File
@@ -0,0 +1,13 @@
PROPFIND /Apple%20PDF%20Reports/ HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Depth: 0
Content-Length: 117
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<resourcetype xmlns="DAV:"/>
</prop></propfind>
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 204 No Content
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:51:07 GMT
+6
View File
@@ -0,0 +1,6 @@
DELETE /Apple%20PDF%20Reports/Apple%20Economic%20Impact.pdf HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 204 No Content
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:51:07 GMT
+6
View File
@@ -0,0 +1,6 @@
DELETE /Apple%20PDF%20Reports/Test%20File.txt HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
+11
View File
@@ -0,0 +1,11 @@
HTTP/1.1 207 Multi-Status
Cache-Control: no-cache
Content-Length: 256
Content-Type: application/xml; charset="utf-8"
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:51:07 GMT
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
</D:multistatus>
+13
View File
@@ -0,0 +1,13 @@
PROPFIND / HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Depth: 0
Content-Length: 117
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<resourcetype xmlns="DAV:"/>
</prop></propfind>
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 204 No Content
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 04:51:07 GMT
+6
View File
@@ -0,0 +1,6 @@
DELETE /Apple%20PDF%20Reports/ HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 201 Created
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 05:08:32 GMT
+6
View File
@@ -0,0 +1,6 @@
MKCOL /untitled%20folder/ HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 201 Created
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 05:08:38 GMT
+8
View File
@@ -0,0 +1,8 @@
MOVE /Copy.txt HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Destination: http://localhost:8080/untitled%20folder/Copy.txt
Overwrite: T
+6
View File
@@ -0,0 +1,6 @@
HTTP/1.1 201 Created
Cache-Control: no-cache
Connection: Close
Server: GCDWebDAVServer
Date: Sat, 12 Apr 2014 05:08:41 GMT
+8
View File
@@ -0,0 +1,8 @@
MOVE /untitled%20folder/ HTTP/1.1
User-Agent: Transmit/4.4.6 neon/0.29.3
Connection: TE
TE: trailers
Host: localhost:8080
Destination: http://localhost:8080/My%20Folder
Overwrite: T