juergen 2002/10/11 02:21:29
Added: testsuite/testsuite/junit/xmltestcases/functional/configuration
removestore_DaslSearch_stores.xml
put_config_DaslSearch.xml
Log:
no message
Revision Changes Path
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/configuration/removestore_DaslSearch_stores.xml
Index: removestore_DaslSearch_stores.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Checks if the default stores for the dasl search 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%_DS.xml</command>
</request>
<response>
<command>HTTP/1.0 (204,404)</command>
</response>
</step>
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">DELETE
/%globalVariableServerName%/administration/configuration/%globalVariableCollection%_DS2.xml</command>
</request>
<response>
<command>HTTP/1.0 (204,404)</command>
</response>
</step>
</test>
1.1
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/configuration/put_config_DaslSearch.xml
Index: put_config_DaslSearch.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,globalVariableCollection"><![CDATA[<?xml version="1.0"
encoding="utf-8"?>
<!DOCTYPE configuration SYSTEM
"../etc/configuration.dtd">
<configuration namespace="taminowebdavserver">
<parameter
name="taminoBase">http://localhost/tamino</parameter>
<parameter name="database">%workdb%</parameter>
<parameter
name="collection">%globalVariableCollection%_DS</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,globalVariableCollection"><![CDATA[<?xml version="1.0"
encoding="utf-8"?>
<!DOCTYPE configuration SYSTEM
"../etc/configuration.dtd">
<configuration namespace="taminowebdavserver">
<parameter
name="taminoBase">http://localhost/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>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>