Removed flaky test cases in HtmlUnit.
Review by: kjin@google.com
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7854 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/user/client/rpc/UnicodeEscapingTest.java b/user/test/com/google/gwt/user/client/rpc/UnicodeEscapingTest.java
index 102cf10..1303260 100644
--- a/user/test/com/google/gwt/user/client/rpc/UnicodeEscapingTest.java
+++ b/user/test/com/google/gwt/user/client/rpc/UnicodeEscapingTest.java
@@ -151,7 +151,9 @@
* equivalent in that case.
*
* @throws InvalidCharacterException
+ * HtmlUnit test failed intermittently in draft mode.
*/
+ @DoNotRunWith(Platform.HtmlUnitUnknown)
public void testClientToServerBMPLow() throws InvalidCharacterException {
delayTestFinish(TEST_FINISH_DELAY_MS);
clientToServerVerifyRange(Character.MIN_CODE_POINT,
@@ -185,7 +187,10 @@
* issue, particularly with combining marks, though they should be logically
* equivalent in that case. Surrogate characters are also not tested here,
* see {@link #disabled_testServerToClientBMPSurrogates()}.
+ *
+ * HtmlUnit test failed intermittently in draft mode.
*/
+ @DoNotRunWith(Platform.HtmlUnitUnknown)
public void testServerToClientBMP() {
delayTestFinish(TEST_FINISH_DELAY_MS);
serverToClientVerify(Character.MIN_CODE_POINT,
diff --git a/user/test/com/google/gwt/user/client/ui/DialogBoxTest.java b/user/test/com/google/gwt/user/client/ui/DialogBoxTest.java
index 4527bb5..d6603ae 100644
--- a/user/test/com/google/gwt/user/client/ui/DialogBoxTest.java
+++ b/user/test/com/google/gwt/user/client/ui/DialogBoxTest.java
@@ -17,6 +17,8 @@
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.junit.DoNotRunWith;
+import com.google.gwt.junit.Platform;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.DeferredCommand;
@@ -110,6 +112,10 @@
});
}
+ /**
+ * HtmlUnit test failed intermittently in nometa mode.
+ */
+ @DoNotRunWith(Platform.HtmlUnitUnknown)
@Override
public void testDependantPopupPanel() {
// Create the dependent popup