Hi,

I'm following the MVP pattern and I'm writing many unit tests for the
presenters. In order to also test the methods that are protected or
have only package visibility I'm placing the unit tests in the same
package as the presenters, however they are located in a different
folder.

I.e. I have the following folders:

src/main/java/com/playground/client
src/test/java/com/playground/client

I'm using EasyMock 2.5 for my tests and Eclipse complains about the
usage of the Capture class:

"org.easymock.Capture 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."

Even if I explicitly remove the test classes from my GWT module (
<source path='client' excludes="**/*Test.java"/> ) Eclipse does not
care about it. GWT compile works fine and I can start the application
in the development mode, however, I do not get rid of the red error
markers in Eclipse.

Is there any possibility to tell the GWT Eclipse plugin (GWT version
2.1.1) that it shall ignore the src/test/java path?

Thanks in advance,
Joern

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to