On 19/06/2011, at 1:22 PM, Henrique Prange wrote:
> It seems the MockEditingContext was not initialized as a rule. I have seen
> this kind of behavior every time I forget the @Rule annotation.
>
> That's not the case though. The only reason I can see to ignore the @Rule
> annotation is an older version of the JUnit runner being used. Could you try
> to print the JUnit version for your test?
>
> System.out.println("JUnit version is: " + junit.runner.Version.id());
>
> If the JUnit version is 4.7 or higher, we will have to debug more carefully.
> Anyway, that is pretty weird.
JUnit version is: 4.8
I'm still not seeing any debug logging from wounit-1.1-debug.jar. Is there a
similar way to get WOUnit to output its version just to confirm it's picking up
the right JAR?
--
Paul.
http://logicsquad.net/
_______________________________________________
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]