@IntegrationTest public class I18NServiceTest extends ServicelayerTransactionalBaseTest
defaultLanguage, jaloSession| Constructor and Description |
|---|
I18NServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
demonstrateFormatters()
Not really Test, just a demonstration how java I18N works.
|
CommonI18NService |
getCommonI18NService() |
I18NService |
getI18nService() |
ModelService |
getModelService() |
void |
setUp() |
void |
testCurrentLanguageMethods() |
void |
testMiscUseCases() |
void |
testSystemCurrencyFunctionality() |
void |
testSystemCurrentLocaleFunctionality() |
void |
testUpdateJaloSession() |
void |
testUpdateLanguageAndCountry()
Updates session
LanguageModel and/or session CountryModel various times.Tests whether session Locale is compatible. |
void |
testUpdateLocale()
Updates the session Locale various time.
Tests whether sessions LanguageModel and CountryModel are compatible. |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void setUp()
public void testSystemCurrentLocaleFunctionality()
public void testSystemCurrencyFunctionality()
public void testCurrentLanguageMethods()
public void testUpdateLocale()
LanguageModel and CountryModel are compatible.public void testUpdateLanguageAndCountry()
LanguageModel and/or session CountryModel various times.Locale is compatible.public void testUpdateJaloSession()
public void testMiscUseCases()
public void demonstrateFormatters()
public I18NService getI18nService()
public ModelService getModelService()
public CommonI18NService getCommonI18NService()
Copyright © 2017 SAP SE. All Rights Reserved.