Author: ts
Date: Sat Oct 13 01:06:04 2007
New Revision: 6445

Log:
- Added another lock related test case.

Added:
    trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/
    trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/info.txt  
 (with props)
    trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/
    
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/body.xml
    
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/result.ser
   (with props)
    
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/server.php
   (with props)
    
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/uri.txt
   (with props)
    trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/
    
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/.body.xml.swp
   (with props)
    
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/backend.ser
   (with props)
    
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/body.xml
    
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/code.txt
   (with props)
    
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/headers.php
   (with props)
    
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/name.txt
   (with props)
    
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/result.ser

Added: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/info.txt
==============================================================================
--- trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/info.txt 
(added)
+++ trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/info.txt 
[iso-8859-1] Sat Oct 13 01:06:04 2007
@@ -1,0 +1,1 @@
+Test information generated from RFC 2518 on http://ietf.org/rfc/rfc2518.txt

Propchange: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/info.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/body.xml
==============================================================================
--- 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/body.xml
 (added)
+++ 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/body.xml
 [iso-8859-1] Sat Oct 13 01:06:04 2007
@@ -1,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<d:propertybehavior xmlns:d='DAV:'>
+  <d:keepalive>*</d:keepalive>
+</d:propertybehavior>

Added: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/result.ser
==============================================================================
Binary file - no diff available.

Propchange: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/result.ser
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/server.php
==============================================================================
--- 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/server.php
 (added)
+++ 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/server.php
 [iso-8859-1] Sat Oct 13 01:06:04 2007
@@ -1,0 +1,15 @@
+<?php
+
+return array (
+  'REQUEST_METHOD' => 'MOVE',
+  'REQUEST_URI' => '/container/',
+  'SERVER_PROTOCOL' => 'HTTP/1.1',
+  'HTTP_HOST' => 'www.foo.bar',
+  'HTTP_DESTINATION' => 'http://www.foo.bar/othercontainer/',
+  'HTTP_OVERWRITE' => 'F',
+  'HTTP_IF' => '(<opaquelocktoken:fe184f2e-6eec-41d0-c765-01adc56e6bb4>)  
(<opaquelocktoken:e454f3f3-acdc-452a-56c7-00a5c91e4b77>)',
+  'CONTENT_TYPE' => 'text/xml; charset="utf-8"',
+  'HTTP_CONTENT_LENGTH' => '1234',
+);
+
+?>

Propchange: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/server.php
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/uri.txt
==============================================================================
--- 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/uri.txt
 (added)
+++ 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/uri.txt
 [iso-8859-1] Sat Oct 13 01:06:04 2007
@@ -1,0 +1,1 @@
+http://www.foo.bar/container/

Propchange: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/request/uri.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/.body.xml.swp
==============================================================================
Binary file - no diff available.

Propchange: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/.body.xml.swp
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/backend.ser
==============================================================================
Binary file - no diff available.

Propchange: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/backend.ser
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/body.xml
==============================================================================
--- 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/body.xml
 (added)
+++ 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/body.xml
 [iso-8859-1] Sat Oct 13 01:06:04 2007
@@ -1,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<D:multistatus xmlns:D='DAV:'>
+  <D:response>
+       <D:href>http://www.foo.bar/othercontainer/C2/</D:href>
+       <D:status>HTTP/1.1 423 Locked</D:status>
+  </D:response>
+</D:multistatus>

Added: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/code.txt
==============================================================================
--- 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/code.txt
 (added)
+++ 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/code.txt
 [iso-8859-1] Sat Oct 13 01:06:04 2007
@@ -1,0 +1,1 @@
+207

Propchange: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/code.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/headers.php
==============================================================================
--- 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/headers.php
 (added)
+++ 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/headers.php
 [iso-8859-1] Sat Oct 13 01:06:04 2007
@@ -1,0 +1,9 @@
+<?php
+
+return array (
+  'Content-Type' => 'text/xml; charset="utf-8"',
+  // Generated by PHP on echo
+  // 'Content-Length' => 1234,
+);
+
+?>

Propchange: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/headers.php
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/name.txt
==============================================================================
--- 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/name.txt
 (added)
+++ 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/name.txt
 [iso-8859-1] Sat Oct 13 01:06:04 2007
@@ -1,0 +1,1 @@
+Multi-Status

Propchange: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/name.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/result.ser
==============================================================================
--- 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/result.ser
 (added)
+++ 
trunk/Webdav/tests/clients/unsupported_rfc/move_collection_locked/response/result.ser
 [iso-8859-1] Sat Oct 13 01:06:04 2007
@@ -1,0 +1,8 @@
+a:2:{s:7:"headers";a:1:{i:0;s:25:"HTTP/1.1 207 
Multi-Status";}s:4:"body";s:235:"<?xml version="1.0" encoding="UTF-8"?>
+<D:multistatus xmlns:D="DAV:">
+  <D:response>
+    <D:href>http://www.foo.bar/othercontainer/C2/</D:href>
+    <D:status>HTTP/1.1 412 Precondition Failed</D:status>
+  </D:response>
+</D:multistatus>
+";}


-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to