You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by mi...@apache.org on 2003/10/19 17:01:22 UTC

cvs commit: jakarta-tapestry/junit/mock-scripts TestTemplateEncoding.xml TestOutputEncoding.xml

mindbridge    2003/10/19 08:01:22

  Modified:    junit/context28/WEB-INF Charset_fr_FR.html Charset_fr.html
               junit/mock-scripts TestTemplateEncoding.xml
                        TestOutputEncoding.xml
  Log:
  Unit tests for the encoding of URLs
  
  Revision  Changes    Path
  1.2       +2 -0      jakarta-tapestry/junit/context28/WEB-INF/Charset_fr_FR.html
  
  Index: Charset_fr_FR.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/junit/context28/WEB-INF/Charset_fr_FR.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Charset_fr_FR.html	29 Jun 2003 18:23:26 -0000	1.1
  +++ Charset_fr_FR.html	19 Oct 2003 15:01:22 -0000	1.2
  @@ -1 +1,3 @@
   <span jwcid="@Insert" value="Fran�ais"/>
  +
  +<span jwcid="@ExternalLink" page="Two" parameters="Fran�ais">A test link</span>
  
  
  
  1.2       +2 -0      jakarta-tapestry/junit/context28/WEB-INF/Charset_fr.html
  
  Index: Charset_fr.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/junit/context28/WEB-INF/Charset_fr.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Charset_fr.html	29 Jun 2003 18:23:26 -0000	1.1
  +++ Charset_fr.html	19 Oct 2003 15:01:22 -0000	1.2
  @@ -1 +1,3 @@
   <span jwcid="@Insert" value="Français"/>
  +
  +<span jwcid="@ExternalLink" page="Two" parameters="Français">A test link</span>
  
  
  
  1.2       +7 -1      jakarta-tapestry/junit/mock-scripts/TestTemplateEncoding.xml
  
  Index: TestTemplateEncoding.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/junit/mock-scripts/TestTemplateEncoding.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestTemplateEncoding.xml	29 Jun 2003 18:23:26 -0000	1.1
  +++ TestTemplateEncoding.xml	19 Oct 2003 15:01:22 -0000	1.2
  @@ -25,6 +25,12 @@
   Fran&#231;ais
   ]]>
   		</assert-output>
  +
  +		<assert-output name="External Link">
  +<![CDATA[
  +<a href="/c28/app?service=external/Two&amp;sp=SFran%C3%A7ais">
  +]]>
  +		</assert-output>
   	</request>
   	
   	
  
  
  
  1.2       +34 -1     jakarta-tapestry/junit/mock-scripts/TestOutputEncoding.xml
  
  Index: TestOutputEncoding.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/junit/mock-scripts/TestOutputEncoding.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestOutputEncoding.xml	29 Jun 2003 18:23:26 -0000	1.1
  +++ TestOutputEncoding.xml	19 Oct 2003 15:01:22 -0000	1.2
  @@ -31,5 +31,38 @@
   		</assert-output>
   	</request>
   	
  +	
  +	<request>
  +		<parameter name="service" value="direct/0/Home/$DirectLink"/>
  +	  	<parameter name="sp">
  +	  		<value>STwo</value>
  +	  		<value>Sfr</value>
  +	  	</parameter>
  +
  +		<assert-output name="Page Title">
  +<![CDATA[
  +<title>Two</title>
  +]]>
  +		</assert-output>
  +
  +		<assert-output name="Charset">
  +<![CDATA[
  +charset=ISO-8859-1
  +]]>
  +		</assert-output>
  +
  +		<assert-output name="Language Name">
  +<![CDATA[
  +Fran&#231;ais
  +]]>
  +		</assert-output>
  +
  +		<assert-output name="External Link">
  +<![CDATA[
  +<a href="/c28/latin1?service=external/Two&amp;sp=SFran%E7ais">
  +]]>
  +		</assert-output>
  +	</request>
  +	
   
   </mock-test>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org