org.alfresco.repo.security.permissions.impl
Class AbstractPermissionTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.security.permissions.impl.AbstractPermissionTest
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- ACLEntryAfterInvocationTest, ACLEntryVoterTest, ExtendedPermissionServiceTest, PermissionModelTest, PermissionServiceTest
public class AbstractPermissionTest
- extends junit.framework.TestCase
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ROLE_AUTHENTICATED
protected static final java.lang.String ROLE_AUTHENTICATED
- See Also:
- Constant Field Values
nodeService
protected org.alfresco.service.cmr.repository.NodeService nodeService
dictionaryService
protected org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
permissionService
protected PermissionServiceSPI permissionService
authenticationService
protected MutableAuthenticationService authenticationService
sessionFactory
protected org.springframework.orm.hibernate3.LocalSessionFactoryBean sessionFactory
rootNodeRef
protected org.alfresco.service.cmr.repository.NodeRef rootNodeRef
namespacePrefixResolver
protected org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver
serviceRegistry
protected ServiceRegistry serviceRegistry
systemNodeRef
protected org.alfresco.service.cmr.repository.NodeRef systemNodeRef
authenticationComponent
protected AuthenticationComponent authenticationComponent
permissionModelDAO
protected ModelDAO permissionModelDAO
personService
protected PersonService personService
authorityService
protected AuthorityService authorityService
authorityDAO
protected AuthorityDAO authorityDAO
nodeDAO
protected NodeDAO nodeDAO
aclDaoComponent
protected AclDAO aclDaoComponent
retryingTransactionHelper
protected RetryingTransactionHelper retryingTransactionHelper
AbstractPermissionTest
public AbstractPermissionTest()
setUp
public void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class junit.framework.TestCase
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class junit.framework.TestCase
- Throws:
java.lang.Exception
runAs
protected void runAs(java.lang.String userName)
getPermission
protected PermissionReference getPermission(java.lang.String permission)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.