Re: SV: junit task problem

2005-08-11 Thread Steve Loughran
Ola Lie wrote: Hi again, The Java Communications API calls caused my problem. When I installed comm.jar og javax.comm.properties in the ant\lib directory and win32com.dll in the ant\bin directory, it worked all right. However, I do not know why this is necessary as long as I had the classpath s

SV: junit task problem

2005-08-07 Thread Ola Lie
directory where I originally installed java comm api. Best regards Ola -Opprinnelig melding- Fra: Ola Lie [mailto:[EMAIL PROTECTED] Sendt: 4. august 2005 03:51 Til: user@ant.apache.org Emne: junit task problem Hi, I have a class with a method getNames() which returns a List

junit task problem

2005-08-03 Thread Ola Lie
Hi, I have a class with a method getNames() which returns a List ( ArrayList). Then I have test class with a testGetNames() method which assertTrue if the List contains certain elements. The testGetNames() passes when I compile and run the test from the command prompt. (java "test class

RE: JUnit task problem

2005-02-17 Thread Frank W. Zammetti
t; http://www.manning-source.com/books/hatcher/hatcher_ch04.pdf (sample > chapter Testing with JUnit, from Java Development with Ant). > > Kajsa Anderson > >> -Original Message- >> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] >> Sent: Thursday, February 17,

RE: JUnit task problem

2005-02-17 Thread Dominique Devienne
obably want the first formatter. ... > -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 17, 2005 1:45 PM > To: Ant Users List > Subject: RE: JUnit task problem > > I though

RE: JUnit task problem

2005-02-17 Thread Kajsa.Anderson
h Ant). Kajsa Anderson > -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 17, 2005 1:45 PM > To: Ant Users List > Subject: RE: JUnit task problem > > > I thought of that too... I wasn't sure it it was needed or

RE: JUnit task problem

2005-02-17 Thread Frank W. Zammetti
to:[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: &g

RE: JUnit task problem

2005-02-17 Thread Kajsa.Anderson
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

JUnit task problem

2005-02-17 Thread Frank W. Zammetti
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 void testDisbursementFBTestCase() throws Exception { int answer = 2; assertEquals((