public class RemotePageContentTemplateServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
expectedException |
proxyCreator
rpc, testHelper, testName
Constructor and Description |
---|
RemotePageContentTemplateServiceAcceptanceTest() |
checkPageResponse, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumber
commonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, users
public RemotePageContentTemplateServiceAcceptanceTest()
protected Object getService()
getService
in class AbstractRemoteServiceAcceptanceTest
protected Class getServiceClass()
getServiceClass
in class AbstractRemoteServiceAcceptanceTest
protected Collection<String> getExcludedMethodNamesForProxyTest()
AbstractRemoteServiceAcceptanceTest
Overridden by test classes for services with methods that are known to be implemented on the proxy, but not able to be tested with the logic in testServiceProxy. If we end up fixing the logic, these exclusions can (and should) be removed.
getExcludedMethodNamesForProxyTest
in class AbstractRemoteServiceAcceptanceTest
public void tearDown()
public void testGetListOfGlobalContentTemplates()
public void testGetListOfSpaceContentTemplates()
public void testGetContentTemplateById()
public void testGetContentTemplateFetchOneWithId()
public void testGetContentTemplateFetchOneWithoutId()
public void testGetContentTemplateFetchOneWithSpace()
public void testCreateContentTemplate()
public void testCreateSpaceContentTemplate()
public void testCreateDuplicatedTitleThrowsException()
public void testEmptyTitleThrowsException()
public void testTitleTooLongThrowsException()
public void testUpdateTemplate()
public void testDeleteTemplate()
public void testWhenUserIsNotAdmin_DeleteTemplateFailed()
public void testWhenUserIsNotAdmin_CreateTemplateFailed()
public void testWhenUserIsNotAdmin_updateTemplateFailed()
public void testWhenUserIsNotEditor_createInstanceFailedPermissionCheck()
public void testCreateDraftFromTemplate()
public void testCreatePageFromTemplate()
public void testCreateInstanceWithUnsupportedId_ThrowException()
Copyright © 2003–2018 Atlassian. All rights reserved.