harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r538493 - /harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java.injected/javax/swing/text/html/MinimalHTMLWriterTest.java
Date Wed, 16 May 2007 09:18:08 GMT
Author: apetrenko
Date: Wed May 16 02:18:03 2007
New Revision: 538493

URL: http://svn.apache.org/viewvc?view=rev&rev=538493
Log:
Patch for HARMONY-2379 "[classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest"

Modified:
    harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java.injected/javax/swing/text/html/MinimalHTMLWriterTest.java

Modified: harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java.injected/javax/swing/text/html/MinimalHTMLWriterTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java.injected/javax/swing/text/html/MinimalHTMLWriterTest.java?view=diff&rev=538493&r1=538492&r2=538493
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java.injected/javax/swing/text/html/MinimalHTMLWriterTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java.injected/javax/swing/text/html/MinimalHTMLWriterTest.java
Wed May 16 02:18:03 2007
@@ -102,11 +102,11 @@
 
         writer.writeAttributes(attrs);
         if (isHarmony()) {
-            assertEquals("  font-style: italic;~  font-family: serif;~",
-                         out.toString());
+            assertTrue("  font-style: italic;~  font-family: serif;~".equals(out.toString())
+                       ^ "  font-family: serif;~  font-style: italic;~".equals(out.toString()));
         } else {
-            assertEquals("  family:serif;~  italic:italic;~",
-                         out.toString());
+            assertTrue("  family:serif;~  italic:italic;~".equals(out.toString())
+                       ^ "  italic:italic;~  family:serif;~".equals(out.toString()));
         }
     }
 



Mime
View raw message