dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #02842
Re: UnitTest is failed
On Fri, Oct 30, 2009 at 10:14 AM, Hieu Dang Duy
<hieu.hispvietnam@xxxxxxxxx>wrote:
> Dear all,
>
> I'm trying to use "mvn test" to test a UnitTest class. As known is "*
> I18nServiceTest*".
>
> First of all, I used the command line above for testing this class and then
> the *FAILURE *message was responded.
> After that, I tried commenting all of its content almost. But still let a
> few of statement and one of them is available which is
>
> ...
> *localeManager.setCurrentLocale( Locale.UK );*
> ...
>
> And the final result is that till *FAILURE*.
>
> What's wrong here ? What should I do is this case ? Have I missed anything
> which is important in ?
>
> Anyway, I do also test an another class is *"TranslationStoreTest*". Doing
> as the same way for this one, commenting all of its content and just one
> statement is active
> ...
> *translationStore.addTranslation( translation1a );*
> ...
>
> The received result is also *FAILURE*
>
> (See more at the attached figure is below)
>
> Waiting for your opinion on this problem. Thanks to everyone !
> *
> *--
> Hieu.HISPVietnam
> Good Health !
>
Hi Hieu,
I am pretty sure this is caused by the changes you did to the
TranslationService lately... So I guess you need to figure it out ;.)
Lars
References