jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sant...@locus.apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport default_return_values.jsp positiveDoAfterBody.jsp positiveDoEndTag.jsp positiveSetGetId.jsp positivefindAncestorWithClass.jsp
Date Thu, 30 Nov 2000 23:43:03 GMT
santosh     00/11/30 15:43:03

  Added:       src/server/jsp-tests/jsp/tagext/TagSupport
                        default_return_values.jsp positiveDoAfterBody.jsp
                        positiveDoEndTag.jsp positiveSetGetId.jsp
                        positivefindAncestorWithClass.jsp
  Log:
  new tests for TagSupport
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/default_return_values.jsp
  
  Index: default_return_values.jsp
  ===================================================================
  <html>
  <title>default_return_values</title>
  <body>
  <% 
  	/** 	
  	Name :default_return_values
  	Description : Tests the default return values from the 
  		      methods in TagSupport class
  	             
  	            
  	Result :   dfauult return values should be printed
  	**/  
  %>	 
  
  
  <%@ taglib uri="/TestLib.tld" prefix="def" %>
  
  <def:default />
  
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveDoAfterBody.jsp
  
  Index: positiveDoAfterBody.jsp
  ===================================================================
  <html>
  <title>positiveDoAfterBody</title>
  <body>
  <% 
  	/** 	
  	Name : positiveDoAfterBody
  	Description : prints "JSP is cool" repeatedly depending on the 
  		      value of the attribute and then prints "End of Tag
                        is Reached" .
  	            
  	Result :   "End of tag reached"
  		   "JSP is cool"
  	           "JSP is cool"
                     "End of tag reached"
  	           "JSP is cool"
                     "JSP is cool"
  		   "JSP is cool"
  		   "JSP is cool"
  		   "End of tag reached"
  		   "JSP is cool"
  		   "End of tag reached"
  		   "JSP is cool"
  		   "JSP is cool"
  		   "JSP is cool"
  		   "End of tag reached"
  	**/  
  %>	 
  
  
  <%@ taglib uri="/TestLib.tld" prefix="test"  %>
  <test:iterator iteration="0" />
  <test:iterator iteration="2"  />
  <test:iterator iteration="4"  />
  <test:iterator iteration="1" />
  <test:iterator iteration="3" />
  
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveDoEndTag.jsp
  
  Index: positiveDoEndTag.jsp
  ===================================================================
  <html>
  <title>positiveDoEndTag</title>
  <body>
  <% 
  	/** 	
  	Name : positiveDoEndTag
  	Description : prints "JSP is cool" repeatedly depending on the 
  		      value of the attribute and then prints "End of Tag
  		      is Reached" .
  	            
  	Result :   "End of tag Reached" should be printed 
  	**/  
  %>	 
  
  
  <%@ taglib uri="/TestLib.tld" prefix="test"  %>
  <test:iterator iteration="0"  />
  
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positiveSetGetId.jsp
  
  Index: positiveSetGetId.jsp
  ===================================================================
  <html>
  <title>positiveSetGetId</title>
  <body>
  <% 
  	/** 	
  	Name : positiveSetGetId
  	Description : passes an attribute to call setId and getId methods
  		      of the implementing Tag Handler.
  	            
  	Result :   The setId and getId methods should work fine.The value
  		   passed in the id attribute should be printed 
  	**/  
  %>	 
  
  
  <%@ taglib uri="/TestLib.tld" prefix="test"  %>
  <test:iterator iteration="0" setget="true" tagid="TestSetGetId"  />
  
  </body>
  </html>
  
  
  
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/jsp/tagext/TagSupport/positivefindAncestorWithClass.jsp
  
  Index: positivefindAncestorWithClass.jsp
  ===================================================================
  <html>
  <title>positivefindAncestorWithClass</title>
  <body>
  <% 
  	/** 	
  	Name :positivefindAncestorWithClass
          Description : Test the coordination between nested tags.A person 
  		      can be eligible for only one prize. 
  	            
  	Result :  The name of the prize winners is printed.
  	**/  
  %>	 
  
  
  <%@ taglib uri="/TestLib.tld" prefix="test"  %>
  <test:firstWinner winner="santosh" >
  <test:secondWinner winner="santosh" >
  <test:thirdWinner winner="craig" />
  </test:secondWinner>
  </test:firstWinner>
  
  </body>
  </html>
  
  
  

Mime
View raw message