Package de.hybris.platform.jalo.security
Class ImportExportUserRightsHelper_addDataSetToPlatformTest_restrictions
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.jalo.security.ImportExportUserRightsHelper_addDataSetToPlatformTest
de.hybris.platform.jalo.security.ImportExportUserRightsHelper_addDataSetToPlatformTest_restrictions
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class ImportExportUserRightsHelper_addDataSetToPlatformTest_restrictions
extends ImportExportUserRightsHelper_addDataSetToPlatformTest
-
Field Summary
FieldsFields inherited from class de.hybris.platform.jalo.security.ImportExportUserRightsHelper_addDataSetToPlatformTest
flexibleSearchService, importService, modelService, userServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected static UserModelprotected Stringvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprotected voidtoggleRestriction(boolean toggle) Methods inherited from class de.hybris.platform.jalo.security.ImportExportUserRightsHelper_addDataSetToPlatformTest
asResource, composeImpex, getCompleteImpexConfig, getHjmptsAndDetach, getStandardConfig, selectCountFrom, selectCountFromTitle, shouldCreateUser, shouldCreateUserButNotAssignToNonexistentGroup, shouldCreateUserButNotAssignToNongroupPrincipal, shouldCreateUserSubtype, shouldModifyExistingUser, shouldModifyUserAndNotAssignToNonexistentGroup, shouldNotImportNonExistingType, shouldNotImportNonPrincipal, shouldNotImportRawPrincipal, shouldUpdateEmployeeAsUser, shouldUpdateUserAsEmployeeMethods 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
-
Field Details
-
typeService
-
-
Constructor Details
-
ImportExportUserRightsHelper_addDataSetToPlatformTest_restrictions
public ImportExportUserRightsHelper_addDataSetToPlatformTest_restrictions()
-
-
Method Details
-
setRestrictions
public void setRestrictions() -
clearRestrictions
public void clearRestrictions() -
getCurrentUser
-
toggleRestriction
protected void toggleRestriction(boolean toggle) -
prefixed
- Overrides:
prefixedin classImportExportUserRightsHelper_addDataSetToPlatformTest
-
shouldAssignUserToValidUserGroupWhileCreating
public void shouldAssignUserToValidUserGroupWhileCreating() -
shouldCreateValidUserGroup
public void shouldCreateValidUserGroup()- Overrides:
shouldCreateValidUserGroupin classImportExportUserRightsHelper_addDataSetToPlatformTest
-
shouldNotUpdateNonuserPrincipal
public void shouldNotUpdateNonuserPrincipal()- Overrides:
shouldNotUpdateNonuserPrincipalin classImportExportUserRightsHelper_addDataSetToPlatformTest
-
shouldAssignUserToValidUserGroupSubtype
public void shouldAssignUserToValidUserGroupSubtype() -
shouldModifyUserAndNotRemoveGroups
public void shouldModifyUserAndNotRemoveGroups() -
shouldNotUpdateUserGroupSubtypeAsBaseType
public void shouldNotUpdateUserGroupSubtypeAsBaseType() -
shouldModifyUserAndKeepGroups
public void shouldModifyUserAndKeepGroups()- Overrides:
shouldModifyUserAndKeepGroupsin classImportExportUserRightsHelper_addDataSetToPlatformTest
-
shouldAssignUserToBothSubgroupAndSuperGroup
public void shouldAssignUserToBothSubgroupAndSuperGroup() -
shouldCreateUserGroupAndAssignToValidOtherGroup
public void shouldCreateUserGroupAndAssignToValidOtherGroup() -
shouldNotCreateUserGroupWhenUIDExists
public void shouldNotCreateUserGroupWhenUIDExists() -
shouldAssignUserToValidUserGroupWhileUpdating
public void shouldAssignUserToValidUserGroupWhileUpdating() -
shouldBelongToCurrentAndSuperGroups
public void shouldBelongToCurrentAndSuperGroups() -
shouldCreateAndModifyUserGroupSubtype
public void shouldCreateAndModifyUserGroupSubtype() -
shouldNotAssignUserGroupToSelfWhileModifying
public void shouldNotAssignUserGroupToSelfWhileModifying() -
shouldNotAssignUserGroupToSelfWhileCreating
public void shouldNotAssignUserGroupToSelfWhileCreating() -
shouldNotUpdateUserGroupAsItsSubtype
public void shouldNotUpdateUserGroupAsItsSubtype() -
shouldAssignUserGroupToItsSubgroupAndSupergroup
public void shouldAssignUserGroupToItsSubgroupAndSupergroup() -
shouldNotAssignUserGroupToNongroupPrincipal
public void shouldNotAssignUserGroupToNongroupPrincipal() -
shouldNotAssignUserGroupToMakeCycles
public void shouldNotAssignUserGroupToMakeCycles() -
shouldNotUpdateUserGroupWithoutMembers
public void shouldNotUpdateUserGroupWithoutMembers()
-