Package de.hybris.platform.test
Class UserTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.test.UserTest
- All Implemented Interfaces:
JaloSessionHolder
tests group assignment of users
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidtearDown()voidTests for anonymous login are placed inSessionTest.testJaloSessionPerformLogin()voidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
UserTest
public UserTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
shouldSucceedSetLoginDisabledForAdminsWhenBlockIsFalse
- Throws:
Exception
-
shouldSucceedSetDeactivationDateForAdminsWhenBlockIsFalse
- Throws:
Exception
-
shouldBeBlockedSetLoginDisabledForAdminsWhenBlockIsTrue
- Throws:
Exception
-
shouldBeBlockedSetDeactivationDateForAdminsWhenBlockIsTrue
- Throws:
Exception
-
shouldBeBlockedSetLoginDisabledForTheAdminEmployee
public void shouldBeBlockedSetLoginDisabledForTheAdminEmployee() -
shouldBeBlockedSetDeactivationDateForTheAdminEmployee
public void shouldBeBlockedSetDeactivationDateForTheAdminEmployee() -
shouldBeBlockedSetLoginDisabledForSubGroupOfAdminWhenBlockIsTrue
- Throws:
Exception
-
shouldBeBlockedSetDeactivationDateForSubGroupOfAdminWhenBlockIsTrue
- Throws:
Exception
-
testEncodePasswordMethods
public void testEncodePasswordMethods() -
testWrongEncoding
public void testWrongEncoding() -
testWrongUID
public void testWrongUID() -
testGetOrders
- Throws:
Exception
-
testGetCarts
- Throws:
Exception
-
testGetCart
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testGroups
- Throws:
ConsistencyCheckException
-
testCreateAnonymousCustomerSession
- Throws:
JaloSecurityException
-
testAnonymousPasswordCheck
public void testAnonymousPasswordCheck()Tests for anonymous login are placed inSessionTest.testJaloSessionPerformLogin() -
testRemoveAllAddressesAttachedToOwner
public void testRemoveAllAddressesAttachedToOwner()
-