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 |
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, initialize, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumbercommonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, userspublic 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 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 void tearDown()
public void testGetListOfSpaceBlueprintTemplates()
public void testGetListOfGlobalBlueprintTemplates_containsHowdy()
public void testGetHowdyBlueprintTemplateByKeys()
public void testGetHowdyBlueprintUsingFinder()
public void testGetTemplatesUsingFinder()
throws Exception
Exceptionpublic void testGetHowdyBlueprintTemplateById()
public void testGivenGlobalEdited_WhenGetHowdyBlueprintTemplateByKeys_ThenReturnsGlobalCustomisedTemplate()
throws Exception
Exceptionpublic void testGivenSpaceEdited_WhenGetHowdyBlueprintTemplateByKeys_ThenReturnsSpaceCustomisedTemplate()
throws Exception
ExceptionCopyright © 2003–2017 Atlassian. All rights reserved.