Searched refs:getMaxAllowed (Results 1 – 4 of 4) sorted by relevance
126 assertEquals(21, type.getMaxAllowed()); in testUserTypeBuilder_createUserType()211 assertEquals(UNLIMITED_NUMBER_OF_USERS, type.getMaxAllowed()); in testUserTypeBuilder_defaults()480 assertEquals(17, details.getMaxAllowed()); in testUserTypeFactoryCustomize_full()
420 final int maxUsersForType = userTypeDetails.getMaxAllowed(); in testAddTooManyUsers()820 .getMaxAllowed() == 1); in requireSingleGuest()826 .getMaxAllowed() > 1); in requireMultipleGuests()
229 public int getMaxAllowed() { in getMaxAllowed() method in UserTypeDetails
3641 final int max = userTypeDetails.getMaxAllowed(); in canAddMoreUsersOfType()3686 type.getMaxAllowed() == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS in getRemainingCreatableUserCount()3688 : (type.getMaxAllowed() - getNumberOfUsersOfType(userType))); in getRemainingCreatableUserCount()3819 if (type.getMaxAllowed() != UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in getRemainingCreatableProfileCount()3820 result = Math.min(result, type.getMaxAllowed() in getRemainingCreatableProfileCount()