Re: EOEditingContext for JUnit
Re: EOEditingContext for JUnit
- Subject: Re: EOEditingContext for JUnit
- From: "Chris Meyer" <email@hidden>
- Date: Tue, 25 Mar 2008 17:54:47 -0700
> If all you need to do is reset the model's connection privileges,
> that's easy.
Thanks! That code looks like it will do the trick for me. I don't know if I would call it "easy" though ;)
On Tue, Mar 25, 2008 at 11:46 AM, Zak Burke <
email@hidden> wrote:
On Mon, Mar 24, 2008 at 4:48 PM, Chris Meyer <
email@hidden> wrote:
> Thanks. That seems to work. I created a new database config, set it to
> Memory and could easily reproduce the problem.
>
> Now... is there any way to choose the database config at runtime so that for
> my regular launch of the WOApplication, it uses one database config, and for
> my launch of the JUnit tests, it uses the other config?
If all you need to do is reset the model's connection privileges,
that's easy. Add the following to your Properties file, replacing
modelname with the actual name of your model:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden