maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MCHECKSTYLE-85) Make tests platform-independent
Date Sun, 03 Feb 2008 00:03:57 GMT

     [ http://jira.codehaus.org/browse/MCHECKSTYLE-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dennis Lundberg closed MCHECKSTYLE-85.
--------------------------------------

         Assignee: Dennis Lundberg
       Resolution: Fixed
    Fix Version/s: 2.2

Patch applied in r617931. Thanks!

> Make tests platform-independent
> -------------------------------
>
>                 Key: MCHECKSTYLE-85
>                 URL: http://jira.codehaus.org/browse/MCHECKSTYLE-85
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Benjamin Bentmann
>            Assignee: Dennis Lundberg
>            Priority: Trivial
>             Fix For: 2.2
>
>         Attachments: checkstyle-test-locale.patch
>
>
> The test suite of the plugin uses the the JVM's default locale to get its resource bundle.
However, {{AbstractMavenReport.execute()}} will always use the English locale when calling
{{MavenReport.generate()}}. Hence, the tests will search for say German strings in a report
generated from English resources...
> By the way, the current head of the maven-reporting-impl simply throws a {{MojoExecutionException}}
from {{AbstractMavenReport.execute()}}. All tests will fail once the plugin updates its dependencies.
Not to mention that the report cannot be generated from the command line any more, pitty.

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

        

Mime
View raw message