incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric THOMAS (JIRA) <j...@apache.org>
Subject [jira] [Commented] (FLEX-33242) Mustella tests failed: when your computer language doesn't match the expected localized error
Date Sun, 11 Nov 2012 23:17:12 GMT

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

Frédéric THOMAS commented on FLEX-33242:
----------------------------------------

Well, I'm a bit perplex with one of the issues, as I said, my OS is in french, when I run
the 2 first tests in RuntimeLocalization\RTL_SparkSkin\Integration\RTL_Compiler_LocaleParams_2_Tester
:

        <TestCase frequency="all" testID="RTL_Compiler_LocaleParams_1_LocaleChain_AIR_Mac"
description="Be sure that the locale chain was set correctly." keywords="[Localization,Compiler,locale]"
>
            <body>
                <AssertMethodValue method="value=ResourceManager.getInstance().localeChain.toString()"
value="{['en_US','fr_FR','ja_JP']}" />
                <Pause timeout="1" />
            </body>
        </TestCase>

        <TestCase frequency="all" testID="RTL_Compiler_LocaleParams_1_LocaleChain_NOT_AIR_Mac"
description="Be sure that the locale chain was set correctly." keywords="[Localization,Compiler,locale]"
>
            <body>
                <AssertMethodValue method="value=ResourceManager.getInstance().localeChain.toString()"
value="{['en_US','fr_FR','ja_JP']}" />
                <Pause timeout="1" />
            </body>
        </TestCase>

The second one fails :

[java] RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Compiler_LocaleParams_2_Tester RTL_Compiler_LocaleParams_1
_LocaleChain_NOT_AIR_Mac Failed AssertMethodValue (method cannot be shown)(body:step 1)  method
returned fr_FR,en_US,ja_
JP, expected en_US,fr_FR,ja_JP

But the first one pass and I can't see the difference, I could make the test pass with my
patch but I'm not sure if I have to do that, then at the moment I won't, especially because
this test conatins weird things as well, I'm gonna open.

Otherwize, for this patch, everything goes well, just need to refactor it, it doesn't please
me how I wrote it.
                
> Mustella tests failed: when your computer language doesn't match the expected localized
error
> ---------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33242
>                 URL: https://issues.apache.org/jira/browse/FLEX-33242
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Mustella
>    Affects Versions: Apache Flex 4.9.0
>            Reporter: Frédéric THOMAS
>            Priority: Critical
>              Labels: test
>         Attachments: FLEX-33242.patch
>
>
> Mustella tests fail when your computer language doesn't match the expected localized
error

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message