ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Kajsa.Ander...@thomson.com>
Subject RE: JUnit task problem
Date Thu, 17 Feb 2005 19:38:02 GMT
I think your test class needs a constructor (inserted below). 

> -----Original Message-----
> From: Frank W. Zammetti [mailto:fzlists@omnytex.com]
> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message