wburrows 2004/12/07 12:43:44
Modified: testsuite/testsuite/junit/xmltestcases/functional/proppatch/code
PropPatchDeleteDAVPropertyWithPropFindOnContentLength.xml
Log:
Fix for defect 32483 which uses binary file for content length test instead
of text file.
Revision Changes Path
1.9 +8 -8
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/proppatch/code/PropPatchDeleteDAVPropertyWithPropFindOnContentLength.xml
Index: PropPatchDeleteDAVPropertyWithPropFindOnContentLength.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/proppatch/code/PropPatchDeleteDAVPropertyWithPropFindOnContentLength.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- PropPatchDeleteDAVPropertyWithPropFindOnContentLength.xml 16 Nov 2004
14:23:42 -0000 1.8
+++ PropPatchDeleteDAVPropertyWithPropFindOnContentLength.xml 7 Dec 2004
20:43:44 -0000 1.9
@@ -17,8 +17,8 @@
</specification>
<step>
<request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT
%globalVariableServerName%/%globalVariableCollection%/resource1.html
HTTP/1.1</command>
- <body fileReference="../../../contentDirectory/html.html" />
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/resource1.gif
HTTP/1.1</command>
+ <body fileReference="../../../contentDirectory/jim.graham.gif" />
</request>
<response>
<command>HTTP/1.0 201 Created</command>
@@ -26,7 +26,7 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">PROPPATCH
%globalVariableServerName%/%globalVariableCollection%/resource1.html
HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PROPPATCH
/%globalVariableServerName%/%globalVariableCollection%/resource1.gif
HTTP/1.1</command>
<header>Content-Type: text/xml</header>
<body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propertyupdate xmlns:D="DAV:" xmlns:Z="http://www.com/">
@@ -44,7 +44,7 @@
<body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<d:multistatus xmlns:d="DAV" xmlns:Z="DAVxxxx:">
<d:response>
-
<d:href>%globalVariableServerName%/%globalVariableCollection%/resource1.html</d:href>
+
<d:href>/%globalVariableServerName%/%globalVariableCollection%/resource1.gif</d:href>
<d:propstat>
<d:prop>
<d:getcontentlength />
@@ -60,7 +60,7 @@
</step>
<step>
<request>
- <command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND
%globalVariableServerName%/%globalVariableCollection%/resource1.html
HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/resource1.gif
HTTP/1.1</command>
<header>Content-Type: text/xml</header>
<header>Depth: 1</header>
<body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
@@ -77,10 +77,10 @@
<body
varUsage="globalVariableCollection,userNumber,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<multistatus xmlns="DAV:" xmlns:S="http://jakarta.apache.org/slide/">
<response>
-
<href>%globalVariableServerName%/%globalVariableCollection%/resource1.html</href>
+
<href>/%globalVariableServerName%/%globalVariableCollection%/resource1.gif</href>
<propstat>
<prop>
- <getcontentlength>1627</getcontentlength>
+ <getcontentlength>135211</getcontentlength>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
@@ -93,7 +93,7 @@
<cleanup>
<step>
<request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">DELETE
%globalVariableServerName%/%globalVariableCollection%/resource1.html
HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/resource1.gif
HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]