public class RemoteBlueprintContentTemplateServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
expectedException |
proxyCreatorrpc, 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, userByNumbercommonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, userspublic RemoteBlueprintContentTemplateServiceAcceptanceTest()
protected Object getService()
getService in class AbstractRemoteServiceAcceptanceTestprotected Class getServiceClass()
getServiceClass in class AbstractRemoteServiceAcceptanceTestprotected Collection<String> getExcludedMethodNamesForProxyTest()
AbstractRemoteServiceAcceptanceTestOverridden 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 AbstractRemoteServiceAcceptanceTestpublic 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–2019 Atlassian. All rights reserved.