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-6526) [classlib][text] SimpleDateFormatTest has failures
Date Thu, 27 May 2010 21:47:38 GMT
[classlib][text] SimpleDateFormatTest has failures
--------------------------------------------------

                 Key: HARMONY-6526
                 URL: https://issues.apache.org/jira/browse/HARMONY-6526
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Mark Hindess
             Fix For: 6.0M2, 5.0M14


I see four failures on windows and linux:

SimpleDateFormatTest test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition
Failure Test 0: incorrect formatted text expected:<...y 256 256 256 2 02 3[8 038] 3 003
 PM PM 5 005...> but was:<...y 256 256 256 2 02 3[7 037] 3 003 PM PM 5 005...>

 junit.framework.ComparisonFailure: Test 0: incorrect formatted text expected:
 <...y 256 256 256 2 02 3[8 038] 3 003 PM PM 5 005...> but was:<...y 256 256 256
 2 02 3[7 037] 3 003 PM PM 5 005...>
 at org.apache.harmony.text.tests.java.text.Support_Format.t_FormatWithField
 (Support_Format.java:46)
 at
 org.apache.harmony.text.tests.java.text.Support_SimpleDateFormat.t_format_with_FieldPosition
 (Support_SimpleDateFormat.java:75)
 at
 org.apache.harmony.text.tests.java.text.SimpleDateFormatTest.test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition
 (SimpleDateFormatTest.java:336)
 at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)

SimpleDateFormatTest test_parseLjava_lang_StringLjava_text_ParsePosition Failure Wrong result:
M EE ''W input: 5 Tue '2 expected: Tue May 05 00:00:00 Europe/
 London 1970 result: Tue May 12 00:00:00 Europe/London 1970

 junit.framework.AssertionFailedError: Wrong result: M EE ''W input: 5 Tue '2
 expected: Tue May 05 00:00:00 Europe/London 1970 result: Tue May 12 00:00:00
 Europe/London 1970
 at
 org.apache.harmony.text.tests.java.text.SimpleDateFormatTest$TestFormat.parse
 (SimpleDateFormatTest.java:86)
 at
 org.apache.harmony.text.tests.java.text.SimpleDateFormatTest.test_parseLjava_lang_StringLjava_text_ParsePosition
 (SimpleDateFormatTest.java:678)
 at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)

SimpleDateFormatTest test_toLocalizedPattern Failure Wrong pattern: GyMdkHmsSEDFwWahKz

 junit.framework.AssertionFailedError: Wrong pattern: GyMdkHmsSEDFwWahKz
 at
 org.apache.harmony.text.tests.java.text.SimpleDateFormatTest.test_toLocalizedPattern
 (SimpleDateFormatTest.java:835)
 at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)

SimpleDateFormatTest test_parse_with_spaces Failure null

 junit.framework.AssertionFailedError: null
 at
 org.apache.harmony.text.tests.java.text.SimpleDateFormatTest.test_parse_with_spaces
 (SimpleDateFormatTest.java:895)
 at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)

-- 
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