Reviewers: amitmanjhi,

Description:
A couple of tests sporadically fail in HtmlUnit.  Disabling them until
we have time to look into it.

Please review this at http://gwt-code-reviews.appspot.com/300801/show

Affected files:
  user/test/com/google/gwt/emultest/java/util/TreeMapTest.java
  user/test/com/google/gwt/user/client/ui/PopupTest.java


Index: user/test/com/google/gwt/emultest/java/util/TreeMapTest.java
===================================================================
--- user/test/com/google/gwt/emultest/java/util/TreeMapTest.java (revision 7831) +++ user/test/com/google/gwt/emultest/java/util/TreeMapTest.java (working copy)
@@ -17,6 +17,8 @@

 import com.google.gwt.core.client.GWT;
 import com.google.gwt.core.client.JavaScriptException;
+import com.google.gwt.junit.DoNotRunWith;
+import com.google.gwt.junit.Platform;

 import org.apache.commons.collections.TestMap;

@@ -1131,6 +1133,7 @@
    * @see java.util.Map#put(Object, Object)
    */
   @SuppressWarnings("unchecked")
+  @DoNotRunWith(Platform.HtmlUnitUnknown)
   public void testPut_throwsClassCastException_key() {
     // The _throwsUnsupportedOperationException version of this test will
     // verify that the method is not supported.
Index: user/test/com/google/gwt/user/client/ui/PopupTest.java
===================================================================
--- user/test/com/google/gwt/user/client/ui/PopupTest.java      (revision 7831)
+++ user/test/com/google/gwt/user/client/ui/PopupTest.java      (working copy)
@@ -20,6 +20,8 @@
 import com.google.gwt.dom.client.Element;
 import com.google.gwt.event.logical.shared.CloseEvent;
 import com.google.gwt.event.logical.shared.CloseHandler;
+import com.google.gwt.junit.DoNotRunWith;
+import com.google.gwt.junit.Platform;
 import com.google.gwt.junit.client.GWTTestCase;
 import com.google.gwt.user.client.History;
 import com.google.gwt.user.client.Timer;
@@ -162,6 +164,7 @@
* behavior because, when we detach a {...@link MenuBar} from the page, it closes
    * all of its sub menus, each located in a different {...@link PopupPanel}.
    */
+  @DoNotRunWith(Platform.HtmlUnitUnknown)
   public void testDependantPopupPanel() {
     // Create the dependent popup
     final PopupPanel dependantPopup = createPopupPanel();


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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to