org.alfresco.repo.security.permissions.impl
Class AclDaoComponentTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.security.permissions.impl.AclDaoComponentTest
- All Implemented Interfaces:
- junit.framework.Test
public class AclDaoComponentTest
- 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 |
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
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
AclDaoComponentTest
public AclDaoComponentTest()
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)
testCreateDefault
public void testCreateDefault()
testCreateDefining
public void testCreateDefining()
testCreateShared
public void testCreateShared()
testCreateOld
public void testCreateOld()
testFixed
public void testFixed()
testGlobal
public void testGlobal()
testSimpleInheritFromDefining
public void testSimpleInheritFromDefining()
testInheritanceChainDefShared
public void testInheritanceChainDefShared()
testDeleteAuthority
public void testDeleteAuthority()
testSimpleCow
public void testSimpleCow()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSimpleCowHerd1
public void testSimpleCowHerd1()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSimpleCowHerd2
public void testSimpleCowHerd2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOldDoesNotCow
public void testOldDoesNotCow()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddSimilar
public void testAddSimilar()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.