juergen     2003/08/06 04:08:53

  Modified:    testsuite/testsuite/junit/xmltestcases/BIND/functional/precondition
                        rebindintoCollection.xml
  Log:
  no message
  
  Revision  Changes    Path
  1.3       +9 -8      
jakarta-slide/testsuite/testsuite/junit/xmltestcases/BIND/functional/precondition/rebindintoCollection.xml
  
  Index: rebindintoCollection.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/BIND/functional/precondition/rebindintoCollection.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- rebindintoCollection.xml  6 Aug 2003 10:56:15 -0000       1.2
  +++ rebindintoCollection.xml  6 Aug 2003 11:08:53 -0000       1.3
  @@ -5,14 +5,14 @@
        <specification>
                <abstract> checks precondition rebind-from-collection  </abstract>
                <description> The test case consist of following steps:
  -                                             1) create test collections, test1, 
test3 and test2
  -                                             2) create a file test3.txt in test3
  +                                             1) create test collections, test1, and 
test2
                                                3) bind the file test2 to a test1 
  -                                             4) rebind the file test2 from 
test3.txt (precondition violation)
  +                                             4) rebind the file test2 from 
test3[non-exisiting] (precondition violation)
                                                5) delete the collection test2 
  -                                             6) delete the collection test1 and 
test3
  +                                             6) delete the collection test1 
                </description>
                <expectedResult> reBind did work successfully </expectedResult>
  +     </specification>
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">MKCOL 
/%globalVariableServerName%/%globalVariableCollection%/test1 HTTP/1.1</command>
  @@ -78,17 +78,18 @@
        </step>
        <step>
                <request>
  -                     <command 
varUsage="globalVariableCollection,globalVariableServerName">UNBIND 
/%globalVariableServerName%/%globalVariableCollection%/test1/test1.txt 
HTTP/1.1</command>
  +                     <command 
varUsage="globalVariableCollection,globalVariableServerName">REBIND 
/%globalVariableServerName%/%globalVariableCollection%/test3 HTTP/1.1</command>
                        <header>Overwrite: F</header>
                        <body 
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml 
version="1.0" ?>
  -                         <unbind>
  +                         <rebind>
                              <segment>test2</segment>
  -                         </unbind>]]></body>
  +                             
<href>/%globalVariableServerName%/%globalVariableCollection%/test2</href>
  +                         </rebind>]]></body>
                </request>
                <response>
                        <command>HTTP/1.1 409 Conflict</command>
                        <header>Content-Type: text/xml; charset="UTF-8"</header>
  -                     <body><![CDATA[<?xml version="1.0" encoding="UTF-8"?><D:error 
xmlns:D="DAV:"><D:Unbind-from-collection /></D:error>]]></body>
  +                     <body><![CDATA[<?xml version="1.0" encoding="UTF-8"?><D:error 
xmlns:D="DAV:"><D:rebind-into-collection /></D:error>]]></body>
                </response>
        </step>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to