harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6525) [classlib][text] DecimalFormatTest tests fail
Date Thu, 27 May 2010 21:35:37 GMT
[classlib][text] DecimalFormatTest tests fail
---------------------------------------------

                 Key: HARMONY-6525
                 URL: https://issues.apache.org/jira/browse/HARMONY-6525
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M14
            Reporter: Mark Hindess


I see four failures and 1 error on windows/x86 and linux/x86:

DecimalFormatTest  test_formatDLjava_lang_StringBufferLjava_text_FieldPosition
Test 0: incorrect end index for fieldjava.text.NumberFormat$Field(currency)
expected:<1> but was:<0>
at org.apache.harmony.text.tests.java.text.Support_Format.t_FormatWithField (Support_Format.java:55)
at org.apache.harmony.text.tests.java.text.Support_DecimalFormat.t_format_with_FieldPosition
(Support_DecimalFormat.java:49)
at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_formatDLjava_lang_StringBufferLjava_text_FieldPosition
(DecimalFormatTest.java:797)


DecimalFormatTest  test_formatJLjava_lang_StringBufferLjava_text_FieldPosition
##0.0E0: 123 expected:<12[3]E0> but was:<12[0]E0>
at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_formatJLjava_lang_StringBufferLjava_text_FieldPosition
(DecimalFormatTest.java:1052)

DecimalFormatTest  test_formatToCharacterIteratorLjava_lang_Object
Test 1: Format returned incorrect CharacterIterator for 350.76
at org.apache.harmony.text.tests.java.text.Support_Format.t_Format (Support_Format.java:63)
at org.apache.harmony.text.tests.java.text.Support_DecimalFormat.t_formatToCharacterIterator
(Support_DecimalFormat.java:140)
at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_formatToCharacterIteratorLjava_lang_Object
(DecimalFormatTest.java:1112)

DecimalFormatTest  test_parseLjava_lang_StringLjava_text_ParsePosition
Wrong result type multiplier 100: 9.223372036854776E16
at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_parseLjava_lang_StringLjava_text_ParsePosition
(DecimalFormatTest.java:1331)

DecimalFormatTest  test_getMaximumIntegerDigits
Error Unquoted special character '0' in pattern "0 0"
java.lang.IllegalArgumentException: Unquoted special character '0' in pattern "0 0"
at com.ibm.icu.text.DecimalFormat.patternError(DecimalFormat.java:4967)
at com.ibm.icu.text.DecimalFormat.applyPatternWithoutExpandAffix (DecimalFormat.java:4682)
at com.ibm.icu.text.DecimalFormat.createFromPatternAndSymbols (DecimalFormat.java:736)
at com.ibm.icu.text.DecimalFormat.(DecimalFormat.java:729)
at java.text.DecimalFormat.(DecimalFormat.java:588)
at org.apache.harmony.text.tests.java.text.DecimalFormatTest.test_getMaximumIntegerDigits
(DecimalFormatTest.java:424)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message