public class IntegrationTestFallbackSwitch extends AbstractDenormalisedPermissionsIntegrationTestBase
admin, bulkPermissionService, contentPermissionManager, denormalisedContentChangeLogDao, denormalisedPermissionsDdlExecutor, denormalisedPermissionStateManager, denormalisedSpaceChangeLogDao, eventPublisher, pageManager, SERVICE_READY_TIMEOUT, spaceDao, spaceManager, spacePermissionManager, state
Constructor and Description |
---|
IntegrationTestFallbackSwitch() |
Modifier and Type | Method and Description |
---|---|
void |
checkThatSpaceQueryObjectWasNotChanged()
This test fails if a new getter is added to SpacesQuery class.
|
void |
getAllSpaceKeysWithPermissionStatusesSwitchTest() |
void |
getAllSpaceKeysWithPermissionStatusesWithUnsupportedPermissionTypeTest()
Check that fallback service is always called when permission type is not supported
|
void |
getPermittedSpacesByIdSetSwitchTest()
Check that fallback service works properly when we use space ids
|
void |
getPermittedSpacesMutableTest()
Check that returned list is mutable
|
void |
getPermittedSpacesSwitchTest()
Check that fallback service works properly when we use space keys
|
void |
getPermittedSpacesWithoutPermissionTypeTest()
Check that fallback service is always called when permission type is not provided
|
void |
getPermittedSpacesWithUnsupportedPermissionTypeTest()
Check that fallback service is always called when permission type is not supported
|
void |
getViewableChildrenSwitchTest() |
void |
getViewableContentEntitiesSwitchTest() |
void |
init() |
clearEverything, createPage, deleteContentRecordFromDB, deleteSpace, disableServiceAndWaitUntilItsReady, enableServiceAndWaitUntilItsReady, getDialectName, processLogRecords, removeAllChangeLogRecords, setUpBase, waitForServiceState, waitUntilApiIsEnabled
public void init()
public void getPermittedSpacesSwitchTest() throws InterruptedException
InterruptedException
public void getPermittedSpacesByIdSetSwitchTest() throws InterruptedException
InterruptedException
public void getAllSpaceKeysWithPermissionStatusesSwitchTest() throws InterruptedException
InterruptedException
public void getPermittedSpacesWithoutPermissionTypeTest() throws InterruptedException
InterruptedException
public void getPermittedSpacesWithUnsupportedPermissionTypeTest() throws InterruptedException
InterruptedException
public void getAllSpaceKeysWithPermissionStatusesWithUnsupportedPermissionTypeTest() throws InterruptedException
InterruptedException
public void getPermittedSpacesMutableTest() throws InterruptedException
InterruptedException
public void checkThatSpaceQueryObjectWasNotChanged() throws IntrospectionException
IntrospectionException
public void getViewableChildrenSwitchTest()
public void getViewableContentEntitiesSwitchTest()
Copyright © 2003–2022 Atlassian. All rights reserved.