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>&lt;?xml version="1.0" ?&gt;
     &lt;D:propertyupdate xmlns:D="DAV:"&gt;
        &lt;D:set&gt;
                &lt;D:prop&gt;
                        &lt;D:comment&gt;testingàçèéäöüÄÖÜ&lt;/D:comment&gt;
                &lt;/D:prop&gt;
        &lt;/D:set&gt;
        &lt;/D:propertyupdate&gt;</body>
                </request>
                <response>
                        <command>HTTP/1.0 207 Multi-Status</command>
                        
                        
                        <body 
varUsage="globalVariableCollection,globalVariableServerName">&lt;?xml version="1.0" 
encoding="utf-8" ?&gt;
     &lt;d:multistatus xmlns:d="DAV" xmlns:Z="DAVxxxx:" &gt;
     &lt;d:response&gt;
        
&lt;d:href&gt;/%globalVariableServerName%/%globalVariableCollection%/i18ndocàçèéäöüÄÖÜ.xml&lt;/d:href&gt;
                        
                
                &lt;d:propstat&gt;
                        &lt;d:prop&gt;
                                &lt;d:comment/&gt;
                        &lt;/d:prop&gt;
                &lt;d:status&gt;HTTP/1.1 200 OK&lt;/d:status&gt;
                &lt;/d:propstat&gt;
        
        &lt;/d:response&gt;
        &lt;/d:multistatus&gt;</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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to