public class RemoteBlueprintContentTemplateServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
expectedException |
proxyCreator
rpc, testHelper, testName
Constructor and Description |
---|
RemoteBlueprintContentTemplateServiceAcceptanceTest() |
Modifier and Type | Method and Description |
---|---|
static void |
beforeClass() |
protected Collection<String> |
getExcludedMethodNamesForProxyTest()
Returns a collection of method names to skip the proxy test for.
|
protected Object |
getService() |
protected Class |
getServiceClass() |
void |
setup() |
void |
tearDown() |
void |
testCreateSpaceTemplate() |
void |
testCreateTemplate() |
void |
testGetHowdyBlueprintTemplateById() |
void |
testGetHowdyBlueprintTemplateByKeys() |
void |
testGetHowdyBlueprintUsingFinder() |
void |
testGetListOfGlobalBlueprintTemplates_containsHowdy() |
void |
testGetListOfSpaceBlueprintTemplates() |
void |
testGetTemplatesUsingFinder() |
void |
testGivenGlobalEdited_WhenGetHowdyBlueprintTemplateByKeys_ThenReturnsGlobalCustomisedTemplate() |
void |
testGivenSpaceEdited_WhenGetHowdyBlueprintTemplateByKeys_ThenReturnsSpaceCustomisedTemplate() |
void |
testRemoveTemplate() |
void |
testUpdateTemplate() |
void |
testWhenUserDoesNotHavePermission() |
checkPageResponse, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumber
commonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, users
public RemoteBlueprintContentTemplateServiceAcceptanceTest()
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 static void beforeClass()
public void tearDown()
public void testGetListOfSpaceBlueprintTemplates()
public void testGetListOfGlobalBlueprintTemplates_containsHowdy()
public void testGetHowdyBlueprintTemplateByKeys()
public void testGetHowdyBlueprintUsingFinder()
public void testGetTemplatesUsingFinder()
public void testGetHowdyBlueprintTemplateById()
public void testGivenGlobalEdited_WhenGetHowdyBlueprintTemplateByKeys_ThenReturnsGlobalCustomisedTemplate()
public void testGivenSpaceEdited_WhenGetHowdyBlueprintTemplateByKeys_ThenReturnsSpaceCustomisedTemplate()
public void testCreateTemplate()
public void testCreateSpaceTemplate()
public void testRemoveTemplate()
public void testUpdateTemplate()
public void testWhenUserDoesNotHavePermission()
Copyright © 2003–2018 Atlassian. All rights reserved.