In a non-GWT app it would be easy--just replace window.alert with an
empty function. You could try the same thing with JSNI, but I'm not
sure if it'll work--the compiler might be playing tricks on you. If
it doesn't work with JSNI, try putting a snippet of Javascript at the
top of your test HTML that replaces window.alert. If that doesn't
work, you might be hosed. If so, you'll have to modify your code such
that it doesn't call alert during test runs.
Ian
--
Tired of pop-ups, security holes, and spyware?
Try Firefox: http://www.getfirefox.com