Class PreventAdminFromRevokingAdminRightsFromThemselvesTest


public class PreventAdminFromRevokingAdminRightsFromThemselvesTest extends GroupAndUserPickerBaseTest
  • Constructor Details

    • PreventAdminFromRevokingAdminRightsFromThemselvesTest

      public PreventAdminFromRevokingAdminRightsFromThemselvesTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class CrowdWebDriverTest
      Throws:
      Exception
    • shouldPreventAdminFromRemovingTheirLastAdminMembership

      public void shouldPreventAdminFromRemovingTheirLastAdminMembership()
    • shouldAllowRemoveNonLastAdminMembership

      public void shouldAllowRemoveNonLastAdminMembership()
    • shouldAllowToRemoveSomeOtherUserAdminRights

      public void shouldAllowToRemoveSomeOtherUserAdminRights()
    • shouldRemoveNonAdminGroupsFromUserButShouldNotRemoveAdminGroup

      public void shouldRemoveNonAdminGroupsFromUserButShouldNotRemoveAdminGroup()
    • shouldNotRemoveAnyMembershipIfAllAreAdminGroups

      public void shouldNotRemoveAnyMembershipIfAllAreAdminGroups()
    • shouldNotAllowToRemoveFromGroupIfGroupIsNested

      public void shouldNotAllowToRemoveFromGroupIfGroupIsNested()
    • shouldRemoveNormalGroupsWithAdminGroupsWhenNotAllAdminGroupsAreSelected

      public void shouldRemoveNormalGroupsWithAdminGroupsWhenNotAllAdminGroupsAreSelected()