You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Boris Kuznetsov (JIRA)" <ji...@apache.org> on 2006/04/28 15:00:37 UTC

[jira] Created: (HARMONY-423) tests depend on default locale

tests depend on default locale
------------------------------

         Key: HARMONY-423
         URL: http://issues.apache.org/jira/browse/HARMONY-423
     Project: Harmony
        Type: Bug

  Components: Misc  
 Environment: WIN with Russian defaults
    Reporter: Boris Kuznetsov


Some tests assume that default locale is 'Locale.US' and may fail if they run on computer where another one is set.
I have run Harmony tests on computer with Russian defaults.

The following tests failed:

org.apache.harmony.tests.java.text.DecimalFormatTest
org.apache.harmony.security.asn1.der.GeneralizedTimeTest
org.apache.harmony.security.asn1.der.UTCTimeTest
tests.api.java.text.SimpleDateFormatTest

I will attach a patch shortly. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (HARMONY-423) tests depend on default locale

Posted by "Boris Kuznetsov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-423?page=comments#action_12413815 ] 

Boris Kuznetsov commented on HARMONY-423:
-----------------------------------------

It works: all tests passed.
Thanks.

> tests depend on default locale
> ------------------------------
>
>          Key: HARMONY-423
>          URL: http://issues.apache.org/jira/browse/HARMONY-423
>      Project: Harmony
>         Type: Bug

>   Components: Misc
>  Environment: WIN with Russian defaults
>     Reporter: Boris Kuznetsov
>     Assignee: Mikhail Loenko
>  Attachments: harmony-423-pach.txt, patch.txt
>
> Some tests assume that default locale is 'Locale.US' and may fail if they run on computer where another one is set.
> I have run Harmony tests on computer with Russian defaults.
> The following tests failed:
> org.apache.harmony.tests.java.text.DecimalFormatTest
> org.apache.harmony.security.asn1.der.GeneralizedTimeTest
> org.apache.harmony.security.asn1.der.UTCTimeTest
> tests.api.java.text.SimpleDateFormatTest
> I will attach a patch shortly. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (HARMONY-423) tests depend on default locale

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-423?page=all ]
     
Mikhail Loenko resolved HARMONY-423:
------------------------------------

    Resolution: Fixed

fixed in revision 409652
Boris, please verify it works with your local settings

> tests depend on default locale
> ------------------------------
>
>          Key: HARMONY-423
>          URL: http://issues.apache.org/jira/browse/HARMONY-423
>      Project: Harmony
>         Type: Bug

>   Components: Misc
>  Environment: WIN with Russian defaults
>     Reporter: Boris Kuznetsov
>     Assignee: Mikhail Loenko
>  Attachments: harmony-423-pach.txt, patch.txt
>
> Some tests assume that default locale is 'Locale.US' and may fail if they run on computer where another one is set.
> I have run Harmony tests on computer with Russian defaults.
> The following tests failed:
> org.apache.harmony.tests.java.text.DecimalFormatTest
> org.apache.harmony.security.asn1.der.GeneralizedTimeTest
> org.apache.harmony.security.asn1.der.UTCTimeTest
> tests.api.java.text.SimpleDateFormatTest
> I will attach a patch shortly. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HARMONY-423) tests depend on default locale

Posted by "Boris Kuznetsov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-423?page=all ]

Boris Kuznetsov updated HARMONY-423:
------------------------------------

    Attachment: harmony-423-pach.txt

org.apache.harmony.tests.java.text.DecimalFormatTest  still failed due different reason.
It looks like bug in icu4 lib (used in java.text.DecimalFormat). I' ll file separate issue it.

> tests depend on default locale
> ------------------------------
>
>          Key: HARMONY-423
>          URL: http://issues.apache.org/jira/browse/HARMONY-423
>      Project: Harmony
>         Type: Bug

>   Components: Misc
>  Environment: WIN with Russian defaults
>     Reporter: Boris Kuznetsov
>  Attachments: harmony-423-pach.txt
>
> Some tests assume that default locale is 'Locale.US' and may fail if they run on computer where another one is set.
> I have run Harmony tests on computer with Russian defaults.
> The following tests failed:
> org.apache.harmony.tests.java.text.DecimalFormatTest
> org.apache.harmony.security.asn1.der.GeneralizedTimeTest
> org.apache.harmony.security.asn1.der.UTCTimeTest
> tests.api.java.text.SimpleDateFormatTest
> I will attach a patch shortly. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HARMONY-423) tests depend on default locale

Posted by "Boris Kuznetsov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-423?page=all ]

Boris Kuznetsov updated HARMONY-423:
------------------------------------

    Attachment: patch.txt

updated patch

> tests depend on default locale
> ------------------------------
>
>          Key: HARMONY-423
>          URL: http://issues.apache.org/jira/browse/HARMONY-423
>      Project: Harmony
>         Type: Bug

>   Components: Misc
>  Environment: WIN with Russian defaults
>     Reporter: Boris Kuznetsov
>     Assignee: Mikhail Loenko
>  Attachments: harmony-423-pach.txt, patch.txt
>
> Some tests assume that default locale is 'Locale.US' and may fail if they run on computer where another one is set.
> I have run Harmony tests on computer with Russian defaults.
> The following tests failed:
> org.apache.harmony.tests.java.text.DecimalFormatTest
> org.apache.harmony.security.asn1.der.GeneralizedTimeTest
> org.apache.harmony.security.asn1.der.UTCTimeTest
> tests.api.java.text.SimpleDateFormatTest
> I will attach a patch shortly. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (HARMONY-423) tests depend on default locale

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-423?page=all ]

Mikhail Loenko reassigned HARMONY-423:
--------------------------------------

    Assign To: Mikhail Loenko

> tests depend on default locale
> ------------------------------
>
>          Key: HARMONY-423
>          URL: http://issues.apache.org/jira/browse/HARMONY-423
>      Project: Harmony
>         Type: Bug

>   Components: Misc
>  Environment: WIN with Russian defaults
>     Reporter: Boris Kuznetsov
>     Assignee: Mikhail Loenko
>  Attachments: harmony-423-pach.txt
>
> Some tests assume that default locale is 'Locale.US' and may fail if they run on computer where another one is set.
> I have run Harmony tests on computer with Russian defaults.
> The following tests failed:
> org.apache.harmony.tests.java.text.DecimalFormatTest
> org.apache.harmony.security.asn1.der.GeneralizedTimeTest
> org.apache.harmony.security.asn1.der.UTCTimeTest
> tests.api.java.text.SimpleDateFormatTest
> I will attach a patch shortly. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira