public abstract class AbstractAccountApiTest extends MockableTest
| Modifier and Type | Field and Description |
|---|---|
protected com.cloudinary.provisioning.Account |
account |
org.junit.rules.TestName |
currentTest |
org.junit.rules.ExpectedException |
expectedException |
cloudinary, REMOTE_TEST_IMAGE, SDK_TEST_TAG, SRC_TEST_IMAGE, SRC_TEST_RAW, SRC_TEST_VIDEO, SUFFIX| Constructor and Description |
|---|
AbstractAccountApiTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
static void |
setUpClass() |
static void |
tearDownClass() |
void |
testAddUserToUserGroup() |
void |
testCreateSubAccount() |
void |
testCreateUser() |
void |
testCreateUserDisabled() |
void |
testCreateUserEnabled() |
void |
testCreateUserGroup() |
void |
testCreateUserWithOptions() |
void |
testDeleteSubAccount() |
void |
testDeleteUser() |
void |
testDeleteUserGroup() |
void |
testGetPendingUsers() |
void |
testGetSubAccount() |
void |
testGetSubAccounts() |
void |
testGetUser() |
void |
testGetUsers() |
void |
testGetUsersByPrefix() |
void |
testGetUsersBySubAccountIds() |
void |
testGetUsersThrowsWhenSubAccountIdDoesntExist() |
void |
testListUserGroup() |
void |
testListUserGroups() |
void |
testListUsersInGroup() |
void |
testPassingCredentialsThroughOptions() |
void |
testRemoveUserFromUserGroup() |
void |
testUpdateSubAccount() |
void |
testUpdateUser() |
void |
testUpdateUserDisabled() |
void |
testUpdateUserEnabled() |
void |
testUpdateUserGroup() |
assumeAddonEnabled, getHttpMethod, getParam, getURL, preloadResourceprotected com.cloudinary.provisioning.Account account
public org.junit.rules.TestName currentTest
public org.junit.rules.ExpectedException expectedException
public static void setUpClass()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic static void tearDownClass()
public void testPassingCredentialsThroughOptions()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetSubAccount()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetSubAccounts()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateSubAccount()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateSubAccount()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteSubAccount()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetUser()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetUsers()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetPendingUsers()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetUsersByPrefix()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetUsersBySubAccountIds()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetUsersThrowsWhenSubAccountIdDoesntExist()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateUser()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateUserWithOptions()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateUserEnabled()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateUserDisabled()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateUser()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateUserEnabled()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateUserDisabled()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteUser()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateUserGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateUserGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteUserGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testAddUserToUserGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoveUserFromUserGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testListUserGroups()
throws java.lang.Exception
java.lang.Exceptionpublic void testListUserGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testListUsersInGroup()
throws java.lang.Exception
java.lang.Exception