harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r1003094 - /harmony/enhanced/java/trunk/classlib/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
Date Thu, 30 Sep 2010 14:59:00 GMT
Author: odeakin
Date: Thu Sep 30 14:58:59 2010
New Revision: 1003094

URL: http://svn.apache.org/viewvc?rev=1003094&view=rev
Log:
Modify format test according to comments in HARMONY-6525 ([classlib][text] DecimalFormatTest
tests fail) - I believe this is a non-bug difference and the behaviour of ICU is correct in
this case.

Modified:
    harmony/enhanced/java/trunk/classlib/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java

Modified: harmony/enhanced/java/trunk/classlib/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java?rev=1003094&r1=1003093&r2=1003094&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
Thu Sep 30 14:58:59 2010
@@ -421,7 +421,7 @@ public class DecimalFormatTest extends T
         assertEquals(maxIntDigit, form.getMaximumIntegerDigits());
 
         // regression test for HARMONY-878
-        assertTrue(new DecimalFormat("0\t0").getMaximumIntegerDigits() > 0);
+        assertTrue(new DecimalFormat("0\t'0'").getMaximumIntegerDigits() > 0);
     }
 
     public void test_getMinimumIntegerDigits() {



Mime
View raw message