ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Wagner <mattywag...@yahoo.com.au>
Subject junit java.lang.AbstractMethodError error with ant
Date Tue, 27 Nov 2001 06:09:11 GMT
Hello,

Please see the java.lang.AbstractMethodError I have
included below. 

My Build XML target for junit is:

    <target name="RunTestsNew">
        <junit printsummary="yes" haltonfailure="no" >
        <test name
me="com.nab.banking.util.NabTestSuite" />
						<classpath>
                <pathelement path="d:\junit3.7" />
					
        </junit>
      </target>


I have included Ant's optional.jar in my classpath.
Any help would be much appreciated.

Thanks,

Matt
----------
<error message>

java.lang.AbstractMethodError
        at
junit.framework.TestResult.addFailure(TestResult.java:46)
        at
junit.framework.TestResult.runProtected(TestResult.java:127)
        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
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(JUnitTestRunner.java:202)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:268)
        at
org.apache.tools.ant.Target.execute(Target.java:153)
        at
org.apache.tools.ant.Project.runTarget(Project.java:819)
        at
org.apache.tools.ant.Project.executeTarget(Project.java:533)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:507)
        at
org.apache.tools.ant.Main.runBuild(Main.java:421)
        at
org.apache.tools.ant.Main.main(Main.java:149)



http://shopping.yahoo.com.au - Yahoo! Shopping
- Get organised for Christmas early this year!

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message