Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.11
-
None
-
all
Description
A test like this one:
public class Test0 { @Test public void testT0() throws Exception { Assert.assertTrue(false); } }
will report this with JUnit47:
Running Test0 Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1,414,930.38 sec <<< FAILURE!
This fix is in TestMethod#testFailure, adding "setEndTime();". It becomes
public void testFailure( ReportEntry failure ) { this.testFailure = failure; setEndTime(); }
I don't think there is any side effect.