public class ContentAcceptanceTest extends AbstractJUnit3RestAcceptanceTest
TEST_PAGE, TEST_SPACE
Constructor and Description |
---|
ContentAcceptanceTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testAnonymousUserCannotGetContent() |
void |
testGetAttachmentByMimeType() |
void |
testGetAttachmentByMimeTypeJson() |
void |
testGetAttachmentByNiceType() |
void |
testGetAttachmentByNiceTypeJson() |
void |
testGetAttachmentOrder() |
void |
testGetAttachmentsForContent() |
void |
testGetAttachmentsForContentJson() |
void |
testGetAttachmentsInReverseOrder() |
void |
testGetBlogPost() |
void |
testGetContentById() |
void |
testGetContentByIdAnonymousUser() |
void |
testGetContentByIdJson() |
void |
testGetPaginatedAttachmentsForContent() |
void |
testGetPaginatedAttachmentsForContentJson() |
void |
testInvalidContent() |
baseUrl, configuredBaseUrl, createTestUser, restClient, rpc, serverState, users
runBare, setExceptionTransformer
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, runTest, setName, toString
protected void setUp() throws Exception
setUp
in class AbstractJUnit3RestAcceptanceTest
Exception
protected void tearDown() throws Exception
tearDown
in class AbstractJUnit3RestAcceptanceTest
Exception
public void testInvalidContent()
public void testAnonymousUserCannotGetContent()
public void testGetBlogPost()
public void testGetContentById()
public void testGetContentByIdJson()
public void testGetAttachmentsForContent()
public void testGetAttachmentsForContentJson()
public void testGetPaginatedAttachmentsForContent()
public void testGetPaginatedAttachmentsForContentJson()
public void testGetAttachmentByNiceType()
public void testGetAttachmentByMimeType() throws Exception
Exception
public void testGetAttachmentByNiceTypeJson()
public void testGetAttachmentByMimeTypeJson()
public void testGetAttachmentsInReverseOrder() throws Exception
Exception
public void testGetContentByIdAnonymousUser()
Copyright © 2003–2015 Atlassian. All rights reserved.