Author: ts
Date: Tue Sep 25 06:22:00 2007
New Revision: 6252
Log:
- Fix current test state.
# Attention, this commit may break test cases. Hang on...
Added:
trunk/Webdav/tests/clients/rfc/mkcol/response/result.ser
trunk/Webdav/tests/clients/rfc/move_resource/response/result.ser
Removed:
trunk/Webdav/tests/clients/rfc/lock_1/request/result.ser
trunk/Webdav/tests/clients/rfc/lock_2/request/result.ser
trunk/Webdav/tests/clients/rfc/lock_3/request/result.ser
trunk/Webdav/tests/clients/rfc/unlock/request/result.ser
Modified:
trunk/Webdav/tests/clients/cadaver/propfind/request/result.ser
trunk/Webdav/tests/clients/cadaver/propfind_extended/request/result.ser
trunk/Webdav/tests/clients/rfc/copy/response/result.ser
trunk/Webdav/tests/clients/rfc/copy_collection/response/result.ser
trunk/Webdav/tests/clients/rfc/copy_overwrite/response/result.ser
trunk/Webdav/tests/clients/rfc/copy_success/response/result.ser
trunk/Webdav/tests/clients/rfc/delete/response/result.ser
trunk/Webdav/tests/clients/rfc/get_resource/response/result.ser
trunk/Webdav/tests/clients/rfc/move_collection/response/result.ser
trunk/Webdav/tests/clients/rfc/options/response/result.ser
trunk/Webdav/tests/clients/rfc/propfind_prop/response/result.ser
trunk/Webdav/tests/clients/rfc/proppatch/response/result.ser
trunk/Webdav/tests/clients/rfc/supportedlock/response/result.ser
Modified: trunk/Webdav/tests/clients/cadaver/propfind/request/result.ser
==============================================================================
Binary files - no diff available.
Modified:
trunk/Webdav/tests/clients/cadaver/propfind_extended/request/result.ser
==============================================================================
Binary files - no diff available.
Modified: trunk/Webdav/tests/clients/rfc/copy/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/copy/response/result.ser [iso-8859-1]
(original)
+++ trunk/Webdav/tests/clients/rfc/copy/response/result.ser [iso-8859-1] Tue
Sep 25 06:22:00 2007
@@ -1,1 +1,1 @@
-a:2:{s:7:"headers";a:1:{i:0;s:23:"HTTP/1.1 204 No Content";}s:4:"body";N;}
+a:2:{s:7:"headers";a:1:{i:0;s:23:"HTTP/1.1 204 No Content";}s:4:"body";s:0:"";}
Modified: trunk/Webdav/tests/clients/rfc/copy_collection/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/copy_collection/response/result.ser
[iso-8859-1] (original)
+++ trunk/Webdav/tests/clients/rfc/copy_collection/response/result.ser
[iso-8859-1] Tue Sep 25 06:22:00 2007
@@ -1,20 +1,8 @@
-a:2:{s:7:"headers";a:1:{i:0;s:25:"HTTP/1.1 207
Multi-Status";}s:4:"body";s:599:"<?xml version="1.0" encoding="UTF-8"?>
+a:2:{s:7:"headers";a:1:{i:0;s:25:"HTTP/1.1 207
Multi-Status";}s:4:"body";s:234:"<?xml version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
- <D:href>http://foo.bar/container</D:href>
- <D:status>HTTP/1.1 423 Locked</D:status>
- </D:response>
- <D:response>
- <D:href>http://foo.bar/container/front.html</D:href>
- <D:status>HTTP/1.1 423 Locked</D:status>
- </D:response>
- <D:response>
- <D:href>http://foo.bar/container/R2</D:href>
- <D:status>HTTP/1.1 423 Locked</D:status>
- </D:response>
- <D:response>
- <D:href>http://foo.bar/container/resource3</D:href>
- <D:status>HTTP/1.1 423 Locked</D:status>
+ <D:href>http://www.foo.bar/othercontainer/R2</D:href>
+ <D:status>HTTP/1.1 412 Precondition Failed</D:status>
</D:response>
</D:multistatus>
";}
Modified: trunk/Webdav/tests/clients/rfc/copy_overwrite/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/copy_overwrite/response/result.ser
[iso-8859-1] (original)
+++ trunk/Webdav/tests/clients/rfc/copy_overwrite/response/result.ser
[iso-8859-1] Tue Sep 25 06:22:00 2007
@@ -1,6 +1,1 @@
-a:2:{s:7:"headers";a:1:{i:0;s:32:"HTTP/1.1 412 Precondition
Failed";}s:4:"body";s:199:"<?xml version="1.0" encoding="UTF-8"?>
-<D:response xmlns:D="DAV:">
- <D:href>http://foo.bar/users/f/fielding/index.html</D:href>
- <D:status>HTTP/1.1 412 Precondition Failed</D:status>
-</D:response>
-";}
+a:2:{s:7:"headers";a:1:{i:0;s:32:"HTTP/1.1 412 Precondition
Failed";}s:4:"body";s:0:"";}
Modified: trunk/Webdav/tests/clients/rfc/copy_success/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/copy_success/response/result.ser
[iso-8859-1] (original)
+++ trunk/Webdav/tests/clients/rfc/copy_success/response/result.ser
[iso-8859-1] Tue Sep 25 06:22:00 2007
@@ -1,1 +1,1 @@
-a:2:{s:7:"headers";a:1:{i:0;s:23:"HTTP/1.1 204 No Content";}s:4:"body";N;}
+a:2:{s:7:"headers";a:1:{i:0;s:23:"HTTP/1.1 204 No Content";}s:4:"body";s:0:"";}
Modified: trunk/Webdav/tests/clients/rfc/delete/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/delete/response/result.ser [iso-8859-1]
(original)
+++ trunk/Webdav/tests/clients/rfc/delete/response/result.ser [iso-8859-1] Tue
Sep 25 06:22:00 2007
@@ -1,6 +1,1 @@
-a:2:{s:7:"headers";a:1:{i:0;s:19:"HTTP/1.1 423
Locked";}s:4:"body";s:168:"<?xml version="1.0" encoding="UTF-8"?>
-<D:response xmlns:D="DAV:">
- <D:href>http://foo.bar/container</D:href>
- <D:status>HTTP/1.1 423 Locked</D:status>
-</D:response>
-";}
+a:2:{s:7:"headers";a:1:{i:0;s:23:"HTTP/1.1 204 No Content";}s:4:"body";s:0:"";}
Modified: trunk/Webdav/tests/clients/rfc/get_resource/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/get_resource/response/result.ser
[iso-8859-1] (original)
+++ trunk/Webdav/tests/clients/rfc/get_resource/response/result.ser
[iso-8859-1] Tue Sep 25 06:22:00 2007
@@ -1,1 +1,1 @@
-a:2:{s:7:"headers";a:3:{i:0;s:15:"HTTP/1.1 200
OK";s:12:"Content-Type";s:26:"text/html;
charset="utf-8"";s:14:"Content-Length";i:49;}s:4:"body";s:48:"<html><head><title>Foo
Bar</title></head></html>";}
+a:2:{s:7:"headers";a:2:{i:0;s:15:"HTTP/1.1 200
OK";s:12:"Content-Type";s:26:"text/html;
charset="utf-8"";}s:4:"body";s:48:"<html><head><title>Foo
Bar</title></head></html>";}
Added: trunk/Webdav/tests/clients/rfc/mkcol/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/mkcol/response/result.ser (added)
+++ trunk/Webdav/tests/clients/rfc/mkcol/response/result.ser [iso-8859-1] Tue
Sep 25 06:22:00 2007
@@ -1,0 +1,1 @@
+a:2:{s:7:"headers";a:1:{i:0;s:20:"HTTP/1.1 201 Created";}s:4:"body";s:0:"";}
Modified: trunk/Webdav/tests/clients/rfc/move_collection/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/move_collection/response/result.ser
[iso-8859-1] (original)
+++ trunk/Webdav/tests/clients/rfc/move_collection/response/result.ser
[iso-8859-1] Tue Sep 25 06:22:00 2007
@@ -1,20 +1,1 @@
-a:2:{s:7:"headers";a:1:{i:0;s:25:"HTTP/1.1 207
Multi-Status";}s:4:"body";s:599:"<?xml version="1.0" encoding="UTF-8"?>
-<D:multistatus xmlns:D="DAV:">
- <D:response>
- <D:href>http://foo.bar/container</D:href>
- <D:status>HTTP/1.1 423 Locked</D:status>
- </D:response>
- <D:response>
- <D:href>http://foo.bar/container/front.html</D:href>
- <D:status>HTTP/1.1 423 Locked</D:status>
- </D:response>
- <D:response>
- <D:href>http://foo.bar/container/R2</D:href>
- <D:status>HTTP/1.1 423 Locked</D:status>
- </D:response>
- <D:response>
- <D:href>http://foo.bar/container/resource3</D:href>
- <D:status>HTTP/1.1 423 Locked</D:status>
- </D:response>
-</D:multistatus>
-";}
+a:2:{s:7:"headers";a:1:{i:0;s:20:"HTTP/1.1 201 Created";}s:4:"body";s:0:"";}
Added: trunk/Webdav/tests/clients/rfc/move_resource/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/move_resource/response/result.ser (added)
+++ trunk/Webdav/tests/clients/rfc/move_resource/response/result.ser
[iso-8859-1] Tue Sep 25 06:22:00 2007
@@ -1,0 +1,1 @@
+a:2:{s:7:"headers";a:1:{i:0;s:20:"HTTP/1.1 201 Created";}s:4:"body";s:0:"";}
Modified: trunk/Webdav/tests/clients/rfc/options/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/options/response/result.ser [iso-8859-1]
(original)
+++ trunk/Webdav/tests/clients/rfc/options/response/result.ser [iso-8859-1] Tue
Sep 25 06:22:00 2007
@@ -1,1 +1,1 @@
-a:2:{s:7:"headers";a:2:{i:0;s:15:"HTTP/1.1 200 OK";s:3:"DAV";s:16:"1, 2,
1#extended";}s:4:"body";s:0:"";}
+a:2:{s:7:"headers";a:3:{i:0;s:15:"HTTP/1.1 200
OK";s:3:"DAV";N;s:5:"Allow";s:71:"GET, HEAD, PROPFIND, PROPPATCH, OPTIONS,
DELETE, COPY, MOVE, MKCOL, PUT";}s:4:"body";s:0:"";}
Modified: trunk/Webdav/tests/clients/rfc/propfind_prop/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/propfind_prop/response/result.ser
[iso-8859-1] (original)
+++ trunk/Webdav/tests/clients/rfc/propfind_prop/response/result.ser
[iso-8859-1] Tue Sep 25 06:22:00 2007
@@ -1,11 +1,15 @@
-a:2:{s:7:"headers";a:1:{i:0;s:25:"HTTP/1.1 207
Multi-Status";}s:4:"body";s:747:"<?xml version="1.0" encoding="UTF-8"?>
+a:2:{s:7:"headers";a:1:{i:0;s:25:"HTTP/1.1 207
Multi-Status";}s:4:"body";s:869:"<?xml version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:repsonse xmlns:R="http://www.foo.bar/boxschema/">
<D:href>http://foo.bar/file</D:href>
<D:propstat xmlns:R="http://www.foo.bar/boxschema/">
<D:prop>
- <R:bigbox xmlns:R="http://www.foo.bar/boxschema/"/>
- <R:author xmlns:R="http://www.foo.bar/boxschema/"/>
+ <R:bigbox xmlns:R="http://www.foo.bar/boxschema/">
+ <R:BoxType>Box type A</R:BoxType>
+ </R:bigbox>
+ <R:author xmlns:R="http://www.foo.bar/boxschema/">
+ <R:Name>J.J. Johnson</R:Name>
+ </R:author>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
Modified: trunk/Webdav/tests/clients/rfc/proppatch/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/proppatch/response/result.ser [iso-8859-1]
(original)
+++ trunk/Webdav/tests/clients/rfc/proppatch/response/result.ser [iso-8859-1]
Tue Sep 25 06:22:00 2007
@@ -1,1 +1,1 @@
-a:2:{s:7:"headers";a:1:{i:0;s:15:"HTTP/1.1 200 OK";}s:4:"body";N;}
+a:2:{s:7:"headers";a:1:{i:0;s:15:"HTTP/1.1 200 OK";}s:4:"body";s:0:"";}
Modified: trunk/Webdav/tests/clients/rfc/supportedlock/response/result.ser
==============================================================================
--- trunk/Webdav/tests/clients/rfc/supportedlock/response/result.ser
[iso-8859-1] (original)
+++ trunk/Webdav/tests/clients/rfc/supportedlock/response/result.ser
[iso-8859-1] Tue Sep 25 06:22:00 2007
@@ -1,10 +1,27 @@
-a:2:{s:7:"headers";a:1:{i:0;s:25:"HTTP/1.1 207
Multi-Status";}s:4:"body";s:977:"<?xml version="1.0" encoding="UTF-8"?>
+a:2:{s:7:"headers";a:1:{i:0;s:25:"HTTP/1.1 207
Multi-Status";}s:4:"body";s:1849:"<?xml version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:">
<D:repsonse>
<D:href>http://foo.bar/container</D:href>
<D:propstat>
<D:prop>
- <D:supportedlock/>
+ <D:supportedlock>
+ <D:lockentry>
+ <D:lockscope>
+ <D:exclusive/>
+ </D:lockscope>
+ <D:locktype>
+ <D:write/>
+ </D:locktype>
+ </D:lockentry>
+ <D:lockentry>
+ <D:lockscope>
+ <D:shared/>
+ </D:lockscope>
+ <D:locktype>
+ <D:read/>
+ </D:locktype>
+ </D:lockentry>
+ </D:supportedlock>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
@@ -13,7 +30,24 @@
<D:href>http://foo.bar/container/front.html</D:href>
<D:propstat>
<D:prop>
- <D:supportedlock/>
+ <D:supportedlock>
+ <D:lockentry>
+ <D:lockscope>
+ <D:exclusive/>
+ </D:lockscope>
+ <D:locktype>
+ <D:write/>
+ </D:locktype>
+ </D:lockentry>
+ <D:lockentry>
+ <D:lockscope>
+ <D:shared/>
+ </D:lockscope>
+ <D:locktype>
+ <D:read/>
+ </D:locktype>
+ </D:lockentry>
+ </D:supportedlock>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components