public abstract class AbstractContentRestrictionTest extends Object
Modifier and Type | Field and Description |
---|---|
protected static com.atlassian.confluence.test.stateless.fixtures.UserFixture |
admin |
protected static com.atlassian.confluence.test.rpc.api.permissions.SpacePermission[] |
ADMIN_PERMS |
protected com.atlassian.confluence.test.rest.api.DarkFeatureRest |
darkFeatureRest |
static com.atlassian.confluence.test.stateless.rules.FlushIndexQueueRule |
flushIndexQueueRule |
protected com.atlassian.confluence.test.rpc.api.FunctestRpc |
functestRpc |
protected static com.atlassian.confluence.test.stateless.fixtures.GroupFixture |
group |
protected static com.atlassian.confluence.test.rpc.api.permissions.SpacePermission[] |
NO_RESTRICTIONS_PERMS |
protected com.atlassian.confluence.test.rpc.api.permissions.PermissionsRpc |
permissionsRpc |
protected static com.atlassian.confluence.webdriver.pageobjects.ConfluenceTestedProduct |
product |
protected static com.atlassian.confluence.test.rest.api.ConfluenceRestClient |
restClient |
protected static com.atlassian.confluence.test.rpc.api.permissions.SpacePermission[] |
RESTRICTIONS_PERMS |
protected com.atlassian.confluence.test.rest.api.ConfluenceRestSession |
restSession |
protected static com.atlassian.confluence.test.rpc.api.ConfluenceRpcClient |
rpcClient |
protected com.atlassian.confluence.test.rpc.api.ConfluenceRpcSession |
rpcSession |
protected static com.atlassian.confluence.test.stateless.fixtures.SpaceFixture |
space |
protected com.atlassian.confluence.test.rpc.api.SystemRpc |
systemRpc |
protected com.atlassian.confluence.test.rest.api.themes.ThemeRest |
themeRest |
protected static com.atlassian.confluence.test.stateless.fixtures.UserFixture |
user |
protected static com.atlassian.confluence.test.stateless.fixtures.UserFixture |
userWithoutRestrictionsPermission |
protected static com.atlassian.confluence.test.stateless.fixtures.UserFixture |
userWithSpace |
protected static com.atlassian.confluence.test.stateless.fixtures.UserFixture |
weirdUserName |
Constructor and Description |
---|
AbstractContentRestrictionTest() |
Modifier and Type | Method and Description |
---|---|
protected com.atlassian.confluence.webdriver.pageobjects.page.content.ViewPage |
restrictToLoggedInUser(com.atlassian.confluence.webdriver.pageobjects.page.content.EditorPage editorPage,
OperationKey operationKey) |
protected void |
restrictToUserAndAssertIsRestricted(com.atlassian.confluence.test.stateless.fixtures.UserFixture user,
com.atlassian.confluence.webdriver.pageobjects.page.content.EditorPage editorPage) |
protected void |
setAndThenRemoveRestrictionOnInfoPage(com.atlassian.confluence.test.api.model.person.UserWithDetails user,
Content content,
OperationKey operationKey) |
void |
setup() |
protected static final com.atlassian.confluence.test.rpc.api.permissions.SpacePermission[] NO_RESTRICTIONS_PERMS
protected static final com.atlassian.confluence.test.rpc.api.permissions.SpacePermission[] RESTRICTIONS_PERMS
protected static final com.atlassian.confluence.test.rpc.api.permissions.SpacePermission[] ADMIN_PERMS
public static com.atlassian.confluence.test.stateless.rules.FlushIndexQueueRule flushIndexQueueRule
protected static com.atlassian.confluence.test.stateless.fixtures.GroupFixture group
protected static com.atlassian.confluence.test.stateless.fixtures.UserFixture admin
protected static com.atlassian.confluence.test.stateless.fixtures.UserFixture user
protected static com.atlassian.confluence.test.stateless.fixtures.UserFixture userWithSpace
protected static com.atlassian.confluence.test.stateless.fixtures.UserFixture weirdUserName
protected static com.atlassian.confluence.test.stateless.fixtures.UserFixture userWithoutRestrictionsPermission
protected static com.atlassian.confluence.test.stateless.fixtures.SpaceFixture space
@Inject protected static com.atlassian.confluence.webdriver.pageobjects.ConfluenceTestedProduct product
@Inject protected static com.atlassian.confluence.test.rest.api.ConfluenceRestClient restClient
@Inject protected static com.atlassian.confluence.test.rpc.api.ConfluenceRpcClient rpcClient
protected com.atlassian.confluence.test.rpc.api.ConfluenceRpcSession rpcSession
protected com.atlassian.confluence.test.rest.api.ConfluenceRestSession restSession
protected com.atlassian.confluence.test.rpc.api.permissions.PermissionsRpc permissionsRpc
protected com.atlassian.confluence.test.rpc.api.FunctestRpc functestRpc
protected com.atlassian.confluence.test.rpc.api.SystemRpc systemRpc
protected com.atlassian.confluence.test.rest.api.DarkFeatureRest darkFeatureRest
protected com.atlassian.confluence.test.rest.api.themes.ThemeRest themeRest
public void setup()
protected com.atlassian.confluence.webdriver.pageobjects.page.content.ViewPage restrictToLoggedInUser(com.atlassian.confluence.webdriver.pageobjects.page.content.EditorPage editorPage, OperationKey operationKey)
protected void setAndThenRemoveRestrictionOnInfoPage(com.atlassian.confluence.test.api.model.person.UserWithDetails user, Content content, OperationKey operationKey)
protected void restrictToUserAndAssertIsRestricted(com.atlassian.confluence.test.stateless.fixtures.UserFixture user, com.atlassian.confluence.webdriver.pageobjects.page.content.EditorPage editorPage)
Copyright © 2003–2016 Atlassian. All rights reserved.