Thanks Daniel, adding gwt-dev/core/super/ gwt-user/core/src/ gwt-user/core/super gwt-user/code/test
works. Michael On Friday, February 12, 2016 at 7:47:38 AM UTC-5, Daniel Kurka wrote: > > Hi Michael, > > you are probably missing adding all required source roots to the class > pathso that the compiler can find the .java .files. > > If you go to your Run Configuration under Classpath, hit adavanced and add > all required folders > > At least you should add: > > dev/core/super/ > user/src/ > user/super/ > user/test/ > user/test-super/ > > Hope that helps, > Daniel > > > > > On Fri, Feb 12, 2016 at 12:02 PM Michael Zhou <[email protected] > <javascript:>> wrote: > >> I have a test under gwt-user/core/test/com/google/gwt/emultest/ that I >> want to run in Eclipse. >> I imported gwt-user and gwt-dev according to trunk/eclipse/README.md. >> When I run the test as a JUnit test, I get: >> >> com.google.gwt.junit.JUnitFatalLaunchException: The test class >> 'com.google.gwt.emultest.java.util.BitSetTest' was not found in module >> 'com.google.gwt.emultest.EmulSuite'; no compilation unit for that type was >> seen >> at >> com.google.gwt.junit.JUnitShell.checkTestClassInCurrentModule(JUnitShell.java:734) >> at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1327) >> at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1283) >> at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:672) >> at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:421) >> at junit.framework.TestCase.runBare(TestCase.java:134) >> at junit.framework.TestResult$1.protect(TestResult.java:110) >> at junit.framework.TestResult.runProtected(TestResult.java:128) >> at junit.framework.TestResult.run(TestResult.java:113) >> at junit.framework.TestCase.run(TestCase.java:124) >> at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:247) >> at junit.framework.TestSuite.runTest(TestSuite.java:243) >> at junit.framework.TestSuite.run(TestSuite.java:238) >> at >> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) >> at >> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86) >> at >> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) >> at >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) >> at >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) >> at >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) >> at >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) >> >> This seems to happen in any GWTTestCase I tried to run. >> >> I also see: Could not find the GWT compiler jarfile. Serialization errors >> might occur when accessing the persistent unit cache. >> from the Eclipse Console. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "GWT Contributors" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-web-toolkit-contributors/d09b3d03-9111-4109-a735-e33b5c0630a3%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/d09b3d03-9111-4109-a735-e33b5c0630a3%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/0c0fea4f-c43a-4428-a948-f01874aa8c05%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
