public class ContentConvertibleRestAcceptanceTest extends AbstractAcceptanceTest
DummyAvailableContentTypeSupport
to provide the
custom content type implementation.Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
expected |
rpc, testHelper, testName
Constructor and Description |
---|
ContentConvertibleRestAcceptanceTest() |
Modifier and Type | Method and Description |
---|---|
void |
closeClient() |
void |
setUp() |
void |
testCanCommentByDefault() |
void |
testCommentExtensionsSupport() |
void |
testConvertibleCustomContentIsAccessibleInAPI() |
void |
testCreateUsingContentApi() |
void |
testCreateUsingContentApiWithoutRequiredPropertyThrowsBadRequest() |
void |
testCreateWithoutContentTypeThrowsBadRequest() |
void |
testEditCommentExtension() |
void |
testExtensionsOnCustomContent() |
void |
testNotConvertibleCustomContentIs_Not_AccessibleInAPI() |
void |
testUpdate() |
void |
testUpdateWithDifferentTypeFails() |
void |
testUpdatingContentWithoutRequiredExtensionThrowsBadRequest() |
static void |
uninstall() |
commonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, users
public ContentConvertibleRestAcceptanceTest()
public void closeClient()
public static void uninstall()
public void testConvertibleCustomContentIsAccessibleInAPI() throws IOException
IOException
public void testNotConvertibleCustomContentIs_Not_AccessibleInAPI() throws IOException
IOException
public void testExtensionsOnCustomContent()
public void testCanCommentByDefault()
public void testCommentExtensionsSupport()
public void testEditCommentExtension()
public void testCreateUsingContentApi()
public void testCreateUsingContentApiWithoutRequiredPropertyThrowsBadRequest()
public void testCreateWithoutContentTypeThrowsBadRequest()
public void testUpdateWithDifferentTypeFails()
public void testUpdate()
public void testUpdatingContentWithoutRequiredExtensionThrowsBadRequest()
Copyright © 2003–2017 Atlassian. All rights reserved.