Class KeystoneUserServiceTests


  • public class KeystoneUserServiceTests
    extends AbstractTest
    Tests the Identity/Keystone API version 3 UserService
    • Constructor Detail

      • KeystoneUserServiceTests

        public KeystoneUserServiceTests()
    • Method Detail

      • listAllUsers_Test

        public void listAllUsers_Test()
                               throws Exception
        gets a list of users
        Throws:
        Exception
      • getUser_byId_Test

        public void getUser_byId_Test()
                               throws Exception
        get speciific user by user identifier
        Throws:
        Exception
      • getUsers_byName_AcrossAllDomains_Test

        public void getUsers_byName_AcrossAllDomains_Test()
                                                   throws Exception
        returns users across all domains matching given name
        Throws:
        Exception
      • getUser_byName_byDomainId_Test

        public void getUser_byName_byDomainId_Test()
                                            throws Exception
        returns the user specified by name and domain.
        Throws:
        Exception
      • getUser_byName_byDomainId_NotExist_Test

        public void getUser_byName_byDomainId_NotExist_Test()
                                                     throws Exception
        returns null for an non-existing user when the user specified by name and domain.
        Throws:
        Exception
      • crud_User_Test

        public void crud_User_Test()
                            throws Exception
        CRUD user tests
        Throws:
        Exception
      • deleteUser_fail_Test

        public void deleteUser_fail_Test()
                                  throws Exception
        tries to delete an non existent user fails
        Throws:
        Exception
      • listDomainUserRoles_Test

        public void listDomainUserRoles_Test()
                                      throws Exception
        list roles for a user in domain context
        Throws:
        Exception
      • listProjectUserRoles_Test

        public void listProjectUserRoles_Test()
                                       throws Exception
        list roles for user in project context
        Throws:
        Exception
      • listUserGroups_Test

        public void listUserGroups_Test()
                                 throws Exception
        lists the groups for user
        Throws:
        Exception
      • listUserProjects_Test

        public void listUserProjects_Test()
                                   throws Exception
        list the projects given user has access to
        Throws:
        Exception
      • changeUserPassword_Test

        public void changeUserPassword_Test()
                                     throws Exception
        Changes the password for a user
        Throws:
        Exception
      • changeUserPassword_fail_Test

        public void changeUserPassword_fail_Test()
                                          throws Exception
        tries to change the password for an non existent user fails
        Throws:
        Exception