Tuesday 12 February 2013

gwt test disarm

Sometime a test case is using a production code which call GWT.create.
That ends up with exception.

The best option is to refactor a production code ofc.
If this is not possible, the last resort is to disarm GWT.create checks in your test.