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
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
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
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,
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
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
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
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
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((