Hello, i have create a GwtTestCase class.

package com.zoltar.rol.gwt.client.ui;

import com.google.gwt.junit.client.GWTTestCase;

public class ROLEditorTest extends GWTTestCase {

        @Override
        public String getModuleName() {
                // TODO Auto-generated method stub
                return "com.zoltar.rol.gwt.Start";
        }
        public void testSimple() {
                assertTrue(true);
        }
}

When I try to launch it, I have this error message :

com.google.gwt.junit.JUnitFatalLaunchException: The test class
'com.zoltar.rol.gwt.client.ui.Test' was not found in module
'com.zoltar.rol.gwt.StartTest'; no compilation unit for that type was
seen
at
com.google.gwt.junit.JUnitShell.checkTestClassInCurrentModule(JUnitShell.java:
193)
at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:628)
at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:150)
at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:
219)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:132)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:
130)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:
38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:
386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
196)


I check my .classpath file and I think that there are all the jars I
need.

<?xml version="1.0" encoding="UTF-8"?>
        <classpath>
                <classpathentry kind="src" path="test"/>
                <classpathentry kind="src" path="server"/>
                <classpathentry kind="src" path="client"/>
                <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/
org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre1.5.0_11"/
>
                <classpathentry kind="con"
path="org.eclipse.jst.server.core.container/
org.eclipse.jst.server.generic.runtimeTarget/JOnAS v4"/>
                <classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.web.container"/>
                <classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.module.container"/>
                <classpathentry kind="var" path="GWT_HOME/gwt-user.jar"/>
                <classpathentry kind="lib" path="lib/gwt-datepicker-r29.jar"/>
                <classpathentry kind="lib" path="D:/junit/junit.jar"/>
                <classpathentry kind="var" path="GWT_HOME/gwt-dev-windows.jar"/>
                <classpathentry kind="output" path="build/classes"/>
        </classpath>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to