James Scott
unread,Dec 28, 2012, 3:15:14 PM12/28/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Hello all-
I'm trying to use JMockit in a GWTTestCase (JUnit 3, for what it's worth) and I'm not having any luck. I have jmockit.jar on my classpath for the test, but when I run it, I get this error message:
[ERROR] Line 50: No source code is available for type mockit.NonStrictExpectations; did you forget to inherit a required module?
Line 50 is where I have my NonStrictExpectations declared in my test case. Right now, it's empty.
I tried TRACE-level logging of the unit test run in Eclipse, and I get similar "no source code available" errors for other classes in the application GWT client code, but those are not under test and not in the same module as the code under test, so I don't think those are interfering.
My classpath includes my Eclipse output dir, GWT jars, jmockit.jar and junit.jar. Is there something else that should be in the classpath?
Thanks,
JLS