Sorry folks for taking up the ether, solved this 2 secs after sending this
mail.

----- Original Message -----
From: "James Cooper" <[EMAIL PROTECTED]>
To: "Turbine Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 21, 2001 6:08 PM
Subject: JUnit tests and Turbine


> Hi folks,
> I'm trying to create a number of JUnit tests for some of my core apps
built
> around turbine. Essentially starting with the OM layer and ensuring the
> object I've created behave in the same way.
>
> I'm have a problem using Criteria's though...
>
>                 Criteria crit = new Criteria();
>                 Vector v = UslPeer.doSelect(crit);
>
> This is created as per usual from a test case that override BaseTestCase.
> But as I run it throws the following failure
>
> 1)
>
testAddString(com.maxware.fls.om.test.CriteriaTest)junit.framework.Assertion
> FailedError: Error getting information Connection object is null!
>
> Do I have to explicitly define a connection to the DB? Any ideas would be
> great.
>
> Cheers,
> James
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to