You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2003/08/27 12:49:06 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Propfind_Semantics LablSetPropf.xml

juergen     2003/08/27 03:49:06

  Modified:    testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Propfind_Semantics
                        LablSetPropf.xml
  Log:
  no message
  
  Revision  Changes    Path
  1.4       +11 -9     jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Propfind_Semantics/LablSetPropf.xml
  
  Index: LablSetPropf.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Label_Feature/Additional_Propfind_Semantics/LablSetPropf.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LablSetPropf.xml	4 Nov 2002 13:22:11 -0000	1.3
  +++ LablSetPropf.xml	27 Aug 2003 10:49:06 -0000	1.4
  @@ -7,8 +7,8 @@
   		1) PUT command creates a file
   		2) VERSION-CONTROL command which puts the file under version control
   		3) LABEL command which gives a version a label.
  -		4) Proppatch command changes the value of the displayname property
  -		5) Propfind command attempts to get the value of the displayname property
  +		4) Proppatch command changes the value of the a property
  +		5) Propfind command attempts to get the value of the  property
   		</description>
   		<expectedResult>Propfind should return the property related to the version with the label</expectedResult>
   	</specification>
  @@ -84,23 +84,25 @@
   			<header>Cache-Control: no-cache</header>
   		</response>
   	</step>
  +	
  +	
   	<step>
   		<request>
  -			<command varUsage="userNumber,globalVariableCollection,globalVariableServerName">PROPPATCH /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
  +			<command varUsage="globalVariableCollection,globalVariableServerName">PROPPATCH /%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
   			<header>Content-Type: text/xml</header>
   			<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
   			<header>Accept-Language: en-us</header>
   			<header>Translate: f</header>
   			<header>Pragma: no-cache</header>
   			<header>Connection: close</header>
  -			<body><![CDATA[<?xml version="1.0" encoding="utf-8" ?><D:propertyupdate xmlns:D="DAV:" xmlns:R="http://www.com/"><D:set><D:prop><D:displayname>test</D:displayname></D:prop></D:set></D:propertyupdate>]]></body>
  +			<body><![CDATA[<?xml version="1.0" encoding="utf-8" ?><D:propertyupdate xmlns:D="DAV:" xmlns:R="http://www.com/"><D:set><D:prop><R:test>This is a Test</R:test></D:prop></D:set></D:propertyupdate>]]></body>
   		</request>
   		<response>
   			<command>HTTP/1.0 207 Multi-Status</command>
   			<header>Date: Tue, 13 Feb 2001 12:45:26 GMT+01:00</header>
   			<header>Content-Language: en</header>
   			<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
  -			<body varUsage="userNumber,globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?><d:multistatus xmlns:d="DAV"><d:response><d:href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</d:href><d:propstat><d:prop><displayname/></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>]]></body>
  +			<body varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?><d:multistatus xmlns:d="DAV" xmlns:R="http://www.com/"><d:response><d:href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</d:href><d:propstat><d:prop><R:test/></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>]]></body>
   		</response>
   	</step>
   	<step>
  @@ -113,20 +115,20 @@
   			<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
   			<header>Connection: Keep-Alive</header>
   			<header>label: test</header>
  -			<body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:displayname/></D:prop></D:propfind>]]></body>
  +			<body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:" xmlns:R="http://www.com/"><D:prop><R:test/></D:prop></D:propfind>]]></body>
   		</request>
   		<response>
   			<command>HTTP/1.0 207 Multi Status</command>
   			<header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
   			<body varUsage="VHR,globalVariableCollection,globalVariableServerName"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
  -<D:multistatus xmlns:D="DAV:">
  +<D:multistatus xmlns:D="DAV:" xmlns:R="http://www.com/">
         <D:response>
               <D:href>%VHR%</D:href>
               <D:propstat>
                     <D:prop>
  -                        <D:displayname>test.xml</D:displayname>
  +                        <R:test/>
                     </D:prop>
  -                  <D:status>HTTP/1.1 200 OK</D:status>
  +                  <D:status>HTTP/1.1 404 Not Found</D:status>
               </D:propstat>
         </D:response>
   </D:multistatus>]]></body>