You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Oliver Deakin (JIRA)" <ji...@apache.org> on 2010/10/01 12:25:33 UTC

[jira] Commented: (HARMONY-6526) [classlib][text] SimpleDateFormatTest has failures

    [ https://issues.apache.org/jira/browse/HARMONY-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916852#action_12916852 ] 

Oliver Deakin commented on HARMONY-6526:
----------------------------------------

For the test_toLocalizedPattern I have raised an ICU bug: http://bugs.icu-project.org/trac/ticket/8003

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