ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/junit JUnitTestRunner.java
Date Thu, 14 Oct 2004 14:42:49 GMT
bodewig     2004/10/14 07:42:49

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/junit
                        JUnitTestRunner.java
  Log:
  Errors thrown before we fire startTestSuite cause problems in setOutAndErr
  
  Revision  Changes    Path
  1.53      +2 -2      ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java
  
  Index: JUnitTestRunner.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- JUnitTestRunner.java	13 Oct 2004 10:23:30 -0000	1.52
  +++ JUnitTestRunner.java	14 Oct 2004 14:42:49 -0000	1.53
  @@ -235,7 +235,7 @@
           }
   
           Test suite = null;
  -        Exception exception = null;
  +        Throwable exception = null;
   
           try {
   
  @@ -268,7 +268,7 @@
                       suite = new TestSuite(testClass);
                   }
   
  -            } catch (Exception e) {
  +            } catch (Throwable e) {
                   retCode = ERRORS;
                   exception = e;
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message