@DemoTest public class CockpitConfigurationServiceTest extends ServicelayerTransactionalTest
importServicejaloSession| Constructor and Description |
|---|
CockpitConfigurationServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
prepares some test data, before execution of every test:
- the test principalModel will be created and saved |
void |
testGetCockpitConfigurations()
Demonstrates two ways to retrieve cockpit configurations given a principal:
- Retrieves all component configurations based on the given principal - Retrieve a specific configuration based on principal, object template code, and code. |
void |
testGetRoleNamesForPrincipal()
Demonstrates how to retrieve roles names for a given principal
|
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetCockpitConfigurations()
public void testGetRoleNamesForPrincipal()
Copyright © 2018 SAP SE. All Rights Reserved.