Closed GoogleCodeExporter closed 9 years ago
What is the lastest version our test was successfully running with ?
Did you follow all steps of the migration guide ?
(http://code.google.com/p/gwt-test-utils/wiki/HowToMigrateToLastestVersion)
Original comment by gael.laz...@gmail.com
on 31 Mar 2011 at 10:28
Hello, i got the same issue, but only when using sonar or cobertura maven
plugins.
Did you already succeed to run gwt-test-util with coverage tools ??
Thanks
Original comment by ave...@octo.com
on 8 Apr 2011 at 3:32
Here is the root exception :
Caused by: java.lang.RuntimeException: The @PatchClass annotated class
'com.octo.gwt.test.patchers.AutomaticPropertyContainerPatcher' must implements
Patcher interface and provide an empty constructor
at com.octo.gwt.test.internal.ConfigurationLoader.treatPatchClass(ConfigurationLoader.java:313)
at com.octo.gwt.test.internal.ConfigurationLoader.loadPatchersAndJavaScriptObjects(ConfigurationLoader.java:190)
at com.octo.gwt.test.internal.ConfigurationLoader.<init>(ConfigurationLoader.java:81)
Original comment by ave...@octo.com
on 8 Apr 2011 at 3:54
[deleted comment]
This error message wasn't very explicit, so I modified this portion of code to
have a finer reports in 0.28-SNAPSHOT
By the way, I added cobertura to the pom configuration and the test coverage
reports are well generated.
Does it work with the lastest snapshot available ?
Original comment by gael.laz...@gmail.com
on 2 May 2011 at 9:35
Hello,
I upgraded to 0.28-SNAPSHOT to figure it out.
So, I got the following issue, but only with sonar (I attached the full trace):
...
Caused by: com.octo.gwt.test.exceptions.GwtTestConfigurationException: The
@PatchClass annotated class
'com.octo.gwt.test.internal.patchers.CookiesPatcher' must implements Patcher
interface and provide an empty constructor
at
com.octo.gwt.test.internal.ConfigurationLoader.treatPatchClass(ConfigurationLoad
er.java:299)
at
com.octo.gwt.test.internal.ConfigurationLoader.loadPatchersAndJavaScriptObjects(
ConfigurationLoader.java:197)
at
com.octo.gwt.test.internal.ConfigurationLoader.<init>(ConfigurationLoader.java:8
5)
at
com.octo.gwt.test.internal.ConfigurationLoader.createInstance(ConfigurationLoade
r.java:47)
at com.octo.gwt.test.internal.GwtClassLoader.<init>(GwtClassLoader.java:77)
at com.octo.gwt.test.internal.GwtClassLoader.<clinit>(GwtClassLoader.java:39)
Thanks
Original comment by fma...@octo.com
on 3 May 2011 at 4:09
Attachments:
It probably is a classloading issue. I'll try to get gwt-test-utils working
with sonar before releasing the 0.28 version.
Original comment by gael.laz...@gmail.com
on 4 May 2011 at 7:03
Sonar reports generation is working fine with gwt-test-utils-0.28. It should be
a configuration problem in your project.
gwt-test-utils documentation has been updated. You should have a look to it. If
possible, you also may provide your application project so I could check what's
wrong.
Original comment by gael.laz...@gmail.com
on 11 May 2011 at 10:41
I found the cause, i used the *useManifestOnlyJar* with false value in the
surefire configuration.
It is working now.
Original comment by ave...@octo.com
on 11 May 2011 at 5:08
Original comment by gael.laz...@gmail.com
on 26 May 2011 at 12:40
Original comment by gael.laz...@gmail.com
on 9 Jun 2011 at 3:30
Original issue reported on code.google.com by
sandeep....@gmail.com
on 31 Mar 2011 at 10:16Attachments: