Searched refs:getMaxAllowed (Results 1 – 4 of 4) sorted by relevance
118 assertEquals(21, type.getMaxAllowed()); in testUserTypeBuilder_createUserType()188 assertEquals(UNLIMITED_NUMBER_OF_USERS, type.getMaxAllowed()); in testUserTypeBuilder_defaults()413 assertEquals(17, details.getMaxAllowed()); in testUserTypeFactoryCustomize_full()
249 final int maxUsersForType = userTypeDetails.getMaxAllowed(); in testAddTooManyUsers()649 .getMaxAllowed() == 1); in requireSingleGuest()655 .getMaxAllowed() > 1); in requireMultipleGuests()
210 public int getMaxAllowed() { in getMaxAllowed() method in UserTypeDetails
3071 final int max = userTypeDetails.getMaxAllowed(); in canAddMoreUsersOfType()3116 type.getMaxAllowed() == UserTypeDetails.UNLIMITED_NUMBER_OF_USERS in getRemainingCreatableUserCount()3118 : (type.getMaxAllowed() - getNumberOfUsersOfType(userType))); in getRemainingCreatableUserCount()3248 if (type.getMaxAllowed() != UserTypeDetails.UNLIMITED_NUMBER_OF_USERS) { in getRemainingCreatableProfileCount()3249 result = Math.min(result, type.getMaxAllowed() in getRemainingCreatableProfileCount()