wburrows 2004/12/06 15:01:48
Modified: testsuite/testsuite/junit/xmltestcases/functional/proppatch/code
Tag: SLIDE_2_1_RELEASE_BRANCH
PropPatchDeleteDAVPropertyWithPropFindOnContentLength.xml
Log:
Fix for defect 32483 which uses binary file for content length test instead
of text file.
Revision Changes Path
No revision
No revision
1.7.6.1 +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.7
retrieving revision 1.7.6.1
diff -u -r1.7 -r1.7.6.1
--- PropPatchDeleteDAVPropertyWithPropFindOnContentLength.xml 3 Nov 2003
19:22:21 -0000 1.7
+++ PropPatchDeleteDAVPropertyWithPropFindOnContentLength.xml 6 Dec 2004
23:01:48 -0000 1.7.6.1
@@ -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]