The test still finishes in Eclipse, so when I go to that URL I get an 
ERR_CONNECTION_REFUSED...

On Friday, February 12, 2016 at 4:33:32 PM UTC-5, Daniel Kurka wrote:
>
> If you want to see the console output use a browser to do so, simply pass 
> this in your args:
>
> -Dgwt.args='-runStyle Manual -style PRETTY -setProperty 
> compiler.stackMode=native -port 5454'
>
> Once the test is compiled it will print a url that you can paste into any 
> browser and run the test there. This will also allow you to do debugging 
> directly in that browser
>
>
> On Fri, Feb 12, 2016 at 7:42 PM Michael Zhou <[email protected] 
> <javascript:>> wrote:
>
>> Hi Daniel,
>>
>> Is there a way to print / log stuff / debug when running a GWTTestCase in 
>> Eclipse? System.out.println() or breakpoints aren't working for me.
>>
>> 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]> 
>>> 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].
>>>> 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] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/c851b2a0-f711-407f-8b8e-2b961abc8512%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/c851b2a0-f711-407f-8b8e-2b961abc8512%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/099a6381-a0a8-40c7-906f-2fbe9c91fb5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to