remm        2003/07/20 08:06:00

  Modified:    tester/src/bin tester.xml
               tester/src/tester/org/apache/tester ErrorPage04.java
  Log:
  - Fix last failure for the ErrorPage group.
  
  Revision  Changes    Path
  1.7       +2 -2      jakarta-tomcat-catalina/tester/src/bin/tester.xml
  
  Index: tester.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/tester/src/bin/tester.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- tester.xml        20 Jul 2003 14:53:04 -0000      1.6
  +++ tester.xml        20 Jul 2003 15:05:59 -0000      1.7
  @@ -220,12 +220,12 @@
   
       <tester host="${host}" port="${port}" protocol="${protocol}"
            request="${context.path}/ErrorPage03" debug="${debug}"
  -          status="500"
  +          status="200"
         outContent="ErrorPage04 PASSED"/>
   
       <tester host="${host}" port="${port}" protocol="${protocol}"
            request="${context.path}/WrappedErrorPage03" debug="${debug}"
  -          status="500"
  +          status="200"
         outContent="ErrorPage04 PASSED"/>
   
       <tester host="${host}" port="${port}" protocol="${protocol}"
  
  
  
  1.3       +2 -3      
jakarta-tomcat-catalina/tester/src/tester/org/apache/tester/ErrorPage04.java
  
  Index: ErrorPage04.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/tester/src/tester/org/apache/tester/ErrorPage04.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ErrorPage04.java  19 Jul 2003 20:21:12 -0000      1.2
  +++ ErrorPage04.java  20 Jul 2003 15:05:59 -0000      1.3
  @@ -82,7 +82,6 @@
   
           // Accumulate all the reasons this request might fail
           ServletException exception = null;
  -        Throwable rootCause = null;
           StringBuffer sb = new StringBuffer();
           Object value = null;
   
  @@ -94,7 +93,7 @@
               sb.append(value.getClass().getName());
               sb.append("/");
           } else {
  -            TesterException te = (TesterException) rootCause;
  +            TesterException te = (TesterException) value;
               if (!"ErrorPage03 Threw Exception".equals(te.getMessage())) {
                   sb.append(" exception message is ");
                   sb.append(te.getMessage());
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to