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 JUnitTask.java
Date Fri, 10 Oct 2003 13:38:25 GMT
bodewig     2003/10/10 06:38:25

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/junit
                        JUnitTask.java
  Log:
  A timed out test is stil a test, PR 23645
  
  Revision  Changes    Path
  1.85      +3 -3      ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  
  Index: JUnitTask.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java,v
  retrieving revision 1.84
  retrieving revision 1.85
  diff -u -r1.84 -r1.85
  --- JUnitTask.java	23 Sep 2003 06:31:46 -0000	1.84
  +++ JUnitTask.java	10 Oct 2003 13:38:25 -0000	1.85
  @@ -1156,9 +1156,9 @@
                               OutputStream out) {
           formatter.setOutput(out);
           formatter.startTestSuite(test);
  -        test.setCounts(0, 0, 1);
  +        test.setCounts(1, 0, 1);
           Test t = new Test() {
  -            public int countTestCases() { return 0; }
  +            public int countTestCases() { return 1; }
               public void run(TestResult r) {
                   throw new AssertionFailedError("Timeout occurred");
               }
  
  
  

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


Mime
View raw message