Class DefaultI18NServiceTest
java.lang.Object
de.hybris.platform.servicelayer.i18n.DefaultI18NServiceTest
The unit tests for i18NService.
hint: after removing LocalizationService the tests will require corrections, because the logic from
DefaultLocalizationService methods will be moved to the DefaultI18NService.
Currently the content of the DefaultLocalizationService methods are not migrated to the servicelayer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultI18NServiceTest
public DefaultI18NServiceTest()
-
-
Method Details
-
testGetCurrentLocale
public void testGetCurrentLocale() -
testSetCurrentLocale
public void testSetCurrentLocale() -
testGetSupportedLocales
public void testGetSupportedLocales() -
testGetSupportedJavaCurrencies
public void testGetSupportedJavaCurrencies() -
testGetSupportedJavaCurrenciesWithOneNonExistentCurrency
public void testGetSupportedJavaCurrenciesWithOneNonExistentCurrency() -
testGetCurrentTimeZone
public void testGetCurrentTimeZone() -
testSetCurrentTimeZone
public void testSetCurrentTimeZone() -
testGetCurrentJavaCurrency
public void testGetCurrentJavaCurrency() -
testGetCurrentJavaCurrencyWithNonExistentJavaCurrency
public void testGetCurrentJavaCurrencyWithNonExistentJavaCurrency() -
testSetCurrentJavaCurrency
public void testSetCurrentJavaCurrency() -
testIsLocalizationFallbackEnabled
public void testIsLocalizationFallbackEnabled() -
testSetLocalizationFallbackEnabled
public void testSetLocalizationFallbackEnabled() -
testGetBestMatchingLocale
public void testGetBestMatchingLocale() -
testGetAllLocales
public void testGetAllLocales() -
testGetFallbackLocales
public void testGetFallbackLocales()
-