Revision: 8652
Author: p...@google.com
Date: Thu Aug 26 05:38:09 2010
Log: Fixing regex.split test failure due to inconsistent browser implementations.

Review at http://gwt-code-reviews.appspot.com/801801

Review by: con...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=8652

Modified:
 /trunk/user/test/com/google/gwt/safehtml/shared/GwtSafeHtmlUtilsTest.java

=======================================
--- /trunk/user/test/com/google/gwt/safehtml/shared/GwtSafeHtmlUtilsTest.java Thu Aug 26 03:07:17 2010 +++ /trunk/user/test/com/google/gwt/safehtml/shared/GwtSafeHtmlUtilsTest.java Thu Aug 26 05:38:09 2010
@@ -45,31 +45,31 @@
         "f"bar '<&em><e/m>oo&bar", escaped);
   }

-  public void disabled_testEscape_withEntities1() {
+  public void testEscape_withEntities1() {
     String escaped = SafeHtmlUtils.htmlEscapeAllowEntities(
         "f\"bar \'<&em><e/m>oo&bar");
     assertEquals(
         "f&quot;bar &#39;&lt;&amp;em&gt;&lt;e/m&gt;oo&amp;bar", escaped);
   }

-  public void disabled_testEscape_withEntities2() {
+  public void testEscape_withEntities2() {
     String escaped = SafeHtmlUtils.htmlEscapeAllowEntities("& foo &lt;");
     assertEquals("&amp; foo &lt;", escaped);
   }

-  public void disabled_testEscape_withEntities3() {
+  public void testEscape_withEntities3() {
     String escaped = SafeHtmlUtils.htmlEscapeAllowEntities(
         "<foo> &amp; <em> bar &#39; baz");
     assertEquals("&lt;foo&gt; &amp; &lt;em&gt; bar &#39; baz", escaped);
   }

-  public void disabled_testEscape_withEntities4() {
+  public void testEscape_withEntities4() {
     String escaped = SafeHtmlUtils.htmlEscapeAllowEntities(
         "&foo &&amp; bar &#39; baz&");
     assertEquals("&amp;foo &amp;&amp; bar &#39; baz&amp;", escaped);
   }

-  public void disabled_testEscape_withEntitiesInvalidEntities() {
+  public void testEscape_withEntitiesInvalidEntities() {
     String escaped = SafeHtmlUtils.htmlEscapeAllowEntities(
         "&a mp;&;&x;&#;&#x;");
     assertEquals("&amp;a mp;&amp;;&x;&amp;#;&amp;#x;", escaped);

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

Reply via email to