public class KeystoneUserServiceTests extends AbstractTest
AbstractTest.ServiceJSON_ACCESS, JSON_TOKEN, osv2, osv3, server, TOKEN_ID| Constructor and Description |
|---|
KeystoneUserServiceTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeUserPassword_fail_Test()
tries to change the password for an non existent user fails
|
void |
changeUserPassword_Test()
Changes the password for a user
|
void |
crud_User_Test()
CRUD user tests
|
void |
deleteUser_fail_Test()
tries to delete an non existent user fails
|
void |
getUser_byId_Test()
get speciific user by user identifier
|
void |
getUser_byName_byDomainId_NotExist_Test()
returns null for an non-existing user when the user specified by name and domain.
|
void |
getUser_byName_byDomainId_Test()
returns the user specified by name and domain.
|
void |
getUsers_byName_AcrossAllDomains_Test()
returns users across all domains matching given name
|
void |
listAllUsers_Test()
gets a list of users
|
void |
listDomainUserRoles_Test()
list roles for a user in domain context
|
void |
listProjectUserRoles_Test()
list roles for user in project context
|
void |
listUserGroups_Test()
lists the groups for user
|
void |
listUserProjects_Test()
list the projects given user has access to
|
protected AbstractTest.Service |
service() |
afterTest, associateClientV2, associateClientV3, authURL, getResource, osv2, osv3, respondWith, respondWith, respondWith, respondWith, respondWith, respondWithCodeAndResource, respondWithHeaderAndResource, startServer, takeRequestprotected AbstractTest.Service service()
service in class AbstractTestpublic void listAllUsers_Test()
throws Exception
Exceptionpublic void getUser_byId_Test()
throws Exception
Exceptionpublic void getUsers_byName_AcrossAllDomains_Test()
throws Exception
Exceptionpublic void getUser_byName_byDomainId_Test()
throws Exception
Exceptionpublic void getUser_byName_byDomainId_NotExist_Test()
throws Exception
Exceptionpublic void deleteUser_fail_Test()
throws Exception
Exceptionpublic void listDomainUserRoles_Test()
throws Exception
Exceptionpublic void listProjectUserRoles_Test()
throws Exception
Exceptionpublic void listUserGroups_Test()
throws Exception
Exceptionpublic void listUserProjects_Test()
throws Exception
Exceptionpublic void changeUserPassword_Test()
throws Exception
ExceptionCopyright © 2020. All rights reserved.