ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Ant's internal tests fail!
Date Fri, 10 Aug 2001 13:08:10 GMT
Almost all the tests pass except for the FileUtilsTest.  Could someone look into
this?  I want to take advantage of the new JUnitReport task that lets me use Xalan 2
but this leaves me a little uneasy.  Of course you can always ask if the problem is
the class being tested or the test itself.

Testsuite: org.apache.tools.ant.util.FileUtilsTest
Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0 sec

Testcase: testResolveFile(org.apache.tools.ant.util.FileUtilsTest)::    Caused an ERROR
null
java.lang.NoSuchMethodError
        at org.apache.tools.ant.util.FileUtilsTest.setUp(Unknown Source)
        at junit.framework.TestCase.runBare(TestCase.java:138)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:131)
        at junit.framework.TestSuite.runTest(TestSuite.java:173)
        at junit.framework.TestSuite.run(TestSuite.java:168)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(Unknown Source)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(Unknown Source)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(Unknown Source)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(Unknown Source)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        at org.apache.tools.ant.Project.executeTarget(Project.java:584)
        at org.apache.tools.ant.Project.executeTargets(Project.java:543)
        at org.apache.tools.ant.Main.runBuild(Main.java:453)
        at org.apache.tools.ant.Main.start(Main.java:154)
        at org.apache.tools.ant.Main.main(Main.java:177)

Testcase: testSetLastModified(org.apache.tools.ant.util.FileUtilsTest)::
Caused an ERROR
null
java.lang.NoSuchMethodError
        at org.apache.tools.ant.util.FileUtilsTest.setUp(Unknown Source)
        at junit.framework.TestCase.runBare(TestCase.java:138)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:131)
        at junit.framework.TestSuite.runTest(TestSuite.java:173)
        at junit.framework.TestSuite.run(TestSuite.java:168)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(Unknown Source)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(Unknown Source)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(Unknown Source)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(Unknown Source)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        at org.apache.tools.ant.Project.executeTarget(Project.java:584)
        at org.apache.tools.ant.Project.executeTargets(Project.java:543)
        at org.apache.tools.ant.Main.runBuild(Main.java:453)
        at org.apache.tools.ant.Main.start(Main.java:154)
        at org.apache.tools.ant.Main.main(Main.java:177)

Testcase: testNormalize(org.apache.tools.ant.util.FileUtilsTest)::      Caused an ERROR
null
java.lang.NoSuchMethodError
        at org.apache.tools.ant.util.FileUtilsTest.setUp(Unknown Source)
        at junit.framework.TestCase.runBare(TestCase.java:138)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:131)
        at junit.framework.TestSuite.runTest(TestSuite.java:173)
        at junit.framework.TestSuite.run(TestSuite.java:168)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(Unknown Source)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(Unknown Source)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(Unknown Source)
        at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(Unknown Source)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        at org.apache.tools.ant.Project.executeTarget(Project.java:584)
        at org.apache.tools.ant.Project.executeTargets(Project.java:543)
        at org.apache.tools.ant.Main.runBuild(Main.java:453)
        at org.apache.tools.ant.Main.start(Main.java:154)
        at org.apache.tools.ant.Main.main(Main.java:177)


BUILD FAILED

Test org.apache.tools.ant.util.FileUtilsTest failed

Total time: 50 seconds

Mime
View raw message