juergen 2003/11/15 05:35:42
Modified: testsuite/testsuite/junit/xmltestcases/DASL/functional/misc
searchPropfindAllProp.xml
Log:
Added modificationdate to allProp.
Revision Changes Path
1.4 +60 -59
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/misc/searchPropfindAllProp.xml
Index: searchPropfindAllProp.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/misc/searchPropfindAllProp.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- searchPropfindAllProp.xml 4 Nov 2003 08:50:47 -0000 1.3
+++ searchPropfindAllProp.xml 15 Nov 2003 13:35:42 -0000 1.4
@@ -1,49 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
- <specification>
- <abstract> Check all properites received in PROPFIND and SEARCH</abstract>
- <pre-Requisite>A collection has been created and defined in
tprocessor.cmd.</pre-Requisite>
- <description>
+ <specification>
+ <abstract> Check all properites received in PROPFIND and
SEARCH</abstract>
+ <pre-Requisite>A collection has been created and defined in
tprocessor.cmd.</pre-Requisite>
+ <description>
1) A resource is Put on to the Server.
2) PropFind with allProp.
3) A Search is performed to find all properties.
4) The resource and associated history is deleted.
</description>
- <expectedResult>The expected properties are received.</expectedResult>
- </specification>
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName"> MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
- <step>
- <request>
- <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/test.xml HTTP/1.1</command>
- <body fileReference="../../../contentDirectory/validXML.xm1" />
- </request>
- <response>
- <command>HTTP/1.0 201 Created</command>
- </response>
- </step>
- <step>
- <request>
- <command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test/test.xml HTTP/1.1</command>
- <header>Content-Type: text/xml</header>
- <header>Depth: 1</header>
- <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
+ <expectedResult>The expected properties are received.</expectedResult>
+ </specification>
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName"> MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/test.xml HTTP/1.1</command>
+ <body fileReference="../../../contentDirectory/validXML.xm1"/>
+ </request>
+ <response>
+ <command>HTTP/1.0 201 Created</command>
+ </response>
+ </step>
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test/test.xml HTTP/1.1</command>
+ <header>Content-Type: text/xml</header>
+ <header>Depth: 1</header>
+ <body><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<D:propfind xmlns:D="DAV:">
<D:allprop />
</D:propfind>
]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi-Status</command>
- <body varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="testresourcecontentlength"
varPath="multistatus/response/propstat/prop/getcontentlength"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi-Status</command>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="testresourcecontentlength"
varPath="multistatus/response/propstat/prop/getcontentlength"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test.xml</D:href>
@@ -69,15 +69,16 @@
</D:supportedlock>
<D:source />
<xsv:isXml
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">true</xsv:isXml>
- <D:creationdate>2002-08-07T15:28:11Z</D:creationdate>
+ <D:creationdate>*</D:creationdate>
<D:lockdiscovery />
+ <D:modificationdate>*</D:modificationdate>
<D:getcontentlength>*</D:getcontentlength>
<D:getcontenttype>text/xml</D:getcontenttype>
<D:getcontentlanguage>en</D:getcontentlanguage>
<D:resourcetype />
<xsv:xdavContentId
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">*</xsv:xdavContentId>
- <D:getlastmodified>Wed, 07 Aug 2002 15:28:11 GMT</D:getlastmodified>
- <D:getetag>-732535229_48563_1349</D:getetag>
+ <D:getlastmodified>*</D:getlastmodified>
+ <D:getetag>*</D:getetag>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
@@ -85,12 +86,12 @@
</D:multistatus>
]]></body>
- </response>
- </step>
- <step>
- <request>
- <command varUsage="globalVariableServerName">SEARCH
/%globalVariableServerName% HTTP/1.1</command>
- <body varUsage="globalVariableCollection"><![CDATA[<?xml version="1.0"
encoding="utf-8"?>
+ </response>
+ </step>
+ <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>
@@ -105,10 +106,10 @@
</searchrequest>
]]></body>
- </request>
- <response>
- <command>HTTP/1.0 207 Multi-Status</command>
- <body varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="testresourcecheckout"
varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi-Status</command>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="testresourcecheckout"
varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml
version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test/test.xml</D:href>
@@ -139,6 +140,7 @@
<D:getcontentlength>*</D:getcontentlength>
<D:getcontenttype>text/xml</D:getcontenttype>
<D:getcontentlanguage>en</D:getcontentlanguage>
+ <D:modificationdate>*</D:modificationdate>
<D:resourcetype />
<xsv:xdavContentId
xmlns:xsv="http://namespaces.softwareag.com/tamino/webdav">*</xsv:xdavContentId>
<D:getlastmodified>Mon, 12 Aug 2002 08:41:05 GMT</D:getlastmodified>
@@ -150,17 +152,16 @@
</D:multistatus>
]]></body>
- </response>
- </step>
- <cleanup>
- <step>
- <request>
- <command varUsage="globalVariableCollection,globalVariableServerName">
DELETE /%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
- </request>
- <response>
- <command>HTTP/1.0 204 No Content</command>
- </response>
- </step>
- </cleanup>
+ </response>
+ </step>
+ <cleanup>
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,globalVariableServerName"> DELETE
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 204 No Content</command>
+ </response>
+ </step>
+ </cleanup>
</test>
-
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]