jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlu...@apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/JspWriter/print positivePrintDouble.jsp positivePrintFloat.jsp positivePrintInt.jsp positivePrintLong.jsp positivePrintDoubleMaxBound.jsp positivePrintDoubleMinBound.jsp positivePrintFloatMaxBound.jsp positivePrintFloatMinBound.jsp positivePrintIntMaxBound.jsp positivePrintIntMinBound.jsp positivePrintLongMaxBound.jsp positivePrintLongMinBound.jsp
Date Fri, 04 Jan 2002 20:23:50 GMT
rlubke      02/01/04 12:23:50

  Modified:    src/server/jsp-tests/jsp/engine/JspWriter/print
                        positivePrintDouble.jsp positivePrintFloat.jsp
                        positivePrintInt.jsp positivePrintLong.jsp
  Removed:     src/server/jsp-tests/jsp/engine/JspWriter/print
                        positivePrintDoubleMaxBound.jsp
                        positivePrintDoubleMinBound.jsp
                        positivePrintFloatMaxBound.jsp
                        positivePrintFloatMinBound.jsp
                        positivePrintIntMaxBound.jsp
                        positivePrintIntMinBound.jsp
                        positivePrintLongMaxBound.jsp
                        positivePrintLongMinBound.jsp
  Log:
  - merged positivePrint<TYPE>(MAX|MIN)Boundry tests into their respective
    positivePrint<type> tests.  The spec doesn't explicitly state that this
    functionality needs to be tested, but it doesn't hurt to make sure
    that the positivePrint<TYPE> tests can handle the MAX_VALUE and MIN_VALUES
    of a particular integer or floating point type.
  
  Revision  Changes    Path
  1.2       +7 -3      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/JspWriter/print/positivePrintDouble.jsp
  
  Index: positivePrintDouble.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/JspWriter/print/positivePrintDouble.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positivePrintDouble.jsp	4 Oct 2000 00:19:15 -0000	1.1
  +++ positivePrintDouble.jsp	4 Jan 2002 20:23:49 -0000	1.2
  @@ -7,7 +7,11 @@
   */
   %>
   <!-- this is to test if print(double d) method works -->
  -<%! double d=234567; %>
  -<% out.print(d); %>
  +<%! double d=0.0; %>
  +<% 
  +    out.print(d); 
  +    out.print(Double.MIN_VALUE);
  +    out.print(Double.MAX_VALUE);
  +%>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +7 -3      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/JspWriter/print/positivePrintFloat.jsp
  
  Index: positivePrintFloat.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/JspWriter/print/positivePrintFloat.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positivePrintFloat.jsp	4 Oct 2000 00:19:15 -0000	1.1
  +++ positivePrintFloat.jsp	4 Jan 2002 20:23:49 -0000	1.2
  @@ -7,7 +7,11 @@
   */
   %>
   <!-- this is to test if print(float f) method works -->
  -<%! float f=45; %>
  -<% out.print(f); %>
  +<%! float f=0.0F; %>
  +<% 
  +    out.print(f);
  +    out.print(Float.MIN_VALUE);
  +    out.print(Float.MAX_VALUE);
  +%>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +7 -3      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/JspWriter/print/positivePrintInt.jsp
  
  Index: positivePrintInt.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/JspWriter/print/positivePrintInt.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positivePrintInt.jsp	4 Oct 2000 00:19:15 -0000	1.1
  +++ positivePrintInt.jsp	4 Jan 2002 20:23:49 -0000	1.2
  @@ -7,7 +7,11 @@
   */
   %>
   <!-- this is to test if print(Int i) method works -->
  -<%! int i=234; %>
  -<% out.print(i); %>
  +<%! int i=0; %>
  +<% 
  +    out.print(i); 
  +    out.print(Integer.MIN_VALUE);
  +    out.print(Integer.MAX_VALUE);
  +%>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  
  1.2       +7 -3      jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/JspWriter/print/positivePrintLong.jsp
  
  Index: positivePrintLong.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/server/jsp-tests/jsp/engine/JspWriter/print/positivePrintLong.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- positivePrintLong.jsp	4 Oct 2000 00:19:15 -0000	1.1
  +++ positivePrintLong.jsp	4 Jan 2002 20:23:49 -0000	1.2
  @@ -7,7 +7,11 @@
   */
   %>
   <!-- this is to test if print(long l) method works -->
  -<%! long l=123456789; %>
  -<% out.print(l); %>
  +<%! long l=0; %>
  +<% 
  +    out.print(l);
  +    out.print(Long.MIN_VALUE);
  +    out.print(Long.MAX_VALUE);
  +%>
   </body>
  -</html>
  \ No newline at end of file
  +</html>
  
  
  

--
To unsubscribe, e-mail:   <mailto:watchdog-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:watchdog-dev-help@jakarta.apache.org>


Mime
View raw message