public class KeystoneTests extends AbstractTest
AbstractTest.Service
JSON_ACCESS, server
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, associateClient, authURL, os, respondWith, respondWith, respondWith, startServer
public void authenticateTest() throws Exception
Exception
- the exceptionpublic void testAuthorizationFailure() throws IOException
IOException
public void rolesTest() throws Exception
Exception
- the exceptionpublic void usersTest() throws Exception
Exception
- the exceptionpublic void testRegionTwo() throws Exception
Exception
public void testInvalidRegion() throws Exception
Exception
public void testAPIPatterns()
public void testTenants() throws Exception
Exception
public void testExtensions() throws Exception
Exception
protected AbstractTest.Service service()
service
in class AbstractTest
Copyright © 2014. All rights reserved.