Class KeystoneTests


  • public class KeystoneTests
    extends AbstractTest
    Tests the Identity/Keystone API
    Author:
    Jeremy Unruh
    • Constructor Detail

      • KeystoneTests

        public KeystoneTests()
    • Method Detail

      • authenticateTest

        public void authenticateTest()
                              throws Exception
        Tests authentication and receiving the Access object with the current Token
        Throws:
        Exception - the exception
      • rolesTest

        public void rolesTest()
                       throws Exception
        Tests the Role based Operations
        Throws:
        Exception - the exception
      • usersTest

        public void usersTest()
                       throws Exception
        Tests the User based Operations
        Throws:
        Exception - the exception
      • testRegionTwo

        public void testRegionTwo()
                           throws Exception
        Tests finding an endpoint for Region Two which does exist
        Throws:
        Exception
      • testInvalidRegion

        public void testInvalidRegion()
                               throws Exception
        Tests finding an endpoint for which does not exist
        Throws:
        Exception
      • testAPIPatterns

        public void testAPIPatterns()
        Tests common API patterns such as expecting a Null if a query by an identifier fails or Empty list on results that have no data
      • testTenants

        public void testTenants()
                         throws Exception
        Tests tenant based operations
        Throws:
        Exception
      • testExtensions

        public void testExtensions()
                            throws Exception
        Tests retrieving Extensions
        Throws:
        Exception