@IntegrationTest @DemoTest public class EnumerationServiceDemoTest extends ServicelayerTransactionalBaseTest
jaloSession| Constructor and Description |
|---|
EnumerationServiceDemoTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
prepares some testdata, before execution of every test:
- the test EnumerationValueModel will be prepared (not persisted) |
void |
testChangingEnumerationName()
Demonstrates how to use the enumerationService to get and set the Enumeration Name.
|
void |
testGettingEnumerationValueByClassAndValue()
Demonstrates how to use the enumerationService to get Enum-Values by class and value.
|
void |
testGettingEnumerationValueByCodeAndValue()
Demonstrates how to use the enumerationService to get Enum-Values by code and value.
|
void |
testGettingEnumerationValuesByClass()
Demonstrates how to use the enumerationService to get Enum-Values by class.
|
void |
testGettingEnumerationValuesByCode()
Demonstrates how to use the enumerationService to get Enum-Values by code.
|
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testGettingEnumerationValuesByCode()
public void testGettingEnumerationValuesByClass()
public void testGettingEnumerationValueByCodeAndValue()
public void testGettingEnumerationValueByClassAndValue()
public void testChangingEnumerationName()
Copyright © 2018 SAP SE. All Rights Reserved.