| commit | 65575c46805d6c0a798d7cc1693369139a9a2041 | [log] [tgz] |
|---|---|---|
| author | jlabanca@google.com <jlabanca@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Feb 11 20:56:38 2009 +0000 |
| committer | jlabanca@google.com <jlabanca@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed Feb 11 20:56:38 2009 +0000 |
| tree | a7f381ceef1dd7b3d4382237d2e0148c9963ff0b | |
| parent | 81bc85282f2bfcb185ebca3c1ca3ed34d226bb40 [diff] |
Added a tearDown to PopupTest to remove leftover popups from the RootPanel, ensuring that they don't interfere with other tests. Patch by: jlabanca Review by: ecc (desk) git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/1.6@4694 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/user/client/ui/PopupTest.java b/user/test/com/google/gwt/user/client/ui/PopupTest.java index fd735a9..7d8768c 100644 --- a/user/test/com/google/gwt/user/client/ui/PopupTest.java +++ b/user/test/com/google/gwt/user/client/ui/PopupTest.java
@@ -281,6 +281,11 @@ return new PopupPanel(); } + @Override + protected void gwtTearDown() throws Exception { + RootPanel.get().clear(); + } + /** * @see #testDependantPopupPanel() */