Hello everyone,

As I was trying to figure out why gwt-maven isn't running my
GWTTestSuite and I came across a strange bug. It seems that when you
name your GWTTestCase "Test<name>" as the "Use GWTTestSuite padawan"
here 
(http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/testing.html)
says to, it's still being run. I created a new test project with the
archetype and I renamed the GWTTestExampleA to TestExampleA. Here's my
maven run:

[EMAIL PROTECTED]:~/work/gwt-example$ mvn test
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building gwt-maven-archetype-project
[INFO]    task-segment: [test]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to /home/arthur/work/gwt-example/target/classes
[INFO] [dependency:unpack {execution: unpack}]
[INFO] Configured Artifact: com.google.gwt:gwt-dev:linux-libs:1.5.3:zip
[INFO] Unpacking
/home/arthur/.m2/repository/com/google/gwt/gwt-dev/1.5.3/gwt-dev-1.5.3-linux-libs.zipto
 /home/arthur/.m2/repository/com/google/gwt/gwt-dev/1.5.3
with Includes null and excludes:null
[INFO] [gwt:compile {execution: default}]
[INFO] establishing classpath list (buildClaspathList - scope = COMPILE)
[INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM
for GWT dependencies
Compiling module com.example.Application
Compilation succeeded
Linking compilation into
/home/arthur/work/gwt-example/target/gwt-example-1.0-SNAPSHOT/com.example.Application
[INFO] [resources:testResources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/home/arthur/work/gwt-example/src/test/resources
[INFO] [compiler:testCompile]
[INFO] Compiling 2 source files to
/home/arthur/work/gwt-example/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
/home/arthur/work/gwt-example/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.example.AStandardNonGwtTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running com.example.client.TestExampleA
Loading module 'com.example.Application.JUnit'
   Loading inherited module 'com.example.Application'
      [ERROR] Unable to find 'com/example/Application.gwt.xml' on your
classpath; could be a typo, or maybe you forgot to include a classpath
entry for source?
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.697
sec <<< FAILURE!

Results :

Tests in error:
  testSomething(com.example.client.TestExampleA)

Tests run: 2, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /home/arthur/work/gwt-example/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36 seconds
[INFO] Finished at: Wed Nov 19 14:57:40 EST 2008
[INFO] Final Memory: 16M/29M
[INFO] ------------------------------------------------------------------------


--
Arthur Kalmenson

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" 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/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to