Package de.hybris.platform.test
Class UserIsAdminTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.test.UserIsAdminTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgenerateCustomers(int amount) protected StringsetCustomerAsAdmin(boolean allow) voidsetup()voidvoidvoidprotected voidtestCustomerIsAdmin(boolean allowCustomerAsAdmin) voidvoidprotected longtestIsAdmin(boolean withGroups, List<PK> userPKs) protected longtestIsAdmin(boolean withGroups, List<PK> userPKs, boolean createNewCustomers) Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
UserIsAdminTest
public UserIsAdminTest()
-
-
Method Details
-
setup
- Throws:
Exception
-
testCorrectAdminCacheInvalidation
- Throws:
ConsistencyCheckException
-
testAnonymousIsAdmin
- Throws:
ConsistencyCheckException
-
testAdminIsAdmin
- Throws:
ConsistencyCheckException
-
testCustomerIsAdminNotOptimized
- Throws:
ConsistencyCheckException
-
testCustomerIsAdminOptimized
- Throws:
ConsistencyCheckException
-
testCustomerIsAdmin
- Throws:
ConsistencyCheckException
-
setCustomerAsAdmin
-
clearCustomerAsAdminCache
protected void clearCustomerAsAdminCache() -
generateCustomers
- Throws:
ConsistencyCheckException
-
testIsAdmin
-
testIsAdmin
-