Class I18NServiceTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTransactionalBaseTest
de.hybris.platform.servicelayer.i18n.I18NServiceTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidNot really Test, just a demonstration how java I18N works.voidsetUp()voidvoidvoidvoidvoidvoidUpdates sessionLanguageModeland/or sessionCountryModelvarious times.
Tests whether sessionLocaleis compatible.voidUpdates the session Locale various time.
Tests whether sessionsLanguageModelandCountryModelare compatible.Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
I18NServiceTest
public I18NServiceTest()
-
-
Method Details
-
setUp
public void setUp() -
testSystemCurrentLocaleFunctionality
public void testSystemCurrentLocaleFunctionality() -
testSystemCurrencyFunctionality
public void testSystemCurrencyFunctionality() -
testCurrentLanguageMethods
public void testCurrentLanguageMethods() -
testUpdateLocale
public void testUpdateLocale()Updates the session Locale various time.
Tests whether sessionsLanguageModelandCountryModelare compatible. -
testUpdateLanguageAndCountry
public void testUpdateLanguageAndCountry()Updates sessionLanguageModeland/or sessionCountryModelvarious times.
Tests whether sessionLocaleis compatible. -
testUpdateJaloSession
public void testUpdateJaloSession() -
testMiscUseCases
public void testMiscUseCases() -
demonstrateFormatters
public void demonstrateFormatters()Not really Test, just a demonstration how java I18N works. -
getI18nService
- Returns:
- the i18nService
-
getModelService
- Returns:
- the modelService
-
getCommonI18NService
- Returns:
- the commonI18NService
-