wam         2002/08/02 00:00:22

  Modified:    testsuite/testsuite/junit/xmltestcases/DASL/functional/from/DAV
                        scopeNotFound.xml
  Log:
  expected 207, but must be 400
  
  Revision  Changes    Path
  1.3       +20 -35    
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/from/DAV/scopeNotFound.xml
  
  Index: scopeNotFound.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/from/DAV/scopeNotFound.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- scopeNotFound.xml 30 Jul 2002 14:39:25 -0000      1.2
  +++ scopeNotFound.xml 2 Aug 2002 07:00:21 -0000       1.3
  @@ -1,27 +1,18 @@
   <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
  -
  -<test> 
  -
  -
  -     <specification>
  -
  -             <abstract> Search using a nonexistent HREF in the Scope. </abstract>
  -
  -             <pre-Requisite>A collection has been created and defined in 
tprocessor.cmd.</pre-Requisite>
  -
  -             <description>
  +<test>
  +  <specification>
  +    <abstract> Search using a nonexistent HREF in the Scope. </abstract>
  +    <pre-Requisite>A collection has been created and defined in 
tprocessor.cmd.</pre-Requisite>
  +    <description>
                1) Search with a nonexistent collection stated within the Scope's HREF.
                </description>
  -
  -             <expectedResult>The Search should return a 404 Error, indicating the 
resource could not be found.</expectedResult>
  -
  -     </specification>
  -     
  -     <step> 
  -             <request>
  -                     <command varUsage ="globalVariableServerName">SEARCH 
/%globalVariableServerName% HTTP/1.1</command>
  -                     <body varUsage="globalVariableCollection"><![CDATA[<?xml 
version="1.0" encoding="UTF-8"?>
  +    <expectedResult>The Search should return a 404 Error, indicating the resource 
could not be found.</expectedResult>
  +  </specification>
  +  <step>
  +    <request>
  +      <command varUsage="globalVariableServerName">SEARCH 
/%globalVariableServerName% HTTP/1.1</command>
  +      <body varUsage="globalVariableCollection"><![CDATA[<?xml version="1.0" 
encoding="UTF-8"?>
                                <searchrequest xmlns:D="DAV:">
                                        <D:basicsearch>
                                                <D:select>
  @@ -46,13 +37,11 @@
                                                </D:where>
                                        </D:basicsearch>
                                </searchrequest>                        
  -                             ]]>                     
  -                             </body>
  -             </request>
  -     
  -             <response>
  -                     <command>HTTP/1.0 207 Multi-Status</command>
  -                     <body varUsage="globalVariableCollection"><![CDATA[<?xml 
version="1.0" encoding="UTF-8"?>
  +                             ]]></body>
  +    </request>
  +    <response>
  +      <command>HTTP/1.0 400 Bad Request</command>
  +      <body varUsage="globalVariableCollection"><![CDATA[<?xml version="1.0" 
encoding="UTF-8"?>
                                <D:multistatus xmlns:D="DAV:">
                                        <D:response>
                                                
<D:href>%globalVariableCollection%/nonexistent/</D:href>
  @@ -60,11 +49,7 @@
                                                <D:scopeerror />
                                        </D:response>
                                </D:multistatus>
  -                             ]]>
  -                     </body>
  -             </response>
  -     </step>
  -     
  -     
  -     
  -</test>
  \ No newline at end of file
  +                             ]]></body>
  +    </response>
  +  </step>
  +</test>
  
  
  

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

Reply via email to