com.atlassian.confluence.webdriver
Class AbstractContentRestrictionTest

java.lang.Object
  extended by com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
      extended by com.atlassian.confluence.webdriver.AbstractContentRestrictionTest
Direct Known Subclasses:
BlogPostRestrictionsTest, PageRestrictionsTest

public abstract class AbstractContentRestrictionTest
extends AbstractInjectableWebDriverTest


Field Summary
protected  User weirdNameUser
           
protected  User whiteSpaceUser
           
 
Fields inherited from class com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
darkFeaturesHelper, methodRules, name, product, rpc, serverStateManager, testData, userHelper
 
Constructor Summary
AbstractContentRestrictionTest()
           
 
Method Summary
protected  ViewPage restrictToLoggedInUser(EditorPage editorPage, ContentPermissionType permissionType)
           
protected  void restrictToUserAndAssertIsRestricted(User user, EditorPage editorPage)
           
protected  void setAndThenRemoveRestrictionOnInfoPage(User user, AbstractPageEntity abstractPage, ContentPermissionType permissionType)
           
 void setUp()
           
 
Methods inherited from class com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weirdNameUser

protected User weirdNameUser

whiteSpaceUser

protected User whiteSpaceUser
Constructor Detail

AbstractContentRestrictionTest

public AbstractContentRestrictionTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

restrictToLoggedInUser

protected ViewPage restrictToLoggedInUser(EditorPage editorPage,
                                          ContentPermissionType permissionType)

setAndThenRemoveRestrictionOnInfoPage

protected void setAndThenRemoveRestrictionOnInfoPage(User user,
                                                     AbstractPageEntity abstractPage,
                                                     ContentPermissionType permissionType)

restrictToUserAndAssertIsRestricted

protected void restrictToUserAndAssertIsRestricted(User user,
                                                   EditorPage editorPage)


Copyright © 2003–2015 Atlassian. All rights reserved.