• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs


  • Subject: Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
  • From: Q <email@hidden>
  • Date: Fri, 11 Dec 2009 16:11:47 +1000

I ran into this recently too. It seemed to resolve itself after I did the following:

1. Update wonder
2. Ensure all tests classes that use EOF inherit from ERXTestCase
3. Add the framework to a test app (the tests were part of a framework)
4. Create a run configuration for the tests that runs from the test app's build folder

The problem I was having seemed to stem from the model somehow being unsuccessfully loaded twice, how this happened, or why the failures were unpredictable I didn't have the time to determine.

On 06/12/2009, at 1:39 PM, Paul Hoadley wrote:

> On 06/12/2009, at 1:32 PM, Mike Schrag wrote:
>
>> i ran into this in one of the wonder tests as well ... no idea what is causing it offhand, but i didn't really spend much time trying to figure it out, either.
>
> Thanks for the reply.  Did you come up with a workaround, or just ignore it?
>
>
> --
> Paul.
>
> w  http://logicsquad.net/
> h  http://paul.hoadley.name/
>
>
> _______________________________________________
> 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



--
Seeya...Q

Quinton Dolan - email@hidden
Gold Coast, QLD, Australia (GMT+10)




 _______________________________________________
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

  • Follow-Ups:
    • Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
      • From: Paul Hoadley <email@hidden>
References: 
 >JUnit4 testing of EOs: InvocationTargetException on subsequent runs (From: Paul Hoadley <email@hidden>)
 >Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs (From: Paul Hoadley <email@hidden>)
 >Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs (From: Mike Schrag <email@hidden>)
 >Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: Connection to Postgresql...
  • Next by Date: Re: Dynamic Frame Resize
  • Previous by thread: Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
  • Next by thread: Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
  • Index(es):
    • Date
    • Thread