public class AuditResourceTest extends RestCrowdServiceAcceptanceTestCase
APPLICATION_NAME, APPLICATION_PASSWORD, ATTRIBUTES_RESOURCE, AUTHENTICATION_RESOURCE, EVENTS_RESOURCE, GROUP1, GROUP2, GROUP3, GROUP4, GROUPS_RESOURCE, MT, NON_ADMIN_USER_NAME, NON_ADMIN_USER_PASSWORD, NON_EXISTENT_GROUP, NON_EXISTENT_USER, REST_SERVICE_NAME, SESSION_RESOURCE, USERNAME_PARAM, USERNAME1, USERNAME1_PASSWORD, USERNAME2, USERNAME2_PASSWORD, USERNAME3, 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 |
testSearchByEntityTypeEnum() |
void |
testSearchByEventTypeEnum() |
void |
testSearchByTimestamp() |
void |
testSearchInaccessibleForNonAdmins() |
void |
testSearchInaccessibleForUnauthenticatedUsers() |
authenticateUser, authenticateUser, deactivateUser, getBaseUriBuilder, getBaseUriBuilder, getBaseUriBuilder, getRootWebResource, getServerUriBuilder, getWebResource, getWebResource, requestEvents, requestEventToken, setRestServer, setUp, tearDown
assertEquals, 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, toString
public AuditResourceTest(String name)
public AuditResourceTest(String name, RestServer restServer)
public void testSearchInaccessibleForUnauthenticatedUsers()
public void testSearchInaccessibleForNonAdmins() throws IOException
IOException
public void testCreateInaccessibleForUnauthenticatedUsers()
public void testCreateInaccessibleForNonAdmins()
public void testCreateChangesetWithAllPossibleProperties() throws IOException
IOException
public void testCreateChangesetWithMinimalAmountOfData() throws IOException
IOException
public void testBadRequestWhenCreatingChangesetWithoutEventType() throws IOException
IOException
public void testBadRequestWhenCreatingChangesetWithoutAuthorType() throws IOException
IOException
public void testSearchByAuthorTypeEnum() throws IOException
IOException
public void testSearchByEventTypeEnum() throws IOException
IOException
public void testSearchByEntityTypeEnum() throws IOException
IOException
public void testSearchByTimestamp() throws IOException
IOException
public void testAdditionalRestEntriesAppended() throws IOException
IOException
Copyright © 2017 Atlassian. All rights reserved.