db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Houx Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5155) Make testcases pass in non-English locale
Date Tue, 29 Mar 2011 15:36:05 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012523#comment-13012523
] 

Houx Zhang commented on DERBY-5155:
-----------------------------------

I accept your wonderful advice, Knut. I have seen English-locale setting in getCommandLine().
Considering the harness testing have been converting to JUnit testing, we will see more tests
benefit from the work.

Then, just like Knut's advice, it seems the new relosution should be:

Firstly, find the junit test cases that fails in non-English locale. For each of them, if
it fails just because the content of message is different from expected, a assertion based
on SQLState will be adopted; otherwise, a hard-code locale will be used.

What's your opinion, please?

Regards

> Make testcases pass in non-English locale
> -----------------------------------------
>
>                 Key: DERBY-5155
>                 URL: https://issues.apache.org/jira/browse/DERBY-5155
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Houx Zhang
>            Assignee: Houx Zhang
>              Labels: gsoc, gsoc2011
>
> There are a lot of derby testing depending on the English locale, which will fail in
a non-English locale. A general resolution should be provided.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message