Following the guidelines at
http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideDirectoriesPackageConventions
I've put my unit tests into a test/ folder.

In fact, in order to have Eclipse run the GWT tests as, well, "GWT
Unit Tests" and the server-side as ordinary "JUnit Tests", I've
created to additional subfolders: test/gwttests and test/unittests.

This all works as intended, and I can happily run the unit tests as
intended.

However, I find a bit annoying to receive this kind of errors when I
run the GWT Compiler:

Compiling module com.alertavert.gwt.simple.Simple_gwt
   Validating newly compiled units
      [ERROR] Errors in 'file:/home/marco/galileo-workspace/simple_gwt/
test/gwttests/com/alertavert/gwt/simple/client/
OneButtonPanelTest.java'
         [ERROR] Line 25: No source code is available for type
com.google.gwt.junit.client.GWTTestCase; did you forget to inherit a
required module?
      [ERROR] Errors in 'file:/home/marco/galileo-workspace/simple_gwt/
test/gwttests/com/alertavert/gwt/simple/client/Simple_gwtTest.java'
         [ERROR] Line 21: No source code is available for type
com.google.gwt.junit.client.GWTTestCase; did you forget to inherit a
required module?
   Compiling 6 permutations
   .....

Compilation succeeds, so, again, I could just grind my teeth and carry
on with life.
However, I still have that nagging feeling that I'm missing something
that will, eventually, blow up in my face, when I least can afford it:
does anyone know whether (a) this is "intended behaviour" and (b) is
there any way to tell the compiler "yes, dahlin', I know you can't
find GwtTestCase, but it's fine, please leave that test/ directory
alone, will ya?"

Thanks in advance!
-- 
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