Revision: 6165
Author: [email protected]
Date: Fri Sep 18 15:24:57 2009
Log: Disable RTF tests that are clobbered by HTMLUnit bug

http://code.google.com/p/google-web-toolkit/source/detail?r=6165

Modified:
   
/branches/farewellSwt/user/test/com/google/gwt/user/client/ui/RichTextAreaTest.java

=======================================
---  
/branches/farewellSwt/user/test/com/google/gwt/user/client/ui/RichTextAreaTest.java
      
Thu Jul 16 17:54:03 2009
+++  
/branches/farewellSwt/user/test/com/google/gwt/user/client/ui/RichTextAreaTest.java
      
Fri Sep 18 15:24:57 2009
@@ -1,12 +1,12 @@
  /*
   * Copyright 2008 Google Inc.
- *
+ *
   * Licensed under the Apache License, Version 2.0 (the "License"); you may  
not
   * use this file except in compliance with the License. You may obtain a  
copy of
   * the License at
- *
+ *
   * http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,  
WITHOUT
   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -16,6 +16,8 @@
  package com.google.gwt.user.client.ui;

  import com.google.gwt.core.client.GWT;
+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.Timer;
  import com.google.gwt.user.client.ui.RichTextArea.BasicFormatter;
@@ -87,6 +89,7 @@
      }
    }

+  @DoNotRunWith(Platform.Htmlunit)
    public void testFormatAfterInitialize() {
      final RichTextArea area = new RichTextArea();
      RootPanel.get().add(area);
@@ -126,6 +129,7 @@
      }
    }

+  @DoNotRunWith(Platform.Htmlunit)
    public void testFormatWhenHidden() {
      final RichTextArea area = new RichTextArea();
      RootPanel.get().add(area);

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

Reply via email to