I thought of that too... I wasn't sure it it was needed or not so I left it out just to have a slightly simpler class... however, I did try putting it in and it doesn't make the error go away. I'll leave it in for now anyway, but that doesn't seem to be it.
-- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, February 17, 2005 2:38 pm, [EMAIL PROTECTED] said: > I think your test class needs a constructor (inserted below). > >> -----Original Message----- >> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] >> Sent: Thursday, February 17, 2005 11:29 AM >> To: user@ant.apache.org >> Subject: JUnit task problem >> >> >> Hi again... having a bit of problem with my first attempt at >> a JUnit task... >> >> I have the following test case: >> >> import junit.framework.TestCase; >> public class DisbursementFBTestCase extends TestCase { > > public DisbursementFBTestCase(String testName) { > super(testName); > } > >> public void testDisbursementFBTestCase() throws Exception { >> int answer = 2; >> assertEquals((1+1), answer); >> } >> } >> ... > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]