public class KeystoneTests extends AbstractTest
AbstractTest.ServiceJSON_ACCESS, JSON_TOKEN, osv2, osv3, server, TOKEN_ID| Constructor and Description |
|---|
KeystoneTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticateTest()
Tests authentication and receiving the Access object with the current
Token
|
void |
rolesTest()
Tests the Role based Operations
|
protected AbstractTest.Service |
service() |
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
|
void |
testAuthorizationFailure() |
void |
testExtensions()
Tests retrieving Extensions
|
void |
testInvalidRegion()
Tests finding an endpoint for which does not exist
|
void |
testRegionTwo()
Tests finding an endpoint for Region Two which does exist
|
void |
testTenants()
Tests tenant based operations
|
void |
testTenantUsers() |
void |
usersTest()
Tests the User based Operations
|
afterTest, associateClientV2, associateClientV3, authURL, getResource, osv2, osv3, respondWith, respondWith, respondWith, respondWith, respondWith, respondWithCodeAndResource, respondWithHeaderAndResource, startServer, takeRequestpublic void authenticateTest()
throws Exception
Exception - the exceptionpublic void testAuthorizationFailure()
throws IOException
IOExceptionpublic void rolesTest()
throws Exception
Exception - the exceptionpublic void usersTest()
throws Exception
Exception - the exceptionpublic void testRegionTwo()
throws Exception
Exceptionpublic void testInvalidRegion()
throws Exception
Exceptionpublic void testAPIPatterns()
public void testTenants()
throws Exception
Exceptionpublic void testExtensions()
throws Exception
Exceptionprotected AbstractTest.Service service()
service in class AbstractTestCopyright © 2020. All rights reserved.