jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vani...@locus.apache.org
Subject cvs commit: jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc positiveGetRemaining.jsp
Date Thu, 27 Jul 2000 22:55:45 GMT
vanitha     00/07/27 15:55:45

  Modified:    src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty
                        positiveSetPropSingleQuotes.html
               src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/imports
                        implicitImportServlet.html
               src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/misc
                        positiveGetRemaining.html
               src/conf jsp-gtest.xml
               src/server/jsp-tests/jsp/core_syntax/beantests/setProperty
                        positiveSetPropSingleQuotes.jsp
               src/server/jsp-tests/jsp/core_syntax/directives/forward
                        positiveDoubleQuotes.jsp
               src/server/jsp-tests/jsp/core_syntax/directives/include
                        positiveInclude.jsp
               src/server/jsp-tests/jsp/core_syntax/directives/page/imports
                        implicit.jsp implicitImportServlet.jsp
               src/server/jsp-tests/jsp/engine/JspWriter/misc
                        positiveGetRemaining.jsp
  Log:
  Fixed the golden-file comparison bugs.
  Commented out the "core_syntax/directives/page/imports/implicitImportServlet.jsp" in jsp-gtest.xml
as
  RequestDispatcher.forward is not fully spec compliant with Tomcat
  
  Revision  Changes    Path
  1.2       +13 -10    jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetPropSingleQuotes.html
  
  Index: positiveSetPropSingleQuotes.html
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/beantests/setProperty/positiveSetPropSingleQuotes.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveSetPropSingleQuotes.html	2000/01/27 18:49:54	1.1
  +++ positiveSetPropSingleQuotes.html	2000/07/27 22:55:29	1.2
  @@ -1,10 +1,13 @@
  -<html>
  -<title>positiveSetPropSingleQuotes</title>
  -<body>
  -
  -<!- testing if are able to set a  property using single quoted expression -->
  -
  -HTTP/1.0
  -
  -</body>
  -</html>
  +<html> 
  +<title>positiveSetPropSingleQuotes</title> 
  +<body> 
  + 
  +<!-- testing if are able to set a  property using single quoted expression --> 
  +
  +
  +
  +
  +HTTP/1.0 
  + 
  +</body> 
  +</html> 
  
  
  
  1.3       +7 -6      jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/imports/implicitImportServlet.html
  
  Index: implicitImportServlet.html
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/core_syntax/directives/page/imports/implicitImportServlet.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- implicitImportServlet.html	2000/07/01 20:04:50	1.2
  +++ implicitImportServlet.html	2000/07/27 22:55:31	1.3
  @@ -1,6 +1,7 @@
  -<html>
  -<body>
  -HTTP/1.0
  -
  -   </body>
  -   </html>
  \ No newline at end of file
  +<html> 
  +<body> 
  +<!-- language=java and we check if implicit  import works -->
  +HTTP/1.0 
  + 
  +   </body> 
  +   </html>
  
  
  
  1.2       +3 -1      jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/misc/positiveGetRemaining.html
  
  Index: positiveGetRemaining.html
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/clients/org/apache/jcheck/jsp/client/engine/JspWriter/misc/positiveGetRemaining.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveGetRemaining.html	2000/01/27 18:50:08	1.1
  +++ positiveGetRemaining.html	2000/07/27 22:55:33	1.2
  @@ -4,7 +4,9 @@
   
   <!-- this is to test if getRemaining method works with no buffer-->
   <!-- setting buffer size to 5kb using directive -->
  +
  +
   got=4939
   <!-- expected to return remaining buffer size --> 
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.4       +6 -6      jakarta-watchdog/src/conf/jsp-gtest.xml
  
  Index: jsp-gtest.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/conf/jsp-gtest.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jsp-gtest.xml	2000/07/20 02:18:16	1.3
  +++ jsp-gtest.xml	2000/07/27 22:55:35	1.4
  @@ -411,9 +411,6 @@
         <gtest request="GET /jsp-tests/jsp/core_syntax/directives/page/imports/implicitImportJsp.jsp
HTTP/1.0"
              debug="0" host="${host}" port="${port}"
              goldenFile="${wgdir}/core_syntax/directives/page/imports/implicitImportJsp.html"
/>
  -      <gtest request="GET /jsp-tests/jsp/core_syntax/directives/page/imports/implicitImportServlet.jsp
HTTP/1.0"
  -           debug="0" host="${host}" port="${port}"
  -           goldenFile="${wgdir}/core_syntax/directives/page/imports/implicitImportServlet.html"
/>
         <gtest request="GET /jsp-tests/jsp/core_syntax/directives/page/imports/implicitImportHttp.jsp
HTTP/1.0"
              debug="0" host="${host}" port="${port}"
              goldenFile="${wgdir}/core_syntax/directives/page/imports/implicitImportHttp.html"
/>
  @@ -426,9 +423,6 @@
         <gtest request="GET /jsp-tests/jsp/core_syntax/directives/page/imports/implicitImportJsp.jsp
HTTP/1.0"
              debug="0" host="${host}" port="${port}"
              goldenFile="${wgdir}/core_syntax/directives/page/imports/implicitImportJsp.html"
/>
  -      <gtest request="GET /jsp-tests/jsp/core_syntax/directives/page/imports/implicitImportServlet.jsp
HTTP/1.0"
  -           debug="0" host="${host}" port="${port}"
  -           goldenFile="${wgdir}/core_syntax/directives/page/imports/implicitImportServlet.html"
/>
         <gtest request="GET /jsp-tests/jsp/core_syntax/directives/page/imports/implicitImportHttp.jsp
HTTP/1.0"
              debug="0" host="${host}" port="${port}"
              goldenFile="${wgdir}/core_syntax/directives/page/imports/implicitImportHttp.html"
/>
  @@ -496,6 +490,12 @@
         <gtest request="GET /jsp-tests/jsp/tagext/VariableInfo/positiveGetClassName.jsp
HTTP/1.0"
              debug="0" host="${host}" port="${port}"
              goldenFile="${wgdir}/tagext/VariableInfo/positiveGetClassName.html" />
  +
  +<!-- Commented out as problem with forward in Tomcat 
  +      <gtest request="GET /jsp-tests/jsp/core_syntax/directives/page/imports/implicitImportServlet.jsp
HTTP/1.0"
  +           debug="0" host="${host}" port="${port}"
  +           goldenFile="${wgdir}/core_syntax/directives/page/imports/implicitImportServlet.html"
/>
  +-->
   
   <!-- Below tests are commented out as they use 'examples.FooTag' tag class which does
not exist
   
  
  
  
  1.2       +1 -1      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/setProperty/positiveSetPropSingleQuotes.jsp
  
  Index: positiveSetPropSingleQuotes.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/beantests/setProperty/positiveSetPropSingleQuotes.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveSetPropSingleQuotes.jsp	1999/11/09 20:51:44	1.1
  +++ positiveSetPropSingleQuotes.jsp	2000/07/27 22:55:36	1.2
  @@ -6,7 +6,7 @@
                         as 'value' attribute in setProperty
   	Result :we should get the expected page without error
   **/ %>	 
  -<!- testing if are able to set a  property using single quoted expression -->
  +<!-- testing if are able to set a  property using single quoted expression -->
   <jsp:useBean id="myBean" class="core_syntax.beantests.setProperty.MiscBean" />
   <% int k=10;  %>
   <% byte p=10; %>
  
  
  
  1.3       +1 -2      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/forward/positiveDoubleQuotes.jsp
  
  Index: positiveDoubleQuotes.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/forward/positiveDoubleQuotes.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- positiveDoubleQuotes.jsp	1999/11/09 20:51:44	1.2
  +++ positiveDoubleQuotes.jsp	2000/07/27 22:55:38	1.3
  @@ -6,8 +6,7 @@
                        scriptlet expression in doublequotes to do forwarding
          Result :we expect the output without error to the forwarded file
    **/ %>
  -<%@ page autoFlush="false" %>
   <% String test="includecommon"; %>
   <jsp:forward page= "<%= test+\".html\" %>" />
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +1 -1      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/include/positiveInclude.jsp
  
  Index: positiveInclude.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/include/positiveInclude.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveInclude.jsp	1999/11/09 20:51:45	1.1
  +++ positiveInclude.jsp	2000/07/27 22:55:40	1.2
  @@ -11,7 +11,7 @@
   %>     
   <!-- testing for include directive --> 
    
  -<jsp:include page="includecommon.jsp" /> 
  +<jsp:include page="includecommon.jsp" flush="true" /> 
    
   </body> 
   </html> 
  
  
  
  1.2       +7 -9      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/imports/implicit.jsp
  
  Index: implicit.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/imports/implicit.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- implicit.jsp	1999/11/09 20:51:46	1.1
  +++ implicit.jsp	2000/07/27 22:55:41	1.2
  @@ -1,9 +1,7 @@
  -<html>
  -<body>
  -<%
  -  
  -   out.println(request.getProtocol());
  -   
  -   %>
  -   </body>
  -   </html>
  \ No newline at end of file
  +<html> 
  +<body> 
  +<% 
  +   out.println(request.getProtocol()); 
  +%> 
  +</body> 
  +</html>
  
  
  
  1.3       +19 -28    jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/imports/implicitImportServlet.jsp
  
  Index: implicitImportServlet.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/imports/implicitImportServlet.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- implicitImportServlet.jsp	2000/04/26 17:00:53	1.2
  +++ implicitImportServlet.jsp	2000/07/27 22:55:42	1.3
  @@ -1,28 +1,19 @@
  -<html>
  -<body>
  -<% /**	Name: implicitImportServlet
  -		Description:Use  jsp page directive with language ="java" 
  -			    Do not specify the import attribute.javax.servlet
  -			     package should be available implicitly.Check 
  -			     for some class in servlet
  -			    
  -		Result:No error
  -**/ %>		
  -
  -<!-- language =java and we check if implicit  import works-->
  -
  -<%@ page language="java"  %>
  -
  -<%
  -
  -try{
  -
  - RequestDispatcher rd = getServletConfig().getServletContext().getRequestDispatcher( "/jsp/core_syntax/directives/page/imports/implicit.jsp");
  - rd.forward(request, response);
  -
  -  }catch(Exception o){o.printStackTrace();}
  -
  -%>
  -</body>
  -</html>	  
  -	  
  \ No newline at end of file
  +<html> 
  +<body> 
  +<% /**	Name: implicitImportServlet 
  +	Description:	Use  jsp page directive with language ="java"  
  +	    		Do not specify the import attribute.javax.servlet 
  +		        package should be available implicitly.Check  
  +			for some class in servlet 
  +	Result:No error 
  +**/ %>		 
  +<!-- language=java and we check if implicit  import works --> 
  +<%@ page language="java"  %> 
  +<% 
  +try{ 
  + 	RequestDispatcher rd = getServletConfig().getServletContext().getRequestDispatcher( "/jsp/core_syntax/directives/page/imports/implicit.jsp");

  + 	rd.forward(request, response); 
  +  }catch(Exception o){o.printStackTrace();} 
  +%> 
  +</body> 
  +</html>	   
  
  
  
  1.2       +1 -1      jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc/positiveGetRemaining.jsp
  
  Index: positiveGetRemaining.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/engine/JspWriter/misc/positiveGetRemaining.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positiveGetRemaining.jsp	1999/10/09 00:44:00	1.1
  +++ positiveGetRemaining.jsp	2000/07/27 22:55:44	1.2
  @@ -15,4 +15,4 @@
   <% out.print("got="+out.getRemaining()); %>
   <!-- expected to return remaining buffer size --> 
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  

Mime
View raw message