harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r422300 - /incubator/harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
Date Sat, 15 Jul 2006 22:12:39 GMT
Author: ndbeyer
Date: Sat Jul 15 15:12:39 2006
New Revision: 422300

URL: http://svn.apache.org/viewvc?rev=422300&view=rev
Log:
Apply patch for HARMONY-878: [classlib][text]unexpected IllegalArgumentException for new DecimalFormat("0\t9")

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

Modified: incubator/harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java?rev=422300&r1=422299&r2=422300&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
Sat Jul 15 15:12:39 2006
@@ -408,6 +408,8 @@
         assertEquals(maxIntDigit, nform.getMaximumIntegerDigits());
         assertEquals(maxIntDigit, form.getMaximumIntegerDigits());
 
+        // regression test for HARMONY-878
+        assertTrue(new DecimalFormat("0\t0").getMaximumIntegerDigits() > 0);
     }
 
     public void test_getMinimumIntegerDigits() {



Mime
View raw message