You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2010/05/27 23:47:38 UTC

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

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


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

Posted by "Oliver Deakin (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Oliver Deakin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916854#action_12916854 ] 

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

For java_text_ParsePosition failure I have raised an ICU bug: http://bugs.icu-project.org/trac/ticket/8004

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


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

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Hindess updated HARMONY-6526:
----------------------------------

    Fix Version/s:     (was: 5.0M14)
                       (was: 6.0M2)

Removing incorrect fix-for versions

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