http://gwt-code-reviews.appspot.com/738801/diff/6001/7002
File user/test/com/google/gwt/user/client/ui/TextBoxTest.java (right):

http://gwt-code-reviews.appspot.com/738801/diff/6001/7002#newcode67
user/test/com/google/gwt/user/client/ui/TextBoxTest.java:67:
assertEquals("  two space padding  ",a.getValueOrThrow());
space after the comma

http://gwt-code-reviews.appspot.com/738801/diff/6001/7002#newcode68
user/test/com/google/gwt/user/client/ui/TextBoxTest.java:68: } catch
(ParseException e) {
setText cannot throw a ParseException. Be sure that you've executed all
lines of a test when you write it.

To test this properly you'll need to put a mock parser in your TextBox
instance and then check that it was actually called.

http://gwt-code-reviews.appspot.com/738801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to