Class DefaultI18NServiceTest
- java.lang.Object
-
- de.hybris.platform.servicelayer.i18n.DefaultI18NServiceTest
-
@UnitTest public class DefaultI18NServiceTest extends java.lang.Object
The unit tests for i18NService.hint: after removing
LocalizationServicethe tests will require corrections, because the logic fromDefaultLocalizationServicemethods will be moved to theDefaultI18NService.Currently the content of the
DefaultLocalizationServicemethods are not migrated to the servicelayer.
-
-
Constructor Summary
Constructors Constructor Description DefaultI18NServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestGetAllLocales()voidtestGetBestMatchingLocale()voidtestGetCurrentJavaCurrency()voidtestGetCurrentJavaCurrencyWithNonExistentJavaCurrency()voidtestGetCurrentLocale()voidtestGetCurrentTimeZone()voidtestGetFallbackLocales()voidtestGetSupportedJavaCurrencies()voidtestGetSupportedJavaCurrenciesWithOneNonExistentCurrency()voidtestGetSupportedLocales()voidtestIsLocalizationFallbackEnabled()voidtestSetCurrentJavaCurrency()voidtestSetCurrentLocale()voidtestSetCurrentTimeZone()voidtestSetLocalizationFallbackEnabled()
-
-
-
Method Detail
-
setUp
public void setUp()
-
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()
-
-