public class RemoteContentLegacyDraftServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
thrown |
proxyCreator
rpc, testHelper, testName
Constructor and Description |
---|
RemoteContentLegacyDraftServiceAcceptanceTest() |
checkPageResponse, initialize, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumber
commonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, users
public RemoteContentLegacyDraftServiceAcceptanceTest()
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 disableDarkFeature()
public void testPublishNewDraft()
public void testPublishNewDraftWithAttachment()
public void testPublishNewDraftWithEmbeddedAttachment()
public void testPublishNewDraftWithLabels()
public void testPublishNewDraftWithLocation()
public void testPublishNewDraftWithRestrictions()
public void testPublishNewDraftNotFoundDraft()
public void testPublishNewDraftWithoutContentBodyReference()
public void testPublishEditDraft()
public void testPublishEditDraftWhenDraftDoesNotExist()
public void testPublishEditDraftWithoutEditPermission()
public void testPublishEditDraftWithDefaultConflictPolicy()
public void testDraftNotDeletedWhenErrorSavingContent()
public void testPublishEditDraftWithoutDraft()
public void testPublishEditDraftWithPassingContentStatusIsNotCurrent()
public void testPublishEditDraftWithExistingContentStatusIsNotCurrent()
public void testCanDeleteNeverPublishedDraftPage()
public void testCanDeleteDraftOfPublishedPage()
public void testCannotDeleteDraftOfNonexistentContent()
public void testCannotDeleteDraftOfContentWithoutADraft()
protected void assertDraftRemovedOnPublish(ContentId id)
Copyright © 2003–2017 Atlassian. All rights reserved.