public class KeystoneUserServiceTests extends AbstractTest
AbstractTest.Service
JSON_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, takeRequest
protected AbstractTest.Service service()
service
in class AbstractTest
public void listAllUsers_Test() throws Exception
Exception
public void getUser_byId_Test() throws Exception
Exception
public void getUsers_byName_AcrossAllDomains_Test() throws Exception
Exception
public void getUser_byName_byDomainId_Test() throws Exception
Exception
public void getUser_byName_byDomainId_NotExist_Test() throws Exception
Exception
public void deleteUser_fail_Test() throws Exception
Exception
public void listDomainUserRoles_Test() throws Exception
Exception
public void listProjectUserRoles_Test() throws Exception
Exception
public void listUserGroups_Test() throws Exception
Exception
public void listUserProjects_Test() throws Exception
Exception
public void changeUserPassword_Test() throws Exception
Exception
Copyright © 2017. All Rights Reserved.