Monday, February 21, 2011

weird effect with UmbrellaExceptions in GWTTestCase?

I noticed a weird effect if an UmbrellaException is thrown inside a
GWTTestCase. The test does not fail but hangs until timeout. Can
someone confirm this behavior?

my code to test this:

public void test() {
Set<Throwable> exceptions = new HashSet<Throwable>();
exceptions.add(new NullPointerException("test"));
throw new UmbrellaException(exceptions);
}

The problem occurs in devMode and webMode, so I think its a problem
with the 'communication' between the GWTTestCase and JUnit.

Other exceptions seem to get forwarded to junit as expected and let
the test fail.
I use gwt 2.1.1 in eclipse

Any ideas?

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate