[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-dev
Subject:    cvs commit: jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/DASL displayName_collection_zh
From:       juergen () apache ! org
Date:       2002-10-25 8:46:34
[Download RAW message or body]

juergen     2002/10/25 01:46:34

  Added:       testsuite/testsuite/junit/xmltestcases/I18N/DASL
                        displayName_collection_zh.xml
                        displayName_collection_ja.xml
                        displayName_collection_en.xml
  Log:
  collection test
  
  Revision  Changes    Path
  1.1                  \
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/DASL/displayName_collection_zh.xml
  
  Index: displayName_collection_zh.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
  <test>
  	<specification>
  		<abstract> Search for specified Properties on resources where the displayname \
matches a specified string. </abstract>  <pre-Requisite>localVariableCollection has \
been created and defined in tprocessor.cmd.</pre-Requisite>  <description>
  		1) A resource is Put on to the Server. The displayname property matches the one \
being sought.  2) A second resource is Put to the Server. The properties of this file \
should NOT be returned as its displayname property  does not match the specified \
string.  3) A Search is performed. The specified properties are only returned where \
the displayname property matches the  string 'test.xml'. Case sensitivity is not \
stated.  4) The resources are deleted.
  		</description>
  		<expectedResult>A 207 Multi-Status response code should be returned by the \
Search.   Within the body the requested properties should be returned for the first \
file 'test.xml' only.   This is the only resource where the displayname property is \
'test.xml'.  The first two properties should be discovered with a 200 OK response \
code,  the third property 'test' does not exist and should return a 404 Not Found \
error response code.  </expectedResult>
  	</specification>
  	<step>
  		<assign varDefinition="localVariableCollection">即可顯示Big5</assign>
  		<request>
  			<command varUsage="userNumber,localVariableCollection,globalVariableServerName">PUT \
/%globalVariableServerName%/%localVariableCollection%/i18ndoc即可顯示utf8.xml \
                HTTP/1.1</command>
  			<body fileReference="../../contentDirectory/I18N/schema_zh/UTF-8/attribute/inst3_table_attributei18n_utf-8NP.xm1" \
fileEncoding="UTF-8"/>  </request>
  		<response>
  			<command>HTTP/1.0 201 Created</command>
  		</response>
  	</step>
  	<step>
  		<request>
  			<command varUsage="userNumber,localVariableCollection,globalVariableServerName">PUT \
                /%globalVariableServerName%/%localVariableCollection%/test.xml \
                HTTP/1.1</command>
  			<body fileReference="../../contentDirectory/I18N/schema_zh/UTF-8/attribute/inst3_table_attributei18n_utf-8NP.xm1" \
fileEncoding="UTF-8"/>  </request>
  		<response>
  			<command>HTTP/1.0 201 Created</command>
  		</response>
  	</step>
  	<step>
  		<request>
  			<command varUsage="globalVariableServerName">SEARCH /%globalVariableServerName% \
                HTTP/1.1</command>
  			<body varUsage="localVariableCollection,globalVariableServerName"><![CDATA[<?xml \
version="1.0" encoding="UTF-8"?>  <searchrequest xmlns:D="DAV:">
  							<D:basicsearch>
  								<D:select>
    									<D:prop>
      										<D:displayname/>
      										<D:getcontenttype/>
      										<D:test/>
    									</D:prop>
  								</D:select>
  								<D:from>
    									<D:scope>
      										<D:href>/%globalVariableServerName%/%localVariableCollection%/</D:href>
  </D:scope>
  								</D:from>
  								<D:where>
    									<D:eq>
      										<D:prop>
        											<D:displayname/>
      										</D:prop>
    										<D:literal>i18ndoc即可顯示utf8.xml</D:literal>
    									</D:eq>
  								</D:where>
  							</D:basicsearch>
  						</searchrequest>
  					]]></body>
  		</request>
  		<response>
  			<command>HTTP/1.0 207 Multi-Status</command>
  			<body varUsage="globalVariableServerName,localVariableCollection"><![CDATA[<?xml \
version="1.0" encoding="UTF-8"?>  <D:multistatus xmlns:D="DAV:">
  							<D:response>
  							<D:href>/%globalVariableServerName%/%localVariableCollection%/i18ndoc即可顯示utf8.xml</D:href>
  <D:propstat>
  									<D:prop>
  										<D:displayname>i18ndoc即可顯示utf8.xml</D:displayname>
  										<D:getcontenttype>text/xml</D:getcontenttype>
  									</D:prop>
  									<D:status>HTTP/1.1 200 OK</D:status>
  								</D:propstat>
  								<D:propstat>
  									<D:prop>
  										<D:test />
  									</D:prop>
  									<D:status>HTTP/1.1 404 Not Found</D:status>
  								</D:propstat>
  							</D:response>
  						</D:multistatus>
     				]]></body>
  		</response>
  	</step>
  	<cleanup>
  		<step>
  			<request>
  				<command varUsage="localVariableCollection,globalVariableServerName"> DELETE \
/%globalVariableServerName%/%localVariableCollection%/i18ndoc即可顯示utf8.xml \
HTTP/1.1</command>  </request>
  			<response>
  				<command>HTTP/1.0 204 No Content</command>
  			</response>
  		</step>
  		<step>
  			<request>
  				<command varUsage="localVariableCollection,globalVariableServerName"> DELETE \
/%globalVariableServerName%/%localVariableCollection%/test.xml HTTP/1.1</command>  \
</request>  <response>
  				<command>HTTP/1.0 204 No Content</command>
  			</response>
  		</step>
  	</cleanup>
  </test>
  
  
  
  1.1                  \
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/DASL/displayName_collection_ja.xml
  
  Index: displayName_collection_ja.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
  <test>
  	<specification>
  		<abstract> Search for specified Properties on resources where the displayname \
matches a specified string. </abstract>  <pre-Requisite>localVariableCollection has \
been created and defined in tprocessor.cmd.</pre-Requisite>  <description>
  		1) A resource is Put on to the Server. The displayname property matches the one \
being sought.  2) A second resource is Put to the Server. The properties of this file \
should NOT be returned as its displayname property  does not match the specified \
string.  3) A Search is performed. The specified properties are only returned where \
the displayname property matches the  string 'test.xml'. Case sensitivity is not \
stated.  4) The resources are deleted.
  		</description>
  		<expectedResult>A 207 Multi-Status response code should be returned by the \
Search.   Within the body the requested properties should be returned for the first \
file 'test.xml' only.   This is the only resource where the displayname property is \
'test.xml'.  The first two properties should be discovered with a 200 OK response \
code,  the third property 'test' does not exist and should return a 404 Not Found \
error response code.  </expectedResult>
  	</specification>
  	<step>
  		<assign varDefinition="localVariableCollection">製品番号shiftJIS</assign>
  		<request>
  			<command varUsage="userNumber,localVariableCollection,globalVariableServerName">PUT \
/%globalVariableServerName%/%localVariableCollection%/i18ndoc製品番号utf8.xml \
                HTTP/1.1</command>
  			<body fileReference="../../contentDirectory/I18N/schema_ja/UTF-8/attribute/inst3_table_attributei18n_utf-8NP.xm1" \
fileEncoding="UTF-8"/>  </request>
  		<response>
  			<command>HTTP/1.0 201 Created</command>
  		</response>
  	</step>
  	<step>
  		<request>
  			<command varUsage="userNumber,localVariableCollection,globalVariableServerName">PUT \
                /%globalVariableServerName%/%localVariableCollection%/test.xml \
                HTTP/1.1</command>
  			<body fileReference="../../contentDirectory/I18N/schema_ja/UTF-8/attribute/inst3_table_attributei18n_utf-8NP.xm1" \
fileEncoding="UTF-8"/>  </request>
  		<response>
  			<command>HTTP/1.0 201 Created</command>
  		</response>
  	</step>
  	<step>
  		<request>
  			<command varUsage="globalVariableServerName">SEARCH /%globalVariableServerName% \
                HTTP/1.1</command>
  			<body varUsage="localVariableCollection,globalVariableServerName"><![CDATA[<?xml \
version="1.0" encoding="UTF-8"?>  <searchrequest xmlns:D="DAV:">
  							<D:basicsearch>
  								<D:select>
    									<D:prop>
      										<D:displayname/>
      										<D:getcontenttype/>
      										<D:test/>
    									</D:prop>
  								</D:select>
  								<D:from>
    									<D:scope>
      										<D:href>/%globalVariableServerName%/%localVariableCollection%/</D:href>
  </D:scope>
  								</D:from>
  								<D:where>
    									<D:eq>
      										<D:prop>
        											<D:displayname/>
      										</D:prop>
    										<D:literal>i18ndoc製品番号utf8.xml</D:literal>
    									</D:eq>
  								</D:where>
  							</D:basicsearch>
  						</searchrequest>
  					]]></body>
  		</request>
  		<response>
  			<command>HTTP/1.0 207 Multi-Status</command>
  			<body varUsage="globalVariableServerName,localVariableCollection"><![CDATA[<?xml \
version="1.0" encoding="UTF-8"?>  <D:multistatus xmlns:D="DAV:">
  							<D:response>
  							<D:href>/%globalVariableServerName%/%localVariableCollection%/i18ndoc製品番号utf8.xml</D:href>
  <D:propstat>
  									<D:prop>
  										<D:displayname>i18ndoc製品番号utf8.xml</D:displayname>
  										<D:getcontenttype>text/xml</D:getcontenttype>
  									</D:prop>
  									<D:status>HTTP/1.1 200 OK</D:status>
  								</D:propstat>
  								<D:propstat>
  									<D:prop>
  										<D:test />
  									</D:prop>
  									<D:status>HTTP/1.1 404 Not Found</D:status>
  								</D:propstat>
  							</D:response>
  						</D:multistatus>
     				]]></body>
  		</response>
  	</step>
  	<cleanup>
  		<step>
  			<request>
  				<command varUsage="localVariableCollection,globalVariableServerName"> DELETE \
/%globalVariableServerName%/%localVariableCollection%/i18ndoc製品番号utf8.xml \
HTTP/1.1</command>  </request>
  			<response>
  				<command>HTTP/1.0 204 No Content</command>
  			</response>
  		</step>
  		<step>
  			<request>
  				<command varUsage="localVariableCollection,globalVariableServerName"> DELETE \
/%globalVariableServerName%/%localVariableCollection%/test.xml HTTP/1.1</command>  \
</request>  <response>
  				<command>HTTP/1.0 204 No Content</command>
  			</response>
  		</step>
  	</cleanup>
  </test>
  
  
  
  1.1                  \
jakarta-slide/testsuite/testsuite/junit/xmltestcases/I18N/DASL/displayName_collection_en.xml
  
  Index: displayName_collection_en.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../Tprocessor.dtd">
  <test>
  	<specification>
  		<abstract> Search for specified Properties on resources where the displayname \
matches a specified string. </abstract>  <pre-Requisite>localVariableCollection has \
been created and defined in tprocessor.cmd.</pre-Requisite>  <description>
  		1) A resource is Put on to the Server. The displayname property matches the one \
being sought.  2) A second resource is Put to the Server. The properties of this file \
should NOT be returned as its displayname property  does not match the specified \
string.  3) A Search is performed. The specified properties are only returned where \
the displayname property matches the  string 'test.xml'. Case sensitivity is not \
stated.  4) The resources are deleted.
  		</description>
  		<expectedResult>A 207 Multi-Status response code should be returned by the \
Search.   Within the body the requested properties should be returned for the first \
file 'test.xml' only.   This is the only resource where the displayname property is \
'test.xml'.  The first two properties should be discovered with a 200 OK response \
code,  the third property 'test' does not exist and should return a 404 Not Found \
error response code.  </expectedResult>
  	</specification>
  	<step>
  		<assign varDefinition="localVariableCollection">ß \
çèéäöüÄÖÜiso8859</assign>  <request>
  			<command varUsage="userNumber,localVariableCollection,globalVariableServerName">PUT \
/%globalVariableServerName%/%localVariableCollection%/i18ndoc \
                çèéäöüÄÖÜiso8859.xml HTTP/1.1</command>
  			<body fileReference="../../contentDirectory/I18N/schema_en/ISO-8859-1/attribute/inst3_table_attributei18n_iso-8859-1UE.xm1" \
fileEncoding="ISO-8859-1"/>  </request>
  		<response>
  			<command>HTTP/1.0 201 Created</command>
  		</response>
  	</step>
  	<step>
  		<request>
  			<command varUsage="userNumber,localVariableCollection,globalVariableServerName">PUT \
                /%globalVariableServerName%/%localVariableCollection%/test.xml \
                HTTP/1.1</command>
  			<body fileReference="../../contentDirectory/I18N/schema_en/ISO-8859-1/attribute/inst3_table_attributei18n_iso-8859-1UE.xm1" \
fileEncoding="ISO-8859-1"/>  </request>
  		<response>
  			<command>HTTP/1.0 201 Created</command>
  		</response>
  	</step>
  	<step>
  		<request>
  			<command varUsage="globalVariableServerName">SEARCH /%globalVariableServerName% \
                HTTP/1.1</command>
  			<body varUsage="localVariableCollection,globalVariableServerName"><![CDATA[<?xml \
version="1.0" encoding="UTF-8"?>  <searchrequest xmlns:D="DAV:">
  							<D:basicsearch>
  								<D:select>
    									<D:prop>
      										<D:displayname/>
      										<D:getcontenttype/>
      										<D:test/>
    									</D:prop>
  								</D:select>
  								<D:from>
    									<D:scope>
      										<D:href>/%globalVariableServerName%/%localVariableCollection%/</D:href>
  </D:scope>
  								</D:from>
  								<D:where>
    									<D:eq>
      										<D:prop>
        											<D:displayname/>
      										</D:prop>
    										<D:literal>i18ndoc çèéäöüÄÖÜiso8859.xml</D:literal>
    									</D:eq>
  								</D:where>
  							</D:basicsearch>
  						</searchrequest>
  					]]></body>
  		</request>
  		<response>
  			<command>HTTP/1.0 207 Multi-Status</command>
  			<body varUsage="globalVariableServerName,localVariableCollection"><![CDATA[<?xml \
version="1.0" encoding="UTF-8"?>  <D:multistatus xmlns:D="DAV:">
  							<D:response>
  							<D:href>/%globalVariableServerName%/%localVariableCollection%/i18ndoc \
çèéäöüÄÖÜiso8859.xml</D:href>  <D:propstat>
  									<D:prop>
  										<D:displayname>i18ndoc çèéäöüÄÖÜiso8859.xml</D:displayname>
  										<D:getcontenttype>text/xml</D:getcontenttype>
  									</D:prop>
  									<D:status>HTTP/1.1 200 OK</D:status>
  								</D:propstat>
  								<D:propstat>
  									<D:prop>
  										<D:test />
  									</D:prop>
  									<D:status>HTTP/1.1 404 Not Found</D:status>
  								</D:propstat>
  							</D:response>
  						</D:multistatus>
     				]]></body>
  		</response>
  	</step>
  	<cleanup>
  		<step>
  			<request>
  				<command varUsage="localVariableCollection,globalVariableServerName"> DELETE \
/%globalVariableServerName%/%localVariableCollection%/i18ndoc \
çèéäöüÄÖÜiso8859.xml HTTP/1.1</command>  </request>
  			<response>
  				<command>HTTP/1.0 204 No Content</command>
  			</response>
  		</step>
  		<step>
  			<request>
  				<command varUsage="localVariableCollection,globalVariableServerName"> DELETE \
/%globalVariableServerName%/%localVariableCollection%/test.xml HTTP/1.1</command>  \
</request>  <response>
  				<command>HTTP/1.0 204 No Content</command>
  			</response>
  		</step>
  	</cleanup>
  </test>
  
  
  

--
To unsubscribe, e-mail:   <mailto:slide-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:slide-dev-help@jakarta.apache.org>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic