You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2003/09/08 02:48:20 UTC

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

hlship      2003/09/07 17:48:19

  Modified:    junit/context24 Two.html
               junit/mock-scripts TestInheritInformalParameters.xml
  Added:       junit/context24/WEB-INF BadBlock.jwc BadBlock.html
  Removed:     junit/context24/WEB-INF BadInsert.html BadInsert.jwc
  Log:
  Fix TestInheritInformalParameters to use Block (which does not allow informal parameters) instead of Insert (which was changed to allow them).
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-tapestry/junit/context24/Two.html
  
  Index: Two.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/junit/context24/Two.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Two.html	20 Apr 2003 19:10:04 -0000	1.1
  +++ Two.html	8 Sep 2003 00:48:19 -0000	1.2
  @@ -1,7 +1,7 @@
   <html jwcid="@Shell" title="Two">
   <body>
   
  -<span jwcid="@BadInsert" color="none" />
  +<span jwcid="@BadBlock" color="none" />
   	
   </body>
   </html>
  
  
  
  1.1                  jakarta-tapestry/junit/context24/WEB-INF/BadBlock.jwc
  
  Index: BadBlock.jwc
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!-- $Id: BadBlock.jwc,v 1.1 2003/09/08 00:48:19 hlship Exp $ -->
  <!DOCTYPE component-specification PUBLIC 
    "-//Apache Software Foundation//Tapestry Specification 3.0//EN" 
    "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
  
  <component-specification>
  	
  	<!-- this has to boom: Insert does not allow informal parameters -->
  	<component id="block" type="Block" inherit-informal-parameters="yes"/>
  	
  </component-specification>
  
  
  
  1.1                  jakarta-tapestry/junit/context24/WEB-INF/BadBlock.html
  
  Index: BadBlock.html
  ===================================================================
  <span jwcid="block"/>
  
  
  
  1.2       +2 -2      jakarta-tapestry/junit/mock-scripts/TestInheritInformalParameters.xml
  
  Index: TestInheritInformalParameters.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/junit/mock-scripts/TestInheritInformalParameters.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestInheritInformalParameters.xml	20 Apr 2003 19:10:04 -0000	1.1
  +++ TestInheritInformalParameters.xml	8 Sep 2003 00:48:19 -0000	1.2
  @@ -58,7 +58,7 @@
   		</assert-output>
   		
   		<assert-output name="Message">
  -		Component Two/$BadInsert.insert allows only formal parameters, but has inherit-informal-parameters set.	
  +		Component Two/$BadBlock.block allows only formal parameters, but has inherit-informal-parameters set.	
   		</assert-output>
   	</request>
   	
  
  
  

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