Ticket #2 (closed defect: fixed)
junit tests break with ant 1.7
| Reported by: | matighet | Owned by: | prubel |
|---|---|---|---|
| Priority: | major | Component: | HTTPS proxy |
| Version: | Keywords: | ||
| Cc: |
Description
So far, we've been using ant 1.6.5. With ant 1.7, the following error shows up:
junittest:
[junit] Running com.bbn.pb.CertificateTest
[junit] Testsuite: com.bbn.pb.CertificateTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.21 sec
[junit] Error:
[junit] SEC_COM_LOADING
[junit] SECCOMPONENT LOADED
[junit] deskey= 0: 23 92 4C 29 3D 68 E9 52 13 6B DA CE EF DA FE A1 AE A1 DF 89
[junit] 20: 08 D0 79 E3
[junit]
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.21 sec
[junit] ------------- Standard Error -----------------
[junit] SEC_COM_LOADING
[junit] SECCOMPONENT LOADED
[junit] deskey= 0: 23 92 4C 29 3D 68 E9 52 13 6B DA CE EF DA FE A1 AE A1 DF 89
[junit] 20: 08 D0 79 E3
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: testGeneration took 3.474 sec
[junit] Testcase: testSerialNumber took 1.425 sec
[junit] Exception in thread "main" java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close(Ljava/io/Writer;)V
[junit] at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTestSuite(XMLJUnitResultFormatter.java:174)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:620)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:453)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
Change History
Note: See
TracTickets for help on using
tickets.
