Reviewers: cromwellian,
Description:
Fix UiSuite to pass when test methods are run in a different order.
The symptom was that many tests would fail, starting with
RootPanelTest.testGetById(). I don't know the root cause, but it seems
that
leaving a RichTextArea with focus in the RootPanel screwed things up
somehow.
Please review this at http://gwt-code-reviews.appspot.com/1795804/
Affected files:
M user/test/com/google/gwt/user/client/ui/RichTextAreaTest.java
Index: user/test/com/google/gwt/user/client/ui/RichTextAreaTest.java
===================================================================
--- user/test/com/google/gwt/user/client/ui/RichTextAreaTest.java (revision
11175)
+++ user/test/com/google/gwt/user/client/ui/RichTextAreaTest.java (working
copy)
@@ -107,6 +107,7 @@
});
RootPanel.get().add(rta);
rta.setFocus(true);
+ RootPanel.get().remove(rta);
// Webkit based browsers will not fire a focus event if the browser
window
// is behind another window, so we can only test that this doesn't
cause
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors