[ http://jira.codehaus.org/browse/MGWT-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215023#action_215023 ]
Jon Vaughan commented on MGWT-175: ---------------------------------- Me too - "validating compiled units" picks up on classes that are not in the include path, whether I am running tests individually or as part of a suite. > Warnings from tests that are excluded during gwt:test > ----------------------------------------------------- > > Key: MGWT-175 > URL: http://jira.codehaus.org/browse/MGWT-175 > Project: Maven 2.x GWT Plugin > Issue Type: Bug > Affects Versions: 1.2 > Reporter: Micah Whitacre > Priority: Minor > Attachments: example-project.tar.gz > > > I currently have a project setup that combines standard JUnit 4 tests along > with the GWTTestCase tests. I have it configured[1] based on the testing > guide for how to separate the tests. The build works however I get warning > for tests that are supposed be excluded from being ran during the gwt:test > goal. > [INFO] [surefire:test {execution: default-test}] > [INFO] Surefire report directory: > /home/mw010351/workspaces/preferences/example-project/target/surefire-reports > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running com.example.project.client.SimpleTest > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec > Results : > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 > [INFO] [gwt:test {execution: test}] > [INFO] using GWT jars for specified version 2.0.0 > [INFO] establishing classpath list (scope = test) > [INFO] > [INFO] ------------------------------------------------------- > [INFO] T E S T S > [INFO] ------------------------------------------------------- > [INFO] Running junit.framework.testsu...@11975b59 > [INFO] Validating newly compiled units > [INFO] [ERROR] Errors in > 'file:/home/mw010351/workspaces/preferences/example-project/src/test/java/com/example/project/client/SimpleTest.java' > [INFO] [ERROR] Line 10: No source code is available for type > org.junit.Assert; did you forget to inherit a required module? > [INFO] Validating newly compiled units > [INFO] [ERROR] Errors in > 'file:/home/mw010351/workspaces/preferences/example-project/src/test/java/com/example/project/client/SimpleTest.java' > [INFO] [ERROR] Line 10: No source code is available for type > org.junit.Assert; did you forget to inherit a required module? > [INFO] Hello World > [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.818 > sec > [INFO] > [INFO] Results : > [INFO] > [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [1] - http://mojo.codehaus.org/gwt-maven-plugin/user-guide/testing.html -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email