[dna-issues] [JBoss JIRA] Resolved: (DNA-27) I18n framework should not throw exceptions for duplicate or missing messages

Johnny Verhaeg (JIRA) jira-events at lists.jboss.org
Wed Apr 23 21:53:08 EDT 2008


     [ http://jira.jboss.com/jira/browse/DNA-27?page=all ]

Johnny Verhaeg resolved DNA-27.
-------------------------------

    Resolution: Done

Added convenience methods to project I18n classes, and tests for each to ensure they have no localization problems.  Also moved CommonI18nTest to correct package.

> I18n framework should not throw exceptions for duplicate or missing messages
> ----------------------------------------------------------------------------
>
>                 Key: DNA-27
>                 URL: http://jira.jboss.com/jira/browse/DNA-27
>             Project: DNA
>          Issue Type: Task
>          Components: Common
>            Reporter: Randall Hauch
>         Assigned To: Johnny Verhaeg
>            Priority: Minor
>             Fix For: 0.1
>
>
> Currently, the I18n framework checks for duplicate or missing messages in the property files.  This check is very nice to have, but throwing an exception often causes problems in many different tests.  Given that some of these tests may wrap the exception thrown by the I18n class, some of these failures can be very difficult to track down.
> It would be better to have each I18n class (e.g., "CoreI18n") record the problems, and to create a test case for each of these classes.  The test case can verify that there are no problems.  Then, if there is a problem in a properties file, the test will fail while other tests (that don't necessarily care so much about missing or duplicate messages) won't. 

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

        



More information about the dna-issues mailing list