[
https://issues.apache.org/jira/browse/ODFTOOLKIT-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160103#comment-13160103
]
Devin Han commented on ODFTOOLKIT-297:
--------------------------------------
Issue has been fixed.
Replace the excepting "Chinese" with System.getProperty("user.name"). Different
platforms can use their default languages to validate this case.
Devin
> Test: testGetLanguage(org.odftoolkit.simple.meta.OfficeMetaTest) failed
> when the platform language is not 'Chinese'.
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: ODFTOOLKIT-297
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-297
> Project: ODF Toolkit
> Issue Type: Bug
> Components: simple api
> Affects Versions: 0.3, 0.3.5, 0.4, 0.4.5, 0.5, 0.5.5, 0.6, 0.6.5
> Reporter: Devin Han
> Assignee: Devin Han
> Fix For: 0.7
>
>
> When running mvn install from /simple on an OS, which language is 'en', get
> the following failed test:
> testGetLanguage(org.odftoolkit.simple.meta.OfficeMetaTest)
> It is returning "en" for the language, but the test case is expecting
> "Chinese". The meta.xml for the document has "Chinese". So something weird
> is happening. Maybe
> it is not finding it and falling back on a system-defined default? In that
> case, Chinese system might be giving the right answer, but for the wrong
> reason.
> Devin
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira