Hi,
http://stackoverflow.com/questions/6273829/error-performing-gwt-unit-test
I have a basic unit test:
public class LogViewTest extends GWTTestCase {
@Override
public String getModuleName() {
return "adiib.harmoniser";
}
public void testSimple() {
assertTrue(true);
}
}
I am receiving the following exception when attempting to run the
above test:
Testcase: testSimple(adiib.client.view.LogViewTest): Caused an ERROR
warningThreshold java.lang.NoSuchFieldError: warningThreshold at
com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:
340) at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.
(JdtCompiler.java:174) at
com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:616)
at com.google.gwt.dev.javac.CompilationStateBuilder
$CompileMoreLater.compile(CompilationStateBuilder.java:193) at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
390) at
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
275) at
com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
325) at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:
1322) at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:
1289) at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:631)
at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:
441) at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:
296)
I'm using NetBeans. This same test case works fine under Eclipse.
Any ideas ?
WulfgarPro
--
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.