Re: WOUnit: loading models from other frameworks
Re: WOUnit: loading models from other frameworks
- Subject: Re: WOUnit: loading models from other frameworks
- From: Paul Hoadley <email@hidden>
- Date: Sun, 26 Jun 2011 09:37:28 +0930
On 26/06/2011, at 8:30 AM, Paul Hoadley wrote:
> On 26/06/2011, at 4:23 AM, Henrique Prange wrote:
>
>> Is the framework B in the classpath when running your tests? WOUnit rules are unable to load eomodels for bundles that are not in the classpath (in this case the test's classpath).
>>
>> If framework B is in classpath, the following configuration should be enough:
>>
>> public MockEditingContext ec = new MockEditingContext("Foo", "SomeModel");
>
> That's what I would have thought, and yes framework B is on the classpath.
Let me revise that slightly. On the classpath (built by WOPath in build.xml) are all the JARs contained within Framework B, but none of those contain the model. How do I make the model visible at test time?
--
Paul.
http://logicsquad.net/
_______________________________________________
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