ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maarten roosendaal <>
Subject problem running ant/junit from Eclipse
Date Mon, 16 Jan 2006 08:13:53 GMT

I have create a MultiThreadedTestCase based on the one
descibed in
It uses an Innerclass that extends TestCaseRunnable
that implements Runnable.

When i run the test from Eclipse it works fine. When i
run the test from an ANT build-file it fails with the
following message:
has no public constructor TestCase(String name) or

junit.framework.AssertionFailedError: Class
has no public constructor TestCase(String name) or

What could cause this problem when simply running the
unittest WITHOUT ANT is working fine? I know a
TestClass should extend the TestCase-class but when
implementing Runnable you have a problem with the
run(). But this does not seem to be the problem
otherwise the problem would occur in both instances.

Hope someone has an idea.


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message