I tried to create a JUnit TestSuite within a GWT.
Added this to the Test Module as suggested in the Recipe.
The compiler produces the following error:
junit.framework.TestSuite can not be found in source packages. Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly. Test/src/com/mycompany/test/client AllTests.java
I added <inherits name="junit.framework.TestSuite"/> to gwt.xml. But still the error persists.
However when I setup the JUnit Run Configuration, it runs alright but with the following msg:
Analyzing source in module 'com.mycompany.test.ImageViewer2Test'
[ERROR] Errors in 'C:\SESWorkspace\Test\src\com\mycompany\test\client\AllTests.java'
[ERROR] Line 4: The import junit.framework.TestSuite cannot be resolved
[ERROR] Line 9: TestSuite cannot be resolved to a type
[ERROR] Line 9: TestSuite cannot be resolved to a type
Junit runs successfully however.
Is there a way to avoid these messages?