public class AuditResourceTest extends RestCrowdServiceAcceptanceTestCase
ADMIN_PASSWORD, ADMIN_USERNAME, APPLICATION_NAME, APPLICATION_PASSWORD, ATTRIBUTES_RESOURCE, AUTHENTICATION_RESOURCE, EEEEP_PASSWORD, EEEEP_USERNAME, EVENTS_RESOURCE, GROUP_BADGERS, GROUP_BADGERS_DESCRIPTION, GROUP_CROWD_ADMINS, GROUP_CROWD_TESTERS, GROUP_CROWD_USERS, GROUPS_RESOURCE, MT, NON_ADMIN_USER_NAME, NON_ADMIN_USER_PASSWORD, NON_CROWD_USER_PASSWORD, NON_CROWD_USER_USERNAME, NON_EXISTENT_GROUP, NON_EXISTENT_USER, PENNY_USERNAME, REST_SERVICE_NAME, restServer, SECOND_ADMIN_PASSWORD, SECOND_ADMIN_USERNAME, SESSION_RESOURCE, USERNAME_PARAM, USERS_RESOURCE, WEBHOOKS_RESOURCE| Constructor and Description |
|---|
AuditResourceTest(String name) |
AuditResourceTest(String name,
RestServer restServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
testAdditionalRestEntriesAppended() |
void |
testBadRequestWhenCreatingChangesetWithoutAuthorType() |
void |
testBadRequestWhenCreatingChangesetWithoutEventType() |
void |
testCreateChangesetWithAllPossibleProperties() |
void |
testCreateChangesetWithMinimalAmountOfData() |
void |
testCreateInaccessibleForNonAdmins() |
void |
testCreateInaccessibleForUnauthenticatedUsers() |
void |
testSearchByAuthorTypeEnum() |
void |
testSearchByEventTypeEnum() |
void |
testSearchByTimestamp() |
void |
testSearchInaccessibleForNonAdmins() |
void |
testSearchInaccessibleForUnauthenticatedUsers() |
void |
testShouldAcceptEntitiesIn212Format() |
authenticateUser, authenticateUser, deactivateUser, getBaseUriBuilder, getBaseUriBuilder, getBaseUriBuilder, getRootWebResource, getServerUriBuilder, getWebResource, getWebResource, requestEvents, requestEventToken, setRestServer, setUp, tearDownassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringpublic AuditResourceTest(String name)
public AuditResourceTest(String name, RestServer restServer)
public void testSearchInaccessibleForUnauthenticatedUsers()
public void testSearchInaccessibleForNonAdmins()
throws IOException
IOExceptionpublic void testCreateInaccessibleForUnauthenticatedUsers()
public void testCreateInaccessibleForNonAdmins()
public void testCreateChangesetWithAllPossibleProperties()
throws IOException
IOExceptionpublic void testCreateChangesetWithMinimalAmountOfData()
throws IOException
IOExceptionpublic void testBadRequestWhenCreatingChangesetWithoutEventType()
throws IOException
IOExceptionpublic void testBadRequestWhenCreatingChangesetWithoutAuthorType()
throws IOException
IOExceptionpublic void testSearchByAuthorTypeEnum()
throws IOException
IOExceptionpublic void testSearchByEventTypeEnum()
throws IOException
IOExceptionpublic void testSearchByTimestamp()
throws IOException
IOExceptionpublic void testAdditionalRestEntriesAppended()
throws IOException
IOExceptionpublic void testShouldAcceptEntitiesIn212Format()
throws IOException
IOExceptionCopyright © 2023 Atlassian. All rights reserved.