Wednesday, August 22, 2018

Re: Problem with using gwtmockito and

Even if it's not latest (bytebuddy), it looks good...

Your trace in the issue (https://github.com/google/gwtmockito/issues/75) points to line 197 of GwtMockitoTestRunner (btw. the only gwtmockito line in the trace)

	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)  	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)  	at com.google.gwtmockito.GwtMockitoTestRunner.run(GwtMockitoTestRunner.java:197)  	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)  	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)  	at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)  	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)  	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)

but this line (classes.add(Widget.class);) did not match with the stack https://github.com/google/gwtmockito/blob/master/gwtmockito/src/main/java/com/google/gwtmockito/GwtMockitoTestRunner.java#L197

Are you sure you have the right gwtmockito (and only one version) in the path? Or did you somehow patch it?

In addition I assume the pure mockito (without gwtmockito) works for you with Java9/10?!

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment