Forgot the example:

Under a GWTTestCase..

public void testFailureGenerator() {
try {
     GWT.create(BadInterface.class);
} catch (RuntimeException e)  {
     return;
}
fail();
}

2010/7/22 Gal Dolber <gal.dol...@gmail.com>

> Hi, I am working on a gwtTestCase that call a gwtGenerator and do
> something, no matter what.
> I downloaded and patched eclEmma to work with gwt and it works fine.
> The problem I have is when I try to test a gwtGenerator failure, the test
> goes ok, it captures the exception ok, but eclEmma is not marking the code
> before the exception happen in green.
>
> It doesn't sound like a big problem, but even if I still make those tests,
> I don't know what failure cases I am really testing, and well.. I want to
> see 100% in emma report :)
>
> Is there anything to do here or thats just the way eclEmma works?
>
> --
> http://ajax-development.blogspot.com/
>



-- 
http://ajax-development.blogspot.com/

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

Reply via email to