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/conf jsp-gtest.xml
Date Fri, 01 Dec 2000 03:06:38 GMT
santosh     00/11/30 19:06:38

  Modified:    src/conf jsp-gtest.xml
  Log:
  added new tests for running thru Gtest
  
  Revision  Changes    Path
  1.4       +64 -3     jakarta-watchdog-4.0/src/conf/jsp-gtest.xml
  
  Index: jsp-gtest.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/conf/jsp-gtest.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jsp-gtest.xml	2000/11/03 18:22:06	1.3
  +++ jsp-gtest.xml	2000/12/01 03:06:37	1.4
  @@ -102,7 +102,13 @@
    	/>
   
   <!--  End TLD Resource path  Tests -->
  -
  +<gtest request="GET /jsp-tests/jsp/tagext/TagLibraryValidator/validate.jsp HTTP/1.0"
  +           debug="0" host="${host}" port ="${port}"
  +           goldenFile="${wgdir}/tagext/TagLibraryValidator/validate.html"
  +           testName="validate.jsp"
  +           assertion="Tests the working of Validator class for a taglib"
  +           testStrategy="Tests if the prefix is more than 10 characters"
  +        />
   
         <gtest request="GET /jsp-tests/jsp/HelloWorld.jsp HTTP/1.0"
              debug="0" host="${host}" port ="${port}"
  @@ -1213,6 +1219,55 @@
   	   testStrategy="testing TagSupport getValues() method "
    	/>
   
  +<gtest request="GET /jsp-tests/jsp/tagext/TagSupport/default_return_values.jsp  HTTP/1.0"
  +           debug="0" host="${host}" port="${port}"
  +           goldenFile="${wgdir}/tagext/TagSupport/default_return_values.html"
  +           testName="default_return_values.jsp"
  +           assertion="Tests if the default values are returned from the methods of TagSupport
class"
  +           testStrategy="testing TagSupport default return values by calling supe.FunctionName"
  +        />
  +
  +<gtest request="GET /jsp-tests/jsp/tagext/TagSupport/positiveDoEndTag.jsp
  + HTTP/1.0"
  +           debug="0" host="${host}" port="${port}"
  +           goldenFile="${wgdir}/tagext/TagSupport/positiveDoEndTag.html"
  +           testName="positiveDoEndTag.jsp"
  +           assertion="Tests that doEndTag metjod is called when the end of the tag is found"
  +           testStrategy="testing TagSupport doEndTag method "
  +        />
  +
  +<gtest request="GET /jsp-tests/jsp/tagext/TagSupport/positiveSetGetId.jsp HTTP/1.0"
  +           debug="0" host="${host}" port="${port}"
  +           goldenFile="${wgdir}/tagext/TagSupport/positiveSetGetId.html"
  +           testName="positiveSetGetId.jsp"
  +           assertion="Test for setId and getId methods of TagSupport"
  +           testStrategy="testing TagSupport getId and setId in the same test"
  +        />
  +
  +<gtest request="GET /jsp-tests/jsp/tagext/TagSupport/positivefindAncestorWithClass.jsp
HTTP/1.0"
  +           debug="0" host="${host}" port="${port}"
  +           goldenFile="${wgdir}/tagext/TagSupport/positivefindAncestorWithClass.html"
  +           testName="positivefindAncestorWithClass.jsp"
  +           assertion="Test for Nested classes. Tests the findAncestorWithClass method for
TagSupport"
  +           testStrategy="Testing TagSupport.findAncestorWithClass method"
  +        />
  +
  +<gtest request="GET /jsp-tests/jsp/tagext/misc/persistentValues.jsp HTTP/1.0"
  +           debug="0" host="${host}" port="${port}"
  +           goldenFile="${wgdir}/tagext/misc/persistentValues.html"
  +           testName="persistentValues.jsp"
  +           assertion="Tests if the attribute values are retaines when tags are nested inside
a tag"
  +           testStrategy="testing persistence of tag attributes"
  +        />
  +
  +<gtest request="GET /jsp-tests/jsp/tagext/misc/request_time_attributes.jsp HTTP/1.0"
  +           debug="0" host="${host}" port="${port}"
  +           goldenFile="${wgdir}/tagext/misc/request_time_attributes.html"
  +           testName="request_time_attributes.jsp"
  +           assertion="Tests the order of evaluation of the expressions if attribute values
are runtime expressions"
  +           testStrategy="testing associativity of expression evaluation"
  +        />
  +
         <gtest request="GET /jsp-tests/jsp/tagext/TagSupport/positiveGetValue.jsp HTTP/1.0"
              debug="0" host="${host}" port="${port}"
              goldenFile="${wgdir}/tagext/TagSupport/positiveGetValue.html"
  @@ -1237,7 +1292,6 @@
   	   testStrategy="testing TagSupport setValue() method "
    	/>
   
  -<!-- commented ...has to be debugged
         <gtest request="GET /jsp-tests/jsp/tagext/TagSupport/positiveGetParent.jsp HTTP/1.0"
              debug="0" host="${host}" port="${port}"
              goldenFile="${wgdir}/tagext/TagSupport/positiveGetParent.html"
  @@ -1261,7 +1315,14 @@
   	   assertion="Test if setPageContext() can be used to set the page context.Using this
page context obj set an attribute which is passed to the jsp page, specified in the Java Server
Pages Specification v1.2, Sec 6.4.3"
   	   testStrategy="testing TagSupport setPageContext() method "
    	/>
  --->
  +
  +      <gtest request="GET /jsp-tests/jsp/tagext/TagSupport/positiveDoAfterBody.jsp HTTP/1.0"
  +           debug="0" host="${host}" port="${port}"
  +           goldenFile="${wgdir}/tagext/TagSupport/positiveDoAfterBody.html"
  + 	   testName="positiveDoAfterBody.html"
  + assertion="testing TagSupport DoAfterBody method"
  +	   testStrategy="Test the DoAfterBody method of the TagSupport class.	 Create a Tag handler
that outputs a message a given number of times from the DoAFterBody"
  + 	/>
   
         <gtest request="GET /jsp-tests/jsp/tagext/BodyContent/positiveGetEnclosingWriter.jsp
HTTP/1.0"
              debug="0" host="${host}" port="${port}"
  
  
  

Mime
View raw message