Class PrincipalGroupRelationScenariosTest

All Implemented Interfaces:
JaloSessionHolder
Direct Known Subclasses:
PrincipalGroupRelationScenariosWithoutRelationCacheTest, PrincipalGroupRelationScenariosWithRelationCacheTest

@IntegrationTest public abstract class PrincipalGroupRelationScenariosTest extends ServicelayerBaseTest
  • Constructor Details

    • PrincipalGroupRelationScenariosTest

      public PrincipalGroupRelationScenariosTest()
  • Method Details

    • setUp

      public abstract void setUp()
    • tearDown

      public abstract void tearDown()
    • shouldReturnUpdatedDataWhenAddingGroup

      public void shouldReturnUpdatedDataWhenAddingGroup()
    • shouldReturnUpdatedDataWhenAddingGroupInTransaction

      public void shouldReturnUpdatedDataWhenAddingGroupInTransaction() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenAddingGroupInSeparateThread

      public void shouldReturnUpdatedDataWhenAddingGroupInSeparateThread() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenAddingManyGroups

      public void shouldReturnUpdatedDataWhenAddingManyGroups()
    • shouldReturnUpdatedDataWhenAddingManyGroupsAllInTransaction

      public void shouldReturnUpdatedDataWhenAddingManyGroupsAllInTransaction() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenAddingManyGroupsInSeparateThread

      public void shouldReturnUpdatedDataWhenAddingManyGroupsInSeparateThread() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenSettingGroupsToNull

      public void shouldReturnUpdatedDataWhenSettingGroupsToNull()
    • shouldReturnUpdatedDataWhenSettingGroupsToNullAfterTransaction

      public void shouldReturnUpdatedDataWhenSettingGroupsToNullAfterTransaction() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenSettingGroupsToNullInSeparateThread

      public void shouldReturnUpdatedDataWhenSettingGroupsToNullInSeparateThread() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenRemovingGroup

      public void shouldReturnUpdatedDataWhenRemovingGroup()
    • shouldReturnUpdatedDataWhenRemovingGroupInTransaction

      public void shouldReturnUpdatedDataWhenRemovingGroupInTransaction() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenRemovingGroupInSeparateThread

      public void shouldReturnUpdatedDataWhenRemovingGroupInSeparateThread() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenAddingGroupToDb

      public void shouldReturnUpdatedDataWhenAddingGroupToDb()
    • shouldReturnUpdatedDataWhenAddingGroupToDbAllInTransaction

      public void shouldReturnUpdatedDataWhenAddingGroupToDbAllInTransaction() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenAddingGroupToDbInSeparateThread

      public void shouldReturnUpdatedDataWhenAddingGroupToDbInSeparateThread() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenRemovingGroupFromDb

      public void shouldReturnUpdatedDataWhenRemovingGroupFromDb()
    • shouldReturnUpdatedDataWhenRemovingGroupFromDbAfterTransaction

      public void shouldReturnUpdatedDataWhenRemovingGroupFromDbAfterTransaction() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenRemovingGroupFromDbInSeparateThread

      public void shouldReturnUpdatedDataWhenRemovingGroupFromDbInSeparateThread() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenRemovingGroupFromUserAndAddingToAnother

      public void shouldReturnUpdatedDataWhenRemovingGroupFromUserAndAddingToAnother()
    • shouldReturnUpdatedDataWhenRemovingGroupFromUserAndAddingToAnotherInTransaction

      public void shouldReturnUpdatedDataWhenRemovingGroupFromUserAndAddingToAnotherInTransaction() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenRemovingGroupFromUserAndAddingItToAnotherInSeparateThread

      public void shouldReturnUpdatedDataWhenRemovingGroupFromUserAndAddingItToAnotherInSeparateThread() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenRemovingGroupThenAddingAnotherGroup

      public void shouldReturnUpdatedDataWhenRemovingGroupThenAddingAnotherGroup()
    • shouldReturnUpdatedDataWhenRemovingGroupThenAddingAnotherGroupAllInTransaction

      public void shouldReturnUpdatedDataWhenRemovingGroupThenAddingAnotherGroupAllInTransaction() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenRemovingGroupThenAddingAnotherGroupInSeparateThread

      public void shouldReturnUpdatedDataWhenRemovingGroupThenAddingAnotherGroupInSeparateThread() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenAddingGroupToUsers

      public void shouldReturnUpdatedDataWhenAddingGroupToUsers()
    • shouldReturnUpdatedDataWhenAddingGroupToUsersOutsideTransactionAndThenInside

      public void shouldReturnUpdatedDataWhenAddingGroupToUsersOutsideTransactionAndThenInside() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenAddingGroupToUsersOutsideSeparateThreadAndThenInside

      public void shouldReturnUpdatedDataWhenAddingGroupToUsersOutsideSeparateThreadAndThenInside() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenRemovingGroupThenAddingGroupInTransaction

      public void shouldReturnUpdatedDataWhenRemovingGroupThenAddingGroupInTransaction() throws Exception
      Throws:
      Exception
    • shouldReturnUpdatedDataWhenRemovingGroupThenAddingGroupInSeparateThread

      public void shouldReturnUpdatedDataWhenRemovingGroupThenAddingGroupInSeparateThread() throws Exception
      Throws:
      Exception
    • userHasAGroupAfterBecomingAMember

      public void userHasAGroupAfterBecomingAMember()
    • userHasAGroupAfterBecomingAMemberInATransaction

      public void userHasAGroupAfterBecomingAMemberInATransaction() throws Exception
      Throws:
      Exception
    • userHasAGroupAfterBecomingAMemberInAnotherThread

      public void userHasAGroupAfterBecomingAMemberInAnotherThread() throws Exception
      Throws:
      Exception
    • userHasNoGroupsAfterSettingItsMembersToNull

      public void userHasNoGroupsAfterSettingItsMembersToNull()
    • userHasNoGroupsAfterSettingItsMembersToNullInATransaction

      public void userHasNoGroupsAfterSettingItsMembersToNullInATransaction() throws Exception
      Throws:
      Exception
    • userHasNoGroupsAfterSettingItsMembersToNullInAnotherThread

      public void userHasNoGroupsAfterSettingItsMembersToNullInAnotherThread() throws Exception
      Throws:
      Exception
    • groupHasNoMembersAfterDeletingUserFromDb

      public void groupHasNoMembersAfterDeletingUserFromDb()
    • groupHasNoMembersAfterDeletingUserFromDbInATransaction

      public void groupHasNoMembersAfterDeletingUserFromDbInATransaction() throws Exception
      Throws:
      Exception
    • groupHasNoMembersAfterDeletingUserFromDbInAnotherThread

      public void groupHasNoMembersAfterDeletingUserFromDbInAnotherThread() throws Exception
      Throws:
      Exception
    • allUsersHaveProperGroupAfterBeingSetAsMembers

      public void allUsersHaveProperGroupAfterBeingSetAsMembers()
    • allUsersHaveProperGroupAfterBeingSetAsMembersInATransaction

      public void allUsersHaveProperGroupAfterBeingSetAsMembersInATransaction() throws Exception
      Throws:
      Exception
    • allUsersHaveProperGroupAfterBeingSetAsMembersInAnotherThread

      public void allUsersHaveProperGroupAfterBeingSetAsMembersInAnotherThread() throws Exception
      Throws:
      Exception
    • allUsersLooseTheirGroupAfterSettingItsMembersToNull

      public void allUsersLooseTheirGroupAfterSettingItsMembersToNull()
    • allUsersLooseTheirGroupAfterSettingItsMembersToNullInATransaction

      public void allUsersLooseTheirGroupAfterSettingItsMembersToNullInATransaction() throws Exception
      Throws:
      Exception
    • allUsersLooseTheirGroupAfterSettingItsMembersToNullInAnotherThread

      public void allUsersLooseTheirGroupAfterSettingItsMembersToNullInAnotherThread() throws Exception
      Throws:
      Exception
    • usersHaveNoGroupAfterDeletingTheirGroupFromDb

      public void usersHaveNoGroupAfterDeletingTheirGroupFromDb()
    • usersHaveNoGroupAfterDeletingTheirGroupFromDbInATransaction

      public void usersHaveNoGroupAfterDeletingTheirGroupFromDbInATransaction() throws Exception
      Throws:
      Exception
    • usersHaveNoGroupAfterDeletingTheirGroupFromDbInAnotherThread

      public void usersHaveNoGroupAfterDeletingTheirGroupFromDbInAnotherThread() throws Exception
      Throws:
      Exception
    • usersHaveProperGroupLeftAfterRemovingMembersOfOneOfTheirGroups

      public void usersHaveProperGroupLeftAfterRemovingMembersOfOneOfTheirGroups()
    • usersHaveProperGroupLeftAfterRemovingMembersOfOneOfTheirGroupsInATransaction

      public void usersHaveProperGroupLeftAfterRemovingMembersOfOneOfTheirGroupsInATransaction() throws Exception
      Throws:
      Exception
    • usersHaveProperGroupLeftAfterRemovingMembersOfOneOfTheirGroupsInAnotherThread

      public void usersHaveProperGroupLeftAfterRemovingMembersOfOneOfTheirGroupsInAnotherThread() throws Exception
      Throws:
      Exception
    • userHasProperGroupsWhenAddedAsAMemberToTwoGroupsInSeparateThreads

      public void userHasProperGroupsWhenAddedAsAMemberToTwoGroupsInSeparateThreads() throws Exception
      Throws:
      Exception
    • userHasAGroupAfterAddingHimAsAMemberInATransactionInASeparateThread

      public void userHasAGroupAfterAddingHimAsAMemberInATransactionInASeparateThread() throws Exception
      Throws:
      Exception