pnever 2003/09/03 23:29:52
Added: testsuite/testsuite/junit/xmltestcases/BIND/functional/VCR/UNEXPLAINED
VcrBindChoutUnchout.xml VcrBindChoutChin.xml
Removed: testsuite/testsuite/junit/xmltestcases/BIND/functional/VCR
VcrBindChoutUnchout.xml VcrBindChoutChin.xml
Log:
Moved
Revision Changes Path
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/BIND/functional/VCR/UNEXPLAINED/VcrBindChoutUnchout.xml
Index: VcrBindChoutUnchout.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test which checks that seconds version-history is different to
first. </abstract>
<description>
1) Create three collection, test1,test2,test3
2) Create test2.xml under test2
3) VERSION-CONTROL command which puts the file test2.xml under version
control
4) Report commmand which checks the version-history property
5) BIND command which binds test2.xml to test1, and test3
6) CHECKOUT command whichs check-out test2/test2.xml,
7) UNCHECKOUT test1/test2.xml
8) CHECKOUT command which checksout test1/test2.xml
9) CHECKIN command whichs check-in test3/test2.xml, a new version is
created
10) Delete command which deletes the resources created by test
</description>
<expectedResult> 2 report commands should return different version-history
properties </expectedResult>
</specification>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test1 HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test2 HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test3 HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test2/test2.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">VERSION-CONTROL
/%globalVariableServerName%/%globalVariableCollection%/test2/test2.xml
HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">BIND
/%globalVariableServerName%/%globalVariableCollection%/test1 HTTP/1.1</command>
<header>Overwrite: F</header>
<body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" ?>
<bind>
<segment>test2.xml</segment>
<href>/%globalVariableServerName%/%globalVariableCollection%/test2/test2.xml</href>
</bind>]]></body>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">BIND
/%globalVariableServerName%/%globalVariableCollection%/test3 HTTP/1.1</command>
<header>Overwrite: F</header>
<body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" ?>
<bind>
<segment>test2.xml</segment>
<href>/%globalVariableServerName%/%globalVariableCollection%/test2/test2.xml</href>
</bind>]]></body>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT
/%globalVariableServerName%/%globalVariableCollection%/test2/test2.xml
HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">REPORT
/%globalVariableServerName%/%globalVariableCollection%/test1/test2.xml
HTTP/1.1</command>
<body><![CDATA[<D:version-tree
xmlns:D="DAV:"><D:prop><D:version-history/></D:prop></D:version-tree>]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
<body varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="VH"
varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>*</href>
<propstat>
<prop>
<version-history>
<href>*</href>
</version-history>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH">PROPFIND
%VH%/1.0 HTTP/1.1</command>
<header>Depth: 1</header>
<body><![CDATA[<?xml version="1.0" ?><D:propfind
xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
<body varUsage="globalVariableCollection,globalVariableServerName,VH"
varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>*</href>
<propstat>
<prop>
<successor-set/>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">UNCHECKOUT
/%globalVariableServerName%/%globalVariableCollection%/test1/test2.xml
HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT
/%globalVariableServerName%/%globalVariableCollection%/test1/test2.xml
HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">CHECKIN
/%globalVariableServerName%/%globalVariableCollection%/test3/test2.xml
HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH">PROPFIND
%VH%/1.0 HTTP/1.1</command>
<header>Depth: 1</header>
<body><![CDATA[<?xml version="1.0" ?><D:propfind
xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
<body varUsage="globalVariableCollection,globalVariableServerName,VH,"
varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>*</href>
<propstat>
<prop>
<successor-set>
<href>%VH%/1.1</href>
</successor-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName,VH">DELETE
%VH% HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
<step>
<request>
<command
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test1 HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
<step>
<request>
<command
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test2 HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
<step>
<request>
<command
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test3 HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/BIND/functional/VCR/UNEXPLAINED/VcrBindChoutChin.xml
Index: VcrBindChoutChin.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test which checks that seconds version-history is different to
first. </abstract>
<description>
1) Create three collection, test1,test2,test3
2) Create test2.xml under test2
3) VERSION-CONTROL command which puts the file test2.xml under version
control
4) Report commmand which checks the version-history property
5) BIND command which binds test2.xml to test1, and test3
6) CHECKOUT command whichs check-out test2/test2.xml,
7) CHECKIN command whichs check-in test3/test2.xml, a new version is
created
8) Delete command which deletes the resources created by test
</description>
<expectedResult> 2 report commands should return different version-history
properties </expectedResult>
</specification>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test1 HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test2 HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test3 HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/test2/test2.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">VERSION-CONTROL
/%globalVariableServerName%/%globalVariableCollection%/test2/test2.xml
HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">BIND
/%globalVariableServerName%/%globalVariableCollection%/test1 HTTP/1.1</command>
<header>Overwrite: F</header>
<body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" ?>
<bind>
<segment>test2.xml</segment>
<href>/%globalVariableServerName%/%globalVariableCollection%/test2/test2.xml</href>
</bind>]]></body>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">BIND
/%globalVariableServerName%/%globalVariableCollection%/test3 HTTP/1.1</command>
<header>Overwrite: F</header>
<body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" ?>
<bind>
<segment>test2.xml</segment>
<href>/%globalVariableServerName%/%globalVariableCollection%/test2/test2.xml</href>
</bind>]]></body>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">CHECKOUT
/%globalVariableServerName%/%globalVariableCollection%/test2/test2.xml
HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">REPORT
/%globalVariableServerName%/%globalVariableCollection%/test1/test2.xml
HTTP/1.1</command>
<body><![CDATA[<D:version-tree
xmlns:D="DAV:"><D:prop><D:version-history/></D:prop></D:version-tree>]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
<body varUsage="globalVariableCollection,globalVariableServerName"
varDefinition="VH"
varPath="multistatus/response/propstat/prop/version-history/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>*</href>
<propstat>
<prop>
<version-history>
<href>*</href>
</version-history>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH">PROPFIND
%VH%/1.0 HTTP/1.1</command>
<header>Depth: 1</header>
<body><![CDATA[<?xml version="1.0" ?><D:propfind
xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
<body varUsage="globalVariableCollection,globalVariableServerName,VH"
varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>*</href>
<propstat>
<prop>
<successor-set/>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">CHECKIN
/%globalVariableServerName%/%globalVariableCollection%/test3/test2.xml
HTTP/1.1</command>
<header>Content-type: text/xml; charset="utf-8"</header>
</request>
<response>
<command>HTTP/1.1 201 Created</command>
<header>Cache-Control: no-cache</header>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName,VH">PROPFIND
%VH%/1.0 HTTP/1.1</command>
<header>Depth: 1</header>
<body><![CDATA[<?xml version="1.0" ?><D:propfind
xmlns:D="DAV:"><D:prop><D:successor-set/></D:prop></D:propfind>]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
<body varUsage="globalVariableCollection,globalVariableServerName,VH,"
varPath="multistatus/response/propstat/prop/successor-set/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>*</href>
<propstat>
<prop>
<successor-set>
<href>%VH%/1.1</href>
</successor-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>]]></body>
</response>
</step>
<step>
<request>
<command
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName,VH">DELETE
%VH% HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
<step>
<request>
<command
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test1 HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
<step>
<request>
<command
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test2 HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
<step>
<request>
<command
varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test3 HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
</test>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]