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 lu...@apache.org on 2004/08/17 16:35:21 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/copy/mix copyChangedProperties.xml
luetzkendorf 2004/08/17 07:35:21
Added: testsuite/testsuite/junit/xmltestcases/functional/copy/mix
copyChangedProperties.xml
Removed: testsuite/testsuite/junit/xmltestcases/functional/copy
copyChangedProperties.xml
Log:
moved
Revision Changes Path
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/copy/mix/copyChangedProperties.xml
Index: copyChangedProperties.xml
===================================================================
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract>Checks whether the display name and owner properties are updated
while copy</abstract>
<description>
1. put
2. copy to different "filename" (copy /xxx/a > /xxx/b)
3. check displayname is changed (to b)
</description>
<expectedResult>displayname has to be changed, owner has to be updated
(if authnetication is enabled)</expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/help-doc.html HTTP/1.1</command>
<body fileReference="../../../contentDirectory/html.html" />
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<user varUsage="user">%user%2</user>
<password varUsage="user">%user%2</password>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">COPY /%globalVariableServerName%/%globalVariableCollection%/help-doc.html HTTP/1.1</command>
<header varUsage="globalVariableCollection,globalVariableServerName">Destination: /%globalVariableServerName%/%globalVariableCollection%/copy.html</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step executeIn="Thread-5">
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/copy.html HTTP/1.1</command>
<header>Content-Type: text/xml</header>
<header>Depth: 1</header>
<body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:">
<prop>
<displayname />
<owner />
</prop>
</propfind>
]]></body>
</request>
<response>
<command>HTTP/1.1 207 Multi-Status</command>
<body varUsage="globalVariableCollection,globalVariableServerName,globalVariableUserPath"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<multistatus xmlns="DAV:" xmlns:S="http://jakarta.apache.org/slide/">
<response>
<href>/%globalVariableServerName%/%globalVariableCollection%/copy.html</href>
<propstat>
<prop>
<displayname>copy.html</displayname>
<owner><href>%globalVariableUserPath%2</href></owner>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>
]]></body>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/help-doc.html HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/copy.html HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
</test>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org