public class RemoteContentSharedDraftsServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
expectedException |
proxyCreatorrpc, testEnvironmentRule, testHelper, testName| Constructor and Description |
|---|
RemoteContentSharedDraftsServiceAcceptanceTest() |
checkPageResponse, makeNextVersion, prepareMspacesWithNpages, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumbercommonSetUp, exceptionSupplierpublic RemoteContentSharedDraftsServiceAcceptanceTest()
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 disableDarkFeature()
public void testPublishNewDraft()
public void testDraftCanContainCustomContent()
throws Exception
Exceptionpublic void testPublishNewDraftWithAttachment()
throws URISyntaxException,
IOException
URISyntaxExceptionIOExceptionpublic void testPublishNewDraftWithEmbeddedAttachment()
throws URISyntaxException,
IOException
URISyntaxExceptionIOExceptionpublic void testPublishNewDraftWithLabels()
public void testPublishNewDraftWithLocation()
public void testPublishNewDraftWithLocationAlreadySet()
public void testPublishNewDraftNotFoundDraft()
public void testPublishEditDraftWhenUserLostSession()
public void testPublishEditDraftWithoutEditPermission()
public void testPublishEditDraftWithoutSharedAccess()
public void testPublishEditDraftWithoutDraft()
public void testPublishEditDraftWithPassingContentStatusIsNotCurrent()
public void testAnonymousCannotPublishOthersDrafts()
public void testCollaboratorsPersistedOnNewlyPublishedPage()
public void testCollaboratorsPersistedOnPublishExistingPage()
public void testAnonymousUsersCanPublishPagesWithCollaborators()
public void testCanDeleteNeverPublishedDraftPage()
public void testCannotDeleteDraftOfNonexistentContent()
public void testCannotDeleteDraftOfContentWithoutADraft()
Copyright © 2003–2017 Atlassian. All rights reserved.