Running TestCase from IDEA

36 views
Skip to first unread message

Danilo Reinert

unread,
Oct 4, 2014, 1:42:28 AM10/4/14
to google-web-tool...@googlegroups.com
I've already set-up the gwt project in Intellij, excluding the super sources, and I can compile with success.
But some testcases I can run from the IDE without any problem. Others, there's a classpath problem.
See this log:

Tracing compile failure path for type 'org.hibernate.jsr303.tck.tests.constraints.application.ValidationRequirementGwtTest'
   [ERROR] Errors in 'file:/home/reinert/gwt/trunk/user/test/org/hibernate/jsr303/tck/tests/constraints/application/ValidationRequirementGwtTest.java'
      [ERROR] org.hibernate.jsr303.tck.tests.constraints.application.ValidationRequirementTest cannot be resolved to a type
   [ERROR] Errors in 'org/hibernate/jsr303/tck/tests/constraints/application/ValidationRequirementTest.java'
      [ERROR] Line 45: No source code is available for type org.jboss.testharness.AbstractTest; did you forget to inherit a required module?
      [ERROR] Line 59: No source code is available for type org.hibernate.jsr303.tck.util.TestUtil; did you forget to inherit a required module?

com.google.gwt.junit.JUnitFatalLaunchException: The test class 'org.hibernate.jsr303.tck.tests.constraints.application.ValidationRequirementGwtTest' had compile errors; check log for details
...

I've already tried many things to add these missing classes to the path of the running test, but I had no success.
Has anyone solved a problem like that?
Reply all
Reply to author
Forward
0 new messages