ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2956] New: - patch to junit and touch task: junit task now wont fail on non-junit test, touch now provides the same timestamp for all files when operating on a fileset
Date Wed, 01 Aug 2001 21:58:21 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2956

*** shadow/2956	Wed Aug  1 14:58:21 2001
--- shadow/2956.tmp.27804	Wed Aug  1 14:58:21 2001
***************
*** 0 ****
--- 1,47 ----
+ +============================================================================+
+ | patch to junit and touch task: junit task now wont fail on non-junit test, |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2956                        Product: Ant                     |
+ |       Status: NEW                         Version: Nightly build           |
+ |   Resolution:                            Platform: Other                   |
+ |     Severity: Enhancement              OS/Version: Other                   |
+ |     Priority: Other                     Component: Optional Tasks          |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: richardwan@servidium.com                                     |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Index: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Touch.java
+ ===================================================================
+ RCS file: /home/cvspublic/jakarta-
+ ant/src/main/org/apache/tools/ant/taskdefs/Touch.java,v
+ retrieving revision 1.8
+ diff -r1.8 Touch.java
+ 178a179,181
+ >         if (millis == 0) {
+ >            millis = System.currentTimeMillis();
+ >         }
+ Index: jakarta-
+ ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java
+ ===================================================================
+ RCS file: /home/cvspublic/jakarta-
+ ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java,v
+ retrieving revision 1.12
+ diff -r1.12 JUnitTestRunner.java
+ 195c195
+ <                 suite= new TestSuite(testClass);
+ ---
+ >                 suite= createTestSuite(testClass);
+ 201a202,210
+ >     }
+ >     
+ >     protected TestSuite createTestSuite(Class testClass)  {
+ >        try {
+ >           return new TestSuite(testClass);
+ >        }
+ >        catch (Throwable t) {
+ >           return new TestSuite();
+ >        }
\ No newline at end of file

Mime
View raw message