UserAndGroupTest UserAndGroupTest(
$methodName
)
|
|
Parameters:
void testAddAndRemoveUserFromGroup(
)
|
|
Create user, create group, add user to group, remove user from group,
delete user, delete group
void testAddDuplicateUserToGroup(
)
|
|
void testAssertHasItemPermission(
)
|
|
void testAssertSiteAdministrator(
)
|
|
void testCheckUserPassword(
)
|
|
void testCheckUserPasswordEntitiesLegacy(
)
|
|
void testCheckUserPasswordPhpassFallback(
)
|
|
void testCheckUserPasswordSimpleMd5Legacy(
)
|
|
void testCreateAndModifyGroup(
)
|
|
Create group, modify group, delete group
void testCreateAndModifyUser(
)
|
|
Create user, modify user, delete user
void testCreateDuplicateGroup(
)
|
|
Create duplicate group
void testCreateDuplicateUser(
)
|
|
Create duplicate user
Create group, delete group
Verify item owners are remapped ok if we delete a site admin.
void testDeleteAnonymousUser(
)
|
|
void testDeleteLastAdmin(
)
|
|
Verify we can't delete the last site admin.
void testDeleteSpecialGroups(
)
|
|
Create group, create user, add user to group, assign
permission to user, add item to user, delete user. check if permission and group maps are gone, check if item still exists with correct owner, delete group
void testDeleteUserItems(
)
|
|
Create user1, add some items, some with delete permission,
create another user2, add an item of user2 in user1's item tree delete user1, check if the right items were deleted, clean up
void testFetchGroupByName(
)
|
|
Create group, fetch it by name, delete group
void testFetchGroupCount(
)
|
|
Count groups, Create group, count groups again, delete group
void testFetchGroupNames(
)
|
|
Create group, fetch group names, make sure it's in there, delete group
void testFetchUserByName(
)
|
|
Create user, fetch it by name, delete user
void testFetchUserCount(
)
|
|
Count users, Create user, count users again, delete user
void testFetchUserCountByGroupId(
)
|
|
void testFetchUserCountBySubstring(
)
|
|
Verify that we can fetch all users with a given substring in their username
void testFetchUserCountBySubstringAndGroupId(
)
|
|
Verify that we can fetch all users from a group with a given substring in their username
void testFetchUserNames(
)
|
|
Create user, fetch user names, make sure it's in there, delete user
void testFetchUsersFromGroupBySubstringAndGroupId(
)
|
|
Verify that we can fetch all users from a group with a given substring in their username
void testHasItemPermission(
)
|
|