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 ju...@apache.org on 2002/11/12 10:22:07 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/configuration put_config_webdav_stores.xml removestore_webdav_stores.xml
juergen 2002/11/12 01:22:06
Added: testsuite/testsuite/junit/xmltestcases/configuration
put_config_webdav_stores.xml
removestore_webdav_stores.xml
Log:
moved from functional test area.
Revision Changes Path
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/configuration/put_config_webdav_stores.xml
Index: put_config_webdav_stores.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if the default stores for the webdav test suite can be created. After running this test the webDAV server needs to be restarted</abstract>
<description> The test case consist of following steps: PUTs a configuration file into administration/configuration directory</description>
<expectedResult> Status code returned by Put Method must be 201 Created/Changed to 204 in order to run it repeatedly</expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/administration/configuration/%globalVariableCollection%.xml</command>
<body varUsage="workdb,workhost,globalVariableCollection"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE configuration SYSTEM "../etc/configuration.dtd">
<configuration namespace="taminowebdavserver">
<parameter name="taminoBase">http://%workhost%/tamino</parameter>
<parameter name="database">%workdb%</parameter>
<parameter name="collection">%globalVariableCollection%</parameter>
<parameter name="allowNonXML">true</parameter>
<parameter name="autoCreateXmlSchema">true</parameter>
</configuration>
]]>
</body>
</request>
<response>
<command>HTTP/1.0 (201,204)</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/administration/configuration/%globalVariableCollection%_secondCollection.xml</command>
<body varUsage="workdb,workhost,globalVariableCollection"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE configuration SYSTEM "../etc/configuration.dtd">
<configuration namespace="taminowebdavserver">
<parameter name="taminoBase">http://%workhost%/tamino</parameter>
<parameter name="database">%workdb%</parameter>
<parameter name="collection">%globalVariableCollection%_secondCollection</parameter>
<parameter name="allowNonXML">true</parameter>
<parameter name="autoCreateXmlSchema">true</parameter>
</configuration>
]]>
</body>
</request>
<response>
<command>HTTP/1.0 (201,204)</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/administration/configuration/%globalVariableCollection%_2.xml</command>
<body varUsage="workdb,workhost,globalVariableCollection"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE configuration SYSTEM "../etc/configuration.dtd">
<configuration namespace="taminowebdavserver">
<parameter name="taminoBase">http://%workhost%/tamino</parameter>
<parameter name="database">%workdb%</parameter>
<parameter name="collection">%globalVariableCollection%_DS2</parameter>
<parameter name="allowNonXML">true</parameter>
<parameter name="autoCreateXmlSchema">true</parameter>
<parameter name="basicQueryClass">org.apache.slide.search.basic.BasicQueryImpl</parameter>
</configuration>
]]>
</body>
</request>
<response>
<command>HTTP/1.0 (201,204)</command>
</response>
</step>
</test>
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/configuration/removestore_webdav_stores.xml
Index: removestore_webdav_stores.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if the default stores for the webdav test suite can be created. After running this test the webDAV server needs to be restarted</abstract>
<description> The test case consist of following steps: PUTs a configuration file into administration/configuration directory</description>
<expectedResult> Status code returned by Put Method must be 201 Created/Changed to 204 in order to run it repeatedly</expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/administration/configuration/%globalVariableCollection%.xml</command>
</request>
<response>
<command>HTTP/1.0 (204,404)</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/administration/configuration/%globalVariableCollection%_secondCollection.xml</command>
</request>
<response>
<command>HTTP/1.0 (204,404)</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/administration/configuration/%globalVariableCollection%_2.xml</command>
</request>
<response>
<command>HTTP/1.0 (204,404)</command>
</response>
</step>
</test>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>