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/09/24 14:07:44 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/DeltaV/functional/Basic_Versioning_semantics VcPropfchin_BOM_en.xml
juergen 2002/09/24 05:07:44
Added: testsuite/testsuite/junit/xmltestcases/I18N/DeltaV/functional/Basic_Versioning_semantics
VcPropfchin_BOM_en.xml
Log:
sample test with UTF-8 BOM
Revision Changes Path
1.1 jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/DeltaV/functional/Basic_Versioning_semantics/VcPropfchin_BOM_en.xml
Index: VcPropfchin_BOM_en.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
<specification>
<abstract> Test to check if checked-in resource updates when resource is modified </abstract>
<description>
2) PUT command creates a file (i18n resourcename)
3) VERSION-CONTROL command which puts the file under version control
4) Propfind command which checks the checked-in property
5) Put command which modifies version controlled resource
6) Propfind command which checks the checked-in property has been updated
</description>
<expectedResult> Checked-in resource should point to new version </expectedResult>
</specification>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PUT /%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.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/I18N/schema_en/ISO-8859-1/none/inst_table_nonei18n_iso-8859-1UE.xm1" fileEncoding="ISO-8859-1"/>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">VERSION-CONTROL /%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.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">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Content-Type: text/xml</header>
<header>Translate: f</header>
<header>Depth: 1</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-in/></D:prop></D:propfind>]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
<header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
<body varUsage="globalVariableCollection,VHR,globalVariableServerName" varDefinition="VHR" varPath="multistatus/response/propstat/prop/checked-in/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.xml</href>
<propstat>
<prop>
<checked-in>
<href>%VHR%</href>
</checked-in>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>]]></body>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,globalVariableServerName">PROPPATCH /%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.xml HTTP/1.1</command>
<body><?xml version="1.0" ?>
<D:propertyupdate xmlns:D="DAV:">
<D:set>
<D:prop>
<D:comment>testingàçèéäöüÄÖÜ</D:comment>
</D:prop>
</D:set>
</D:propertyupdate></body>
</request>
<response>
<command>HTTP/1.0 207 Multi-Status</command>
<body varUsage="globalVariableCollection,globalVariableServerName"><?xml version="1.0" encoding="utf-8" ?>
<d:multistatus xmlns:d="DAV" xmlns:Z="DAVxxxx:" >
<d:response>
<d:href>/%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.xml</d:href>
<d:propstat>
<d:prop>
<d:comment/>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
</d:multistatus></body>
</response>
</step>
<step>
<request>
<command varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND /%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Content-Type: text/xml</header>
<header>Translate: f</header>
<header>Depth: 1</header>
<header>User-Agent: Microsoft Data Access Internet Publishing Provider DAV</header>
<header>Connection: Keep-Alive</header>
<body><![CDATA[<?xml version="1.0" ?><D:propfind xmlns:D="DAV:"><D:prop><D:checked-in/></D:prop></D:propfind>]]></body>
</request>
<response>
<command>HTTP/1.0 207 Multi Status</command>
<body varUsage="globalVariableCollection,VHR,globalVariableServerName" varDefinition="VHR" varPath="multistatus/response/propstat/prop/checked-in/href"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.xml</href>
<propstat>
<prop>
<checked-in>
<href>%VHR%</href>
</checked-in>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>]]></body>
</response>
</step>
<cleanup>
<step>
<request>
<command varUsage="repeatCounter,globalVariableCollection,globalVariableServerName">DELETE /%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.xml HTTP/1.1</command>
</request>
<response>
<command>HTTP/1.0 204 No Content</command>
</response>
</step>
</cleanup>
</test>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>