|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase net.sourceforge.jwebunit.junit.WebTestCase com.atlassian.confluence.AbstractAtlassianWebTestCase com.atlassian.confluence.AbstractConfluenceAcceptanceTest com.atlassian.confluence.AbstractPermissionsAcceptanceTest com.atlassian.confluence.SpacePermissionsAcceptanceTest
public class SpacePermissionsAcceptanceTest
1. test user, user of group, anon. with basic permissions: (browseable) 1.1 can't view all (links for perm.s) 1.2 increment perm. can only view the assigned perm. ... 1.x
Field Summary | |
---|---|
boolean |
onLastTest
|
Fields inherited from class com.atlassian.confluence.AbstractPermissionsAcceptanceTest |
---|
ADMIN_GROUP_PERMISSION, CONF_USERS_PERMISSION, FOO_GROUPNAME, NO_PERMISSION |
Fields inherited from class com.atlassian.confluence.AbstractAtlassianWebTestCase |
---|
SITE_TITLE_SUFFIX, TITLE_SEPARATOR |
Fields inherited from class net.sourceforge.jwebunit.junit.WebTestCase |
---|
tester |
Constructor Summary | |
---|---|
SpacePermissionsAcceptanceTest()
|
Methods inherited from class net.sourceforge.jwebunit.junit.WebTestCase |
---|
assertButtonNotPresent, assertButtonNotPresentWithText, assertButtonPresent, assertButtonPresentWithText, assertCheckboxNotPresent, assertCheckboxNotPresent, assertCheckboxNotSelected, assertCheckboxNotSelected, assertCheckboxPresent, assertCheckboxPresent, assertCheckboxSelected, assertCheckboxSelected, assertCookiePresent, assertCookieValueEquals, assertCookieValueMatch, assertDownloadedFileEquals, assertElementNotPresent, assertElementPresent, assertFormElementEmpty, assertFormElementEquals, assertFormElementMatch, assertFormElementNotPresent, assertFormElementPresent, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertHiddenFieldPresent, assertImagePresent, assertImageValidAndStore, assertKeyInTable, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyNotPresent, assertKeyPresent, assertKeyPresent, assertKeysInTable, assertKeysInTable, assertLinkNotPresent, assertLinkNotPresentWithExactText, assertLinkNotPresentWithExactText, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresentWithExactText, assertLinkPresentWithExactText, assertLinkPresentWithText, assertMatch, assertMatchInElement, assertMatchInTable, assertMatchInTable, assertNoMatch, assertNoMatchInElement, assertNoMatchInTable, assertNoMatchInTable, assertRadioOptionNotPresent, assertRadioOptionNotSelected, assertRadioOptionPresent, assertRadioOptionSelected, assertResetButtonNotPresent, assertResetButtonNotPresent, assertResetButtonPresent, assertResetButtonPresent, assertSelectedOptionEquals, assertSelectedOptionMatches, assertSelectedOptionsEqual, assertSelectedOptionsMatch, assertSelectedOptionValueEquals, assertSelectedOptionValuesEqual, assertSelectOptionNotPresent, assertSelectOptionPresent, assertSelectOptionsEqual, assertSelectOptionsNotEqual, assertSelectOptionsPresent, assertSelectOptionValueNotPresent, assertSelectOptionValuePresent, assertSelectOptionValuesEqual, assertSelectOptionValuesNotEqual, assertSelectOptionValuesPresent, assertSubmitButtonNotPresent, assertSubmitButtonNotPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertSubmitButtonPresent, assertTableEquals, assertTableEquals, assertTableMatch, assertTableMatch, assertTableNotPresent, assertTablePresent, assertTableRowCountEquals, assertTableRowsEqual, assertTableRowsEqual, assertTableRowsMatch, assertTableRowsMatch, assertTextFieldEquals, assertTextInElement, assertTextInTable, assertTextInTable, assertTextNotInElement, assertTextNotInTable, assertTextNotInTable, assertTextPresent, assertTitleEqualsKey, assertTitleEqualsKey, assertTitleMatch, assertWindowCountEquals, assertWindowPresent, assertWindowPresent, assertWindowPresentWithTitle, beginAt, checkCheckbox, checkCheckbox, clickButton, clickButtonWithText, clickElementByXPath, clickLink, clickLinkWithExactText, clickLinkWithExactText, clickLinkWithImage, clickLinkWithText, clickLinkWithText, clickRadioOption, closeBrowser, closeWindow, dumpCookies, dumpHtml, dumpHtml, dumpTable, dumpTable, getDialog, getElementAttributByXPath, getElementTextByXPath, getFormElementValue, getImage, getMessage, getMessage, getPageSource, getServeurResponse, getTable, getTestContext, getTester, getTestingEngineKey, gotoFrame, gotoPage, gotoRootWindow, gotoWindow, gotoWindow, gotoWindowByTitle, reset, saveAs, selectOption, selectOptionByValue, selectOptions, selectOptionsByValues, setDialog, setExpectedJavaScriptAlert, setExpectedJavaScriptAlert, setExpectedJavaScriptConfirm, setExpectedJavaScriptConfirm, setExpectedJavaScriptPrompt, setExpectedJavaScriptPrompt, setFormElement, setScriptingEnabled, setTestContext, setTestingEngineKey, setTextField, setWorkingForm, setWorkingForm, setWorkingForm, submit, submit, submit, uncheckCheckbox, uncheckCheckbox |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean onLastTest
Constructor Detail |
---|
public SpacePermissionsAcceptanceTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class AbstractConfluenceAcceptanceTest
java.lang.Exception
public void runBare() throws java.lang.Throwable
runBare
in class net.sourceforge.jwebunit.junit.WebTestCase
java.lang.Throwable
public void testViewSpacePermissions()
protected void grantUseConfluenceToTestUser()
public void testGrantViewOnUserForSpace() throws java.lang.Exception
java.lang.Exception
public void testCreatePageForUser() throws java.lang.Exception
java.lang.Exception
public void testExportPageForUser() throws java.lang.Exception
java.lang.Exception
public void testRemovePageForUser() throws java.lang.Exception
java.lang.Exception
public void testCreateBlogForUser() throws java.lang.Exception
java.lang.Exception
public void testRemoveBlogForUser() throws java.lang.Exception
java.lang.Exception
public void testCreateCommentForUser() throws java.lang.Exception
java.lang.Exception
public void testRemoveCommentForUser() throws java.lang.Exception
java.lang.Exception
public void testCreateAttachmentForUser() throws java.lang.Exception
java.lang.Exception
public void testRemoveAttachmentForUser() throws java.lang.Exception
java.lang.Exception
public void testExportSpaceForUser() throws java.lang.Exception
java.lang.Exception
public void testAdminSpaceForUser() throws java.lang.Exception
java.lang.Exception
public void testNoAnonymousPermsInSharedMode() throws java.lang.Exception
java.lang.Exception
public void testSetPagePermissionsForUser() throws java.lang.Exception
java.lang.Exception
public void testInconsistentAnonymousPermissionsWarning() throws java.lang.Exception
java.lang.Exception
public void testAnonymousPermissionsTurnedOffInSharedMode() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
public void testCanNotAccessGlobalPermissions()
public void testCannotEditSpacePermissionsOnNonExistantSpace()
public void testRegisteredUserCanSeeContentSeenByAnonymousUser() throws java.io.IOException, org.apache.xmlrpc.XmlRpcException, org.xml.sax.SAXException
java.io.IOException
org.apache.xmlrpc.XmlRpcException
org.xml.sax.SAXException
public void testPermissionsForDeletedSpaceNotCached()
public void testAdminJspPagesAccessibleOnlyToSystemAdministrators()
public void testEditSpacePermissionDoesntLooseAnonymousPermission()
public void tearDown() throws java.lang.Exception
AbstractConfluenceAcceptanceTest
AbstractConfluenceAcceptanceTest.filesToDelete
list.
tearDown
in class AbstractConfluenceAcceptanceTest
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |