public class RemoteBlueprintContentTemplateServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOMISED_GLOBAL_CONTENT |
static String |
CUSTOMISED_SPACE_CONTENT |
static String |
CUSTOMISED_TEMPLATE |
org.junit.rules.ExpectedException |
expectedException |
static String |
TEST_UPDATED_TEMPLATE_BODY |
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, initialize, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumber
commonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, users
public static final String CUSTOMISED_TEMPLATE
public static final String CUSTOMISED_GLOBAL_CONTENT
public static final String CUSTOMISED_SPACE_CONTENT
public static final String TEST_UPDATED_TEMPLATE_BODY
public org.junit.rules.ExpectedException expectedException
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 void tearDown()
public void testGetListOfSpaceBlueprintTemplates()
public void testGetListOfGlobalBlueprintTemplates_containsHowdy()
public void testGetHowdyBlueprintTemplateByKeys()
public void testGetHowdyBlueprintUsingFinder()
public void testGetTemplatesUsingFinder() throws Exception
Exception
public void testGetHowdyBlueprintTemplateById()
public void testGivenGlobalEdited_WhenGetHowdyBlueprintTemplateByKeys_ThenReturnsGlobalCustomisedTemplate() throws Exception
Exception
public void testGivenSpaceEdited_WhenGetHowdyBlueprintTemplateByKeys_ThenReturnsSpaceCustomisedTemplate() throws Exception
Exception
Copyright © 2003–2017 Atlassian. All rights reserved.