]
James Perkins reassigned LOGMGR-92:
-----------------------------------
Assignee: James Perkins (was: David Lloyd)
[tests] LoggerTests.testResourceBundle fails on german windows
--------------------------------------------------------------
Key: LOGMGR-92
URL:
https://issues.jboss.org/browse/LOGMGR-92
Project: JBoss Log Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 1.3.2.Final, 2.0.0.Beta1
Environment: maven 3.0.2 on Win7x64 cygwin
Reporter: Bernd Eckenfels
Assignee: James Perkins
Priority: Minor
Labels: i18n
When I run "mvn test" for the logmanager build (various branches) on german
Win7 it fails with
Tests run: 42, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.834 sec <<<
FAILURE!
Results:
Failed tests:
testResourceBundle(org.jboss.logmanager.LoggerTests): Can't find
org.jboss.logmanager.LoggerTests bundle
Tests run:42 ,Failures:1, Errors:0,Skipped:0
ava.util.MissingResourceException: Can't find org.jboss.logmanager.LoggerTests
bundle
at java.util.logging.Logger.setupResourceInfo(Logger.java:1335)
at java.util.logging.Logger.getLogger(Logger.java:335)
at org.jboss.logmanager.Logger.getLogger(Logger.java:75)
at org.jboss.logmanager.LoggerTests.testResourceBundle(LoggerTests.java:149)
It helps to copy src/test/resources/org/jboss/logmanager/LoggerTests_en.properties to
LoggerTests.properties, however strangely enough it does not help to manually specify
user.language=en in the surefire configuration. The test should at least skip itself if
the locale is not specified correctly (or ship locale independend translation).
--
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: