Hi,
I was trying to execute the test but I got this error:
...
...
...
-filter.props:
build:
compile.emma.if.enabled:
-compile.emma.if.enabled:
compile.tests:
compile.emma.if.enabled:
-compile.emma.if.enabled:
compile.tests:
[mkdir] Created dir: /Users/Luis/Documents/workspace-gwt/gwt/build/
out/user/bin-test
[gwt.javac] Compiling 911 source files to /Users/Luis/Documents/
workspace-gwt/gwt/build/out/user/bin-test
[gwt.javac] /Users/Luis/Documents/workspace-gwt/gwt/user/test/com/
google/gwt/requestfactory/client/RequestFactoryTestBase.java:105:
incompatible types
[gwt.javac] found : com.google.gwt.autobean.shared.AutoBean<T>
[gwt.javac] required:
com.google.gwt.autobean.shared.AutoBean<com.google.gwt.requestfactory.shared.BaseProxy>
[gwt.javac] AutoBean<BaseProxy> restoredBean =
AutoBeanUtils.getAutoBean(restored);
[gwt.javac]
^
[gwt.javac] Note: Some input files use or override a deprecated API.
[gwt.javac] Note: Recompile with -Xlint:deprecation for details.
[gwt.javac] Note: Some input files use unchecked or unsafe operations.
[gwt.javac] Note: Recompile with -Xlint:unchecked for details.
[gwt.javac] 1 error
BUILD FAILED
/Users/Luis/Documents/workspace-gwt/gwt/build.xml:118: The following
error occurred while executing this line:
/Users/Luis/Documents/workspace-gwt/gwt/build.xml:27: The following
error occurred while executing this line:
/Users/Luis/Documents/workspace-gwt/gwt/build.xml:59: The following
error occurred while executing this line:
/Users/Luis/Documents/workspace-gwt/gwt/user/build.xml:118: Compile
failed; see the compiler error output for details.
Total time: 7 minutes 14 seconds
I provide a patch that solves the compile error, and I have run all of
subclasses of RequestFactoryTestBase (FindServiceTest,
RequestFactoryTest, RequestFactoryUnicodeEscapingTest and EditorTest)
with no errors.
Index: user/test/com/google/gwt/requestfactory/client/
RequestFactoryTestBase.java
===================================================================
--- user/test/com/google/gwt/requestfactory/client/
RequestFactoryTestBase.java (revision 9347)
+++ user/test/com/google/gwt/requestfactory/client/
RequestFactoryTestBase.java (working copy)
@@ -102,7 +102,7 @@
store = new DefaultProxyStore(store.encode());
s = req.getSerializer(store);
T restored = s.deserialize(id.getProxyClass(), key);
- AutoBean<BaseProxy> restoredBean =
AutoBeanUtils.getAutoBean(restored);
+ AutoBean<T> restoredBean = AutoBeanUtils.getAutoBean(restored);
assertNotSame(proxy, restored);
/*
* Performing a regular assertEquals() or even an
AutoBeanUtils.diff() here
I have compiled and run the tests with JDK 1.6 due to this issue
http://code.google.com/p/google-web-toolkit/issues/detail?id=5708.
Several tests failed and after 1h30m the execution is stuck with
ServletMappingSuite.
UiBinderGwtSuite ran out of memory and in the console, ant reported
tests failures and/or errors at least in BigIntegerSuite, RPCSuite,
EmulSuite, CrossSiteRunAsyncSuite, RequestFactoryJreSuite and a
timeout issue in ValidationClientGwtSuite
Did you know something about this or is something related with me or
my JDK? I'll run the tests again
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors