[opencms-dev] JUnit test localization
Rüdiger Kurz
r.kurz at alkacon.com
Thu Oct 20 13:19:53 CEST 2011
Hi Antonio,
good point, there are missing some references in the following methods:
The the method
org.opencms.i18n.A_CmsMessageBundle#getOpenCmsMessageBundles()
must return I_CmsMessageBundle[] that contains all implementations of
org.opencms.i18n.A_CmsMessageBundle.A_CmsMessageBundle in the core
package of opencms.
And the method
org.opencms.i18n.TestCmsModuleMessageBundles#getTestMessageBundles()
must return I_CmsMessageBundle[] that contains all implementations of
org.opencms.i18n.A_CmsMessageBundle.A_CmsMessageBundle in the module
package of opencms.
If you add those implementations to the array the test cases work fine.
--
Kind Regards,
Rüdiger.
-------------------
Rüdiger Kurz
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
Am 20.10.2011 11:11, schrieb Antonio Cordeddu:
> Hi,
>
> I'm testing my Italian localization on version 8.0.2 using the Junit
> tool. I launched the tool using the two following test classes:
> - org.opencms.i18n.TestCmsModuleMessageBundles
> - org.opencms.i18n.TestCmsCoreMessageBundles
>
> The issue is that the tool executes test on a subset of all message
> bundles (74 files instead of 88 files contained in my Italian localization).
>
> Am I getting in something wrong?
>
> Kinds regards
>
> Antonio
>
>
> _______________________________________
> Coranto informatica di Antonio Cordeddu
> Skype: antonio.cordeddu
> http://www.coranto.it
> ___________________________________________
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
More information about the opencms-dev
mailing list