Package de.hybris.platform.cockpit.test
Class UIConfigurationTestBase
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.cockpit.jalo.CockpitTest
-
- de.hybris.platform.cockpit.jalo.CockpitTransactionalTest
-
- de.hybris.platform.cockpit.test.UIConfigurationTestBase
-
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
AdvancedSearchConfigurationTest
,EditorConfigurationTest
,InitialPropertyConfigurationTest
,ListViewConfigurationTest
,SearchServiceTest
,UIConfigurationServiceTest
public abstract class UIConfigurationTestBase extends CockpitTransactionalTest
-
-
Field Summary
Fields Modifier and Type Field Description protected UserGroup
cockpitGroup
protected UserGroup
defaultRoleGroup
protected LoginService
loginService
protected ModelService
modelService
protected UserModel
productManagerUser
protected User
productManagerUserItem
protected TypeService
typeService
protected UIConfigurationService
uiConfigurationService
-
Fields inherited from class de.hybris.platform.cockpit.jalo.CockpitTest
applicationContext
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description UIConfigurationTestBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected User
getOrCreateUser(UserManager userManager, java.lang.String login)
protected UserGroup
getOrCreateUserGroup(UserManager userManager, java.lang.String groupID)
void
setCockpitTypeService(TypeService typeService)
void
setLoginService(LoginService loginService)
void
setModelService(ModelService modelService)
void
setUiConfigurationService(UIConfigurationService uiConfigurationService)
void
setUp()
-
Methods inherited from class de.hybris.platform.cockpit.jalo.CockpitTest
destroyApplicationContext, getSpringConfigurationLocations, initApplicationContext
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
productManagerUser
protected UserModel productManagerUser
-
cockpitGroup
protected UserGroup cockpitGroup
-
defaultRoleGroup
protected UserGroup defaultRoleGroup
-
uiConfigurationService
protected UIConfigurationService uiConfigurationService
-
typeService
protected TypeService typeService
-
modelService
protected ModelService modelService
-
productManagerUserItem
protected User productManagerUserItem
-
loginService
protected LoginService loginService
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getOrCreateUser
protected User getOrCreateUser(UserManager userManager, java.lang.String login)
-
getOrCreateUserGroup
protected UserGroup getOrCreateUserGroup(UserManager userManager, java.lang.String groupID)
-
setUiConfigurationService
public void setUiConfigurationService(UIConfigurationService uiConfigurationService)
-
setCockpitTypeService
public void setCockpitTypeService(TypeService typeService)
-
setLoginService
public void setLoginService(LoginService loginService)
-
setModelService
public void setModelService(ModelService modelService)
-
-