← Back to team overview

dhis2-devs team mailing list archive

UnitTest is failed

 

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 !

Follow ups