I face the same problem when I run my WOUnit tests locally from Ant:

    [junit] Cannot load model named 'SFFoundationEOModel'
    [junit] java.lang.IllegalArgumentException: Cannot load model named 
'SFFoundationEOModel'
    [junit]     at 
com.wounit.rules.AbstractEditingContextRule.loadModel(AbstractEditingContextRule.java:178)
    [junit]     at 
com.wounit.rules.AbstractEditingContextRule.<init>(AbstractEditingContextRule.java:86)
    [junit]     at 
com.wounit.rules.AbstractEditingContextRule.<init>(AbstractEditingContextRule.java:98)
    [junit]     at 
com.wounit.rules.TemporaryEditingContext.<init>(TemporaryEditingContext.java:78)
    [junit]     at 
net.starhealthcare.sffoundation.model.SFGoalTest.<init>(SFGoalTest.java:15)

On the other hand, my own test case stuff has a similar problem now:

    [junit] ------------- Standard Output ---------------
    [junit] Sep 22 11:52:27 N/A[N/A] WARN  er.extensions.migration.ERXMigrator  
- er.migration.modelNames is not set, defaulting to modelGroup.models() order 
instead.
    [junit] Sep 22 11:52:28 N/A[N/A] ERROR 
er.extensions.eof.ERXEntityClassDescription  - Entity SFIncident not found in 
the default model group!
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: 
testTimeContextIsAppended(net.starhealthcare.sffoundation.model.SFIncidentTest):
  Caused an ERROR
    [junit] Could not find EOClassDescription for entity name 'SFIncident' !
    [junit] java.lang.IllegalArgumentException: Could not find 
EOClassDescription for entity name 'SFIncident' !




On 21.09.2011, at 19:28, Chuck Hill wrote:

> 
> On 2011-09-20, at 10:08 PM, Paul Hoadley wrote:
> 
>> On 21/09/2011, at 2:26 PM, Chuck Hill wrote:
>> 
>>>>> If you 
>>>>> cd WT2.woa
>>>>> ./WT2
>>>>> does the app run and find any of the bundles?
>>>> 
>>>> Yep, runs and finds them all.
>>> 
>>> Wow.  The only thing that I can think of right now is that it _is_ 
>>> something to do with WOTest.  I just can't imagine what.  Is ERJars on your 
>>> classpath?
>> 
>> Yes, ERJars is on the classpath.
>> 
>> I'd love to blame WOUnit.  (Hi Henrique!)  I might have to put some more 
>> time into developing a minimal test case that I can ship to Henrique.
> 
> 
> I'd like to take a look at it too.
> 
> 
> -- 
> Chuck Hill             Senior Consultant / VP Development
> 
> Practical WebObjects - for developers who want to increase their overall 
> knowledge of WebObjects or who are trying to solve specific problems.    
> http://www.global-village.net/products/practical_webobjects
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/m.soutier%40starhealthcare.info
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to