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, waitUntilApiIsEnabledpublic void init()
public void getPermittedSpacesSwitchTest()
throws InterruptedException
InterruptedExceptionpublic void getPermittedSpacesByIdSetSwitchTest()
throws InterruptedException
InterruptedExceptionpublic void getAllSpaceKeysWithPermissionStatusesSwitchTest()
throws InterruptedException
InterruptedExceptionpublic void getPermittedSpacesWithoutPermissionTypeTest()
throws InterruptedException
InterruptedExceptionpublic void getPermittedSpacesWithUnsupportedPermissionTypeTest()
throws InterruptedException
InterruptedExceptionpublic void getAllSpaceKeysWithPermissionStatusesWithUnsupportedPermissionTypeTest()
throws InterruptedException
InterruptedExceptionpublic void getPermittedSpacesMutableTest()
throws InterruptedException
InterruptedExceptionpublic void checkThatSpaceQueryObjectWasNotChanged()
throws IntrospectionException
IntrospectionExceptionpublic void getViewableChildrenSwitchTest()
public void getViewableContentEntitiesSwitchTest()
Copyright © 2003–2022 Atlassian. All rights reserved.