juergen 02/02/28 08:07:53
Added: testsuite/testsuite/junit/xmltestcases/functional/XML
multiplePutGets.xml
SchemaCreateTestDiffCollDifResource.xml
SchemaCreateTestIdentColDiffResource.xml
SchemaCreateTestIdentColIdentResource.xml
testsuite/testsuite/junit/xmltestcases/functional/XML/nonValid
nonvaildXml.xml nonvaildXmlExtraChar.xml
nonvaildXmlMCE.xml nonvaildXmlMCEE.xml
nonvaildXmlSComment.xml
testsuite/testsuite/junit/xmltestcases/functional/XML/valid
vaildXml.xml vaildXmlCComment.xml vaildXmlDTD.xml
vaildXmlMComment.xml vaildXmlNoProcessing.xml
vaildXmlNPComment.xml vaildXmlSComment.xml
vaildXmlSProcessingElement.xml vaildXmlTab.xml
vaildXmlUpdate.xml wellformedXml.xml
wellformedXmlAttr.xml
Log:
added XML centric test cases
Revision Changes Path
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/multiplePutGets.xml
Index: multiplePutGets.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract>3 user, update the same resource (PUT on existing
resource).</abstract>
<pre-Requisite>A collection exists and is defined in
TProcessor.cmd.</pre-Requisite>
<description>
1)PUT command followed by a GET command carried out 3 times to the same file.
2)File is deleated.
</description>
<expectedResult>Each users may be able to successfully carry
out a PUT command followed by a GET command.</expectedResult>
</specification>
<step>
<request>
<command varUsage
="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/lock.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body fileReference="../../contentDirectory/validXML.xm1" />
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet
2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/lock.xml HTTP/1.1
HTTP/1.1</command>
<header>Accept: */*</header>
<header>Accept-Language: en-us</header>
<header>Accept-Encoding: gzip, deflate</header>
<header>User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
<header>Content-Type: text/xml</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
<body varUsage="globalVariableXMLReference"
fileReference="../../contentDirectory/%globalVariableXMLReference%validXML.xm1">
</body>
</response>
</step>
<step>
<request>
<command varUsage
="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/lock.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body fileReference="../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 (201,204) Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet
2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/lock.xml HTTP/1.1
HTTP/1.1</command>
<header>Accept: */*</header>
<header>Accept-Language: en-us</header>
<header>Accept-Encoding: gzip, deflate</header>
<header>User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
<header>Content-Type: text/xml</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
<body varUsage="globalVariableXMLReference"
fileReference="../../contentDirectory/%globalVariableXMLReference%validXML.xm1">
</body>
</response>
</step>
<step>
<request>
<command varUsage
="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/help-doc.html HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body fileReference="../../contentDirectory/validXML.xm1">
</body>
</request>
<response>
<command>HTTP/1.0 (201,204) Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet
2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">GET
/%globalVariableServerName%/%globalVariableCollection%/help-doc.html</command>
<header>Accept: */*</header>
<header>Accept-Language: en-us</header>
<header>Accept-Encoding: gzip, deflate</header>
<header>User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 200 OK</command>
<header>Content-Type: text/html</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
<body varUsage="globalVariableXMLReference"
fileReference="../../contentDirectory/%globalVariableXMLReference%validXML.xm1">
</body>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/help-doc.html HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Wed, 14 Mar 2001 15:46:01 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/lock.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Wed, 14 Mar 2001 15:46:01 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/SchemaCreateTestDiffCollDifResource.xml
Index: SchemaCreateTestDiffCollDifResource.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract>n user, simultaneously, perform the same request
to there own created collections.</abstract>
<pre-Requisite>A collection has been created and defined in
tprocessor.cmd.</pre-Requisite>
<description>
1)Create n different collections for n users.
2)Start n threads for user 1..n
3)PUT command carried out n times, by all n users, to their
corresponding collections.
4)Delete all created collections and resources.
</description>
<expectedResult>
All users should be able to successfully carry out a PUT command
whilst
other users are carrying out the same command on their own collections.
In Tamino a Schema should be created for each successful PUT command
carried out.
</expectedResult>
</specification>
<step>
<request>
<command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
<step>
<request>
<command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
</repeater>
<repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
<thread>
<repeater varUsage="globalVariableIterationCount"
repeatCount="%globalVariableIterationCount%">
<step>
<user varUsage="userNumber">user%userNumber%</user>
<password varUsage="userNumber">user%userNumber%</password>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName,repeatCounter">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/user%userNumber%/%repeatCounter%.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet
Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body varUsage="repeatCounter">
<SchemaCreateTest%repeatCounter%>
mini
</SchemaCreateTest%repeatCounter%>
</body>
</request>
<response>
<command>HTTP/1.0 (201,204,409) OK</command>
<header>Date: Mon, 12 Mar 2001 17:21:35
GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4
(JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
</repeater>
</thread>
</repeater>
<cleanup>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Mon, 19 Mar 2001 16:49:09 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</cleanup>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/SchemaCreateTestIdentColDiffResource.xml
Index: SchemaCreateTestIdentColDiffResource.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract>n user, simultaneously, perform the same request
to there own created collections.</abstract>
<pre-Requisite>A collection has been created and defined in
tprocessor.cmd.</pre-Requisite>
<description>
1)Start n threads for user 1..n
2)PUT command carried out n times, by all n users, to the same
collection.
3)Delete all created collections and resources.
</description>
<expectedResult>All users should be able to successfully carry
out a PUT command whilst other users are carrying out the same
command on their own collections.</expectedResult>
</specification>
<step>
<request>
<command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
<thread>
<repeater varUsage="globalVariableIterationCount"
repeatCount="%globalVariableIterationCount%">
<step>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName,repeatCounter">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/%userNumber%%repeatCounter%.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet
Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body varUsage="userNumber,repeatCounter">
<SchemaCreateTest%userNumber%%repeatCounter%>
mini
</SchemaCreateTest%userNumber%%repeatCounter%>
</body>
</request>
<response>
<command>HTTP/1.0 (201,204,409) OK</command>
<header>Date: Mon, 12 Mar 2001 17:21:35
GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4
(JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
</repeater>
</thread>
</repeater>
<cleanup>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Mon, 19 Mar 2001 16:49:09 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</cleanup>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/SchemaCreateTestIdentColIdentResource.xml
Index: SchemaCreateTestIdentColIdentResource.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract>n user, simultaneously, perform the same request
to there own created collections.</abstract>
<pre-Requisite>A collection has been created and defined in
tprocessor.cmd.</pre-Requisite>
<description>
1)Start n threads for user 1..n
2)PUT command carried out n times, by all n users, to the same file.
3)Delete all created collections and resources.
</description>
<expectedResult>All users should be able to successfully carry
out a PUT command whilst other users are carrying out the same
command on their own collections.</expectedResult>
</specification>
<step>
<request>
<command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">MKCOL
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Wed, 21 Feb 2001 12:55:57 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<repeater varUsage="globalVariableUsers" varDefinition="userNumber"
repeatCount="%globalVariableUsers%">
<thread>
<repeater varUsage="globalVariableIterationCount"
repeatCount="%globalVariableIterationCount%">
<step>
<user varUsage="userNumber">user%userNumber%</user>
<password varUsage="userNumber">user%userNumber%</password>
<request>
<command
varUsage="globalVariableCollection,userNumber,globalVariableServerName,repeatCounter">PUT
/%globalVariableServerName%/%globalVariableCollection%/test/test.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet
Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body varUsage="repeatCounter">
<SchemaCreateTest%repeatCounter%>
mini
</SchemaCreateTest%repeatCounter%>
</body>
</request>
<response>
<command>HTTP/1.0 (201,204,409) OK</command>
<header>Date: Mon, 12 Mar 2001 17:21:35
GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4
(JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
</repeater>
</thread>
</repeater>
<cleanup>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/test HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Mon, 19 Mar 2001 16:49:09 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</cleanup>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/nonValid/nonvaildXml.xml
Index: nonvaildXml.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is not valid, in one of elements ">" is missing
</abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a non-valid xml file
in testcoll </description>
<expectedResult> result won't be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><Root_attributedSequence1><id></id><seq
seqAttrib="x"><a</a><b bAttrib="bAttrib default
value"></b><c></c></seq></Root_attributedSequence1>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/nonValid/nonvaildXmlExtraChar.xml
Index: nonvaildXmlExtraChar.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is not valid, at the end of file there is extra char
</abstract>
<pre-Requisite> the schema for valid xml file should exist in tamino</pre-Requisite>
<description>The test case consist of following steps: puts a non-valid xml file in
testcoll </description>
<expectedResult> result won't be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><Root_attributedSequence1><id></id><seq
seqAttrib="x"><a></a><b bAttrib="bAttrib default
value"></b><c></c></seq></Root_attributedSequence1>
xxxx
]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/nonValid/nonvaildXmlMCE.xml
Index: nonvaildXmlMCE.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is not valid, in one of elements closing tag is missing
</abstract>
<pre-Requisite> the schema for valid xml file should exist in tamino
</pre-Requisite>
<description> The test case consist of following steps: puts a non-valid xml file
in testcoll </description>
<expectedResult> result won't be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><Root_attributedSequence1><id></id><seq
seqAttrib="x"><a></a><b bAttrib="bAttrib default
value"></b><c></seq></Root_attributedSequence1>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/nonValid/nonvaildXmlMCEE.xml
Index: nonvaildXmlMCEE.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is not valid, in root elements closing tag is missing
</abstract>
<pre-Requisite> the schema for valid xml file should exist in tamino
</pre-Requisite>
<description> The test case consist of following steps: puts a non-valid xml file
in testcoll </description>
<expectedResult> result won't be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><Root_attributedSequence1><id></id><seq
seqAttrib="x"><a></a><b bAttrib="bAttrib default value"></b><c></c></seq>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/nonValid/nonvaildXmlSComment.xml
Index: nonvaildXmlSComment.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is non-valid XML file, with comment line at top of xml file
with processing element </abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a valid xml file in
testcoll </description>
<expectedResult> result will not be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<!-- This is a comment text --><?xml
version="1.0"?><Root_attributedSequence1><id></id><seq seqAttrib="x"><a></a><b
bAttrib="bAttrib default value"></b><c></c></seq></Root_attributedSequence1>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/valid/vaildXml.xml
Index: vaildXml.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is valid XML file </abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a valid xml file in
%globalVariableCollection% </description>
<expectedResult> result will be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><Root_attributedSequence1><id></id><seq
seqAttrib="x"><a></a><b bAttrib="bAttrib default
value"></b><c></c></seq></Root_attributedSequence1>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/valid/vaildXmlCComment.xml
Index: vaildXmlCComment.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is a comment text -->
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is valid XML file, with comment line between an
element</abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a valid xml file in
%globalVariableCollection% </description>
<expectedResult> result will be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><!-- This is a comment text with --><!-- This is
a comment text --><Root_attributedSequence1> <!-- This is a comment text
--><id></id><seq seqAttrib="x"><a>this is simple <!-- This is a comment text with
--></a><b bAttrib="bAttrib default
value"></b><c></c></seq></Root_attributedSequence1><!-- This is a comment text -->]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/valid/vaildXmlDTD.xml
Index: vaildXmlDTD.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is valid XML file, but it contains the reference to
dtd</abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a valid xml file in
%globalVariableCollection% </description>
<expectedResult> result will be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><!DOCTYPE Root_attributedSequence1 SYSTEM
"../../../../dtd/basic/valid/attributedSequence1.dtd"><Root_attributedSequence1><id></id><seq
seqAttrib="x"><a></a><b bAttrib="bAttrib default value"></b><b bAttrib="bAttrib
default value"></b><b bAttrib="bAttrib default value"></b><b bAttrib="bAttrib default
value"></b><b bAttrib="bAttrib default value"></b><b bAttrib="bAttrib default
value"></b><b bAttrib="bAttrib default value"></b><b bAttrib="bAttrib default
value"></b><b bAttrib="bAttrib default value"></b><b bAttrib="bAttrib default
value"></b><b bAttrib="bAttrib default
value"></b><c></c></seq></Root_attributedSequence1>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/valid/vaildXmlMComment.xml
Index: vaildXmlMComment.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is a comment text -->
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is valid XML file, with comment line containing greater and
smaller sign</abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a valid xml file in
%globalVariableCollection% </description>
<expectedResult> result will be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><!-- This is a comment text with <this sign>
--><!-- This is a comment text --><Root_attributedSequence1> <!-- This is a comment
text --><id></id><seq seqAttrib="x"><a></a><b bAttrib="bAttrib default
value"></b><c></c></seq></Root_attributedSequence1><!-- This is a comment text -->]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/valid/vaildXmlNoProcessing.xml
Index: vaildXmlNoProcessing.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is valid XML file, but processing element missing
</abstract>
<pre-Requisite> In header of second copy method, the overwrite option must be set
to f (that is false)</pre-Requisite>
<description> The test case consist of following steps (unnecessary step like
propfind, head are not mentioned): puts a xml file in a directory, copies it into
another directory, and deletes the file from both directories. </description>
<expectedResult> Status code returned by second Copy Method must return 201 created
</expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<Root_attributedSequence1><id></id><seq seqAttrib="x"><a></a><b
bAttrib="bAttrib default value"></b><c></c></seq></Root_attributedSequence1>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/valid/vaildXmlNPComment.xml
Index: vaildXmlNPComment.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is valid XML file, with comment line at different places
and no processing element, the Xml file starts with comment</abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a valid xml file in
%globalVariableCollection% </description>
<expectedResult> result will be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<!-- This is a comment text --><Root_attributedSequence1><id></id><seq
seqAttrib="x"><a></a><b bAttrib="bAttrib default
value"></b><c></c></seq></Root_attributedSequence1>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/valid/vaildXmlSComment.xml
Index: vaildXmlSComment.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is a comment text -->
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is valid XML file, with comment line at different places
</abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a valid xml file in
%globalVariableCollection% </description>
<expectedResult> result will be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><!-- This is a comment text
--><Root_attributedSequence1> <!-- This is a comment text --><id></id><seq
seqAttrib="x"><a></a><b bAttrib="bAttrib default
value"></b><c></c></seq></Root_attributedSequence1><!-- This is a comment text -->]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/valid/vaildXmlSProcessingElement.xml
Index: vaildXmlSProcessingElement.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is valid XML file, containing simple processing element
</abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a valid xml file in
%globalVariableCollection% </description>
<expectedResult> result will be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><?test and I can write whatever I like
here?><Root_attributedSequence1><id></id><seq seqAttrib="x"><a></a><b bAttrib="bAttrib
default value"></b><c></c></seq></Root_attributedSequence1>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/valid/vaildXmlTab.xml
Index: vaildXmlTab.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is valid XML file, at the end of file there is Tab and line
break</abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a valid xml file in
%globalVariableCollection% </description>
<expectedResult> result will be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><Root_attributedSequence1><id></id><seq
seqAttrib="x"><a></a><b bAttrib="bAttrib default
value"></b><c></c></seq></Root_attributedSequence1>
]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/valid/vaildXmlUpdate.xml
Index: vaildXmlUpdate.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is valid XML file, and is updated with a valid xml
file</abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a valid xml file in
%globalVariableCollection% </description>
<expectedResult> result will be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><Root_attributedSequence1><id></id><seq
seqAttrib="x"><a></a><b bAttrib="bAttrib default value"></b><b bAttrib="bAttrib
default value"></b><b bAttrib="bAttrib default value"></b><b bAttrib="bAttrib default
value"></b><b bAttrib="bAttrib default value"></b><b bAttrib="bAttrib default
value"></b><b bAttrib="bAttrib default value"></b><b bAttrib="bAttrib default
value"></b><b bAttrib="bAttrib default value"></b><b bAttrib="bAttrib default
value"></b><b bAttrib="bAttrib default
value"></b><c></c></seq></Root_attributedSequence1>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/valid/wellformedXml.xml
Index: wellformedXml.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is wellformed, but it not valid, one of elements existing
in schema missing</abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a valid xml file in
%globalVariableCollection% </description>
<expectedResult> result will not be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><Root_attributedSequence1><id></id><seq
seqAttrib="x"><b bAttrib="bAttrib default
value"></b><c></c></seq></Root_attributedSequence1>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/XML/valid/wellformedXmlAttr.xml
Index: wellformedXmlAttr.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> The xml file is wellformed, but it not valid, extra elements and
attribute exist in file</abstract>
<pre-Requisite>the schema for valid xml file should exist in tamino</pre-Requisite>
<description> The test case consist of following steps: puts a valid xml file in
%globalVariableCollection% </description>
<expectedResult> result will not be stored in tamino </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
<body>
<![CDATA[<?xml version="1.0"?><Root_attributedSequence1><id></id><seq
seqAttrib="x"><l lAttrib="lAttrib default value">this is a test</l><b bAttrib="bAttrib
default value"></b><c></c></seq></Root_attributedSequence1>]]>
</body>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
<header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/%globalVariableCollection%/attributedSequence1_1.xml
HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Destroy: NoUndelete</header>
<header>Translate: f</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider
DAV</header>
<header>Connection: Keep-Alive</header>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
<header>Date: Tue, 13 Feb 2001 17:14:41 GMT+01:00</header>
<header>Content-Language: en</header>
<header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1; Servlet 2.2; Java
1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
</response>
</step>
</test>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>