Class UserTest

All Implemented Interfaces:
JaloSessionHolder

public class UserTest extends HybrisJUnit4Test
tests group assignment of users
  • Constructor Details

    • UserTest

      public UserTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • shouldSucceedSetLoginDisabledForAdminsWhenBlockIsFalse

      public void shouldSucceedSetLoginDisabledForAdminsWhenBlockIsFalse() throws Exception
      Throws:
      Exception
    • shouldSucceedSetDeactivationDateForAdminsWhenBlockIsFalse

      public void shouldSucceedSetDeactivationDateForAdminsWhenBlockIsFalse() throws Exception
      Throws:
      Exception
    • shouldBeBlockedSetLoginDisabledForAdminsWhenBlockIsTrue

      public void shouldBeBlockedSetLoginDisabledForAdminsWhenBlockIsTrue() throws Exception
      Throws:
      Exception
    • shouldBeBlockedSetDeactivationDateForAdminsWhenBlockIsTrue

      public void shouldBeBlockedSetDeactivationDateForAdminsWhenBlockIsTrue() throws Exception
      Throws:
      Exception
    • shouldBeBlockedSetLoginDisabledForTheAdminEmployee

      public void shouldBeBlockedSetLoginDisabledForTheAdminEmployee()
    • shouldBeBlockedSetDeactivationDateForTheAdminEmployee

      public void shouldBeBlockedSetDeactivationDateForTheAdminEmployee()
    • shouldBeBlockedSetLoginDisabledForSubGroupOfAdminWhenBlockIsTrue

      public void shouldBeBlockedSetLoginDisabledForSubGroupOfAdminWhenBlockIsTrue() throws Exception
      Throws:
      Exception
    • shouldBeBlockedSetDeactivationDateForSubGroupOfAdminWhenBlockIsTrue

      public void shouldBeBlockedSetDeactivationDateForSubGroupOfAdminWhenBlockIsTrue() throws Exception
      Throws:
      Exception
    • testEncodePasswordMethods

      public void testEncodePasswordMethods()
    • testWrongEncoding

      public void testWrongEncoding()
    • testWrongUID

      public void testWrongUID()
    • testGetOrders

      public void testGetOrders() throws Exception
      Throws:
      Exception
    • testGetCarts

      public void testGetCarts() throws Exception
      Throws:
      Exception
    • testGetCart

      public void testGetCart() throws Exception
      Throws:
      Exception
    • tearDown

      public void tearDown() throws Exception
      Throws:
      Exception
    • testGroups

      public void testGroups() throws ConsistencyCheckException
      Throws:
      ConsistencyCheckException
    • testCreateAnonymousCustomerSession

      public void testCreateAnonymousCustomerSession() throws JaloSecurityException
      Throws:
      JaloSecurityException
    • testAnonymousPasswordCheck

      public void testAnonymousPasswordCheck()
      Tests for anonymous login are placed in SessionTest.testJaloSessionPerformLogin()
    • testRemoveAllAddressesAttachedToOwner

      public void testRemoveAllAddressesAttachedToOwner()