public class AclDaoComponentTest
extends junit.framework.TestCase
| Modifier and Type | Field and Description |
|---|---|
protected AuthenticationComponent |
authenticationComponent |
protected MutableAuthenticationService |
authenticationService |
protected AuthorityService |
authorityService |
protected org.alfresco.service.cmr.dictionary.DictionaryService |
dictionaryService |
protected org.alfresco.service.namespace.NamespacePrefixResolver |
namespacePrefixResolver |
protected org.alfresco.service.cmr.repository.NodeService |
nodeService |
protected ModelDAO |
permissionModelDAO |
protected PermissionServiceSPI |
permissionService |
protected PersonService |
personService |
protected org.alfresco.service.cmr.repository.NodeRef |
rootNodeRef |
protected ServiceRegistry |
serviceRegistry |
protected org.alfresco.service.cmr.repository.NodeRef |
systemNodeRef |
| Constructor and Description |
|---|
AclDaoComponentTest() |
| Modifier and Type | Method and Description |
|---|---|
protected PermissionReference |
getPermission(java.lang.String permission) |
protected void |
runAs(java.lang.String userName) |
void |
setUp() |
protected void |
tearDown() |
void |
testAddSimilar() |
void |
testCreateDefault() |
void |
testCreateDefining() |
void |
testCreateOld() |
void |
testCreateShared() |
void |
testDeleteAuthority() |
void |
testFixed() |
void |
testGlobal() |
void |
testInheritanceChainDefShared() |
void |
testOldDoesNotCow() |
void |
testSimpleCow() |
void |
testSimpleCowHerd1() |
void |
testSimpleCowHerd2() |
void |
testSimpleInheritFromDefining() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, 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, formatprotected org.alfresco.service.cmr.repository.NodeService nodeService
protected org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
protected PermissionServiceSPI permissionService
protected MutableAuthenticationService authenticationService
protected org.alfresco.service.cmr.repository.NodeRef rootNodeRef
protected org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver
protected ServiceRegistry serviceRegistry
protected org.alfresco.service.cmr.repository.NodeRef systemNodeRef
protected AuthenticationComponent authenticationComponent
protected ModelDAO permissionModelDAO
protected PersonService personService
protected AuthorityService authorityService
public void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionprotected void runAs(java.lang.String userName)
protected PermissionReference getPermission(java.lang.String permission)
public void testCreateDefault()
public void testCreateDefining()
public void testCreateShared()
public void testCreateOld()
public void testFixed()
public void testGlobal()
public void testSimpleInheritFromDefining()
public void testInheritanceChainDefShared()
public void testDeleteAuthority()
public void testSimpleCow()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimpleCowHerd1()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimpleCowHerd2()
throws java.lang.Exception
java.lang.Exceptionpublic void testOldDoesNotCow()
throws java.lang.Exception
java.lang.Exceptionpublic void testAddSimilar()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.