org.apache.jackrabbit.test.api.security
Class AccessControlDiscoveryTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.jackrabbit.test.JUnitTest
org.apache.jackrabbit.test.AbstractJCRTest
org.apache.jackrabbit.test.api.security.AbstractAccessControlTest
org.apache.jackrabbit.test.api.security.AccessControlDiscoveryTest
- All Implemented Interfaces:
- junit.framework.Test
public class AccessControlDiscoveryTest
- extends AbstractAccessControlTest
AccessControlDiscoveryTest
...
Fields inherited from class org.apache.jackrabbit.test.AbstractJCRTest |
isReadOnly, jcrBaseVersion, jcrCopiedFrom, jcrCreated, jcrFrozenNode, jcrFrozenUuid, jcrIsCheckedOut, jcrlockIsDeep, jcrLockOwner, jcrMergeFailed, jcrMixinTypes, jcrPredecessors, jcrPrimaryType, jcrRootVersion, jcrSuccessors, jcrSystem, jcrUUID, jcrVersionHistory, mixLockable, mixReferenceable, mixShareable, mixSimpleVersionable, mixVersionable, nodeName1, nodeName2, nodeName3, nodeName4, NS_JCR_URI, NS_MIX_URI, NS_NT_URI, NS_SV_URI, ntBase, ntFrozenNode, ntQuery, ntUnstructured, ntVersion, ntVersionHistory, ntVersionLabels, propertyName1, propertyName2, superuser, testNodeType, testNodeTypeNoChildren, testPath, testRoot, testRootNode, vf, workspaceName |
Fields inherited from class org.apache.jackrabbit.test.JUnitTest |
log |
Methods inherited from class org.apache.jackrabbit.test.AbstractJCRTest |
checkSupportedOption, cleanUp, cleanUpTestRoot, createRandomString, ensureCanSetProperty, ensureCanSetProperty, ensureCanSetProperty, ensureKnowsNodeType, ensureMixinType, ensureMultipleWorkspacesSupported, getHelper, getJcrValue, getLocalName, getNonExistingWorkspaceName, getProperty, getProperty, getSize, isSupported, needsMixin, run, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, runBare, 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, failNotEquals, failNotSame, failSame, format |
AccessControlDiscoveryTest
public AccessControlDiscoveryTest()
testGetSupportedPrivileges
public void testGetSupportedPrivileges()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testPrivilegeFromName
public void testPrivilegeFromName()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testMandatoryPrivilegeFromName
public void testMandatoryPrivilegeFromName()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testUnknownPrivilegeFromName
public void testUnknownPrivilegeFromName()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
testAllPrivilegeContainsAll
public void testAllPrivilegeContainsAll()
throws javax.jcr.RepositoryException,
NotExecutableException
- Throws:
javax.jcr.RepositoryException
NotExecutableException
testAllPrivilege
public void testAllPrivilege()
throws javax.jcr.RepositoryException,
NotExecutableException
- Test the jcr:all privilege.
- Throws:
javax.jcr.RepositoryException
NotExecutableException
testWritePrivilege
public void testWritePrivilege()
throws javax.jcr.RepositoryException,
NotExecutableException
- Test the jcr:write privilege.
- Throws:
javax.jcr.RepositoryException
- If an error occurs.
NotExecutableException
- If the test cannot be executed.
testAggregregatePrivileges
public void testAggregregatePrivileges()
throws javax.jcr.RepositoryException
- Test some simple characteristics of the known aggregate privileges (jcr:write and jcr:all).
- Throws:
javax.jcr.RepositoryException
testPrivilegeName
public void testPrivilegeName()
throws javax.jcr.RepositoryException
- Tests if the privilege name is treated as JCR Name and consequently
reflects changes made to the namespace prefix.
- Throws:
javax.jcr.RepositoryException
- If an error occurs.
testGetPrivileges
public void testGetPrivileges()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
- If an error occurs.
testGetPrivilegesOnNonExistingNode
public void testGetPrivilegesOnNonExistingNode()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
- If an error occurs.
testGetPrivilegesOnProperty
public void testGetPrivilegesOnProperty()
throws javax.jcr.RepositoryException,
NotExecutableException
- Throws:
javax.jcr.RepositoryException
- If an error occurs.
NotExecutableException
- If the test cannot be executed.
testHasPrivileges
public void testHasPrivileges()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
- If an error occurs.
testHasIndividualPrivileges
public void testHasIndividualPrivileges()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
- If an error occurs.
testNotHasPrivileges
public void testNotHasPrivileges()
throws javax.jcr.RepositoryException,
NotExecutableException
- Throws:
javax.jcr.RepositoryException
- If an error occurs.
NotExecutableException
- If the test cannot be executed.
testHasPrivilegesOnNotExistingNode
public void testHasPrivilegesOnNotExistingNode()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
- If an error occurs.
testHasPrivilegesOnProperty
public void testHasPrivilegesOnProperty()
throws javax.jcr.RepositoryException,
NotExecutableException
- Throws:
javax.jcr.RepositoryException
- If an error occurs.
NotExecutableException
- If the test cannot be executed.
testHasPrivilegesEmptyArray
public void testHasPrivilegesEmptyArray()
throws javax.jcr.RepositoryException,
NotExecutableException
- Throws:
javax.jcr.RepositoryException
- If an error occurs.
NotExecutableException
- If the test cannot be executed.
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.