org.alfresco.repo.security.permissions.impl.acegi
Class ACLEntryAfterInvocationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.security.permissions.impl.AbstractPermissionTest
              extended by org.alfresco.repo.security.permissions.impl.acegi.ACLEntryAfterInvocationTest
All Implemented Interfaces:
junit.framework.Test

public class ACLEntryAfterInvocationTest
extends AbstractPermissionTest


Nested Class Summary
static class ACLEntryAfterInvocationTest.ClassWithMethods
           
 class ACLEntryAfterInvocationTest.Interceptor
           
 
Field Summary
 
Fields inherited from class org.alfresco.repo.security.permissions.impl.AbstractPermissionTest
aclDaoComponent, authenticationComponent, authenticationService, authorityDAO, authorityService, dictionaryService, namespacePrefixResolver, nodeDAO, nodeService, permissionModelDAO, permissionService, personService, retryingTransactionHelper, ROLE_AUTHENTICATED, rootNodeRef, serviceRegistry, sessionFactory, systemNodeRef
 
Constructor Summary
ACLEntryAfterInvocationTest()
           
 
Method Summary
 void testBasicAllowChildAssociationRef1()
           
 void testBasicAllowChildAssociationRef2()
           
 void testBasicAllowNode()
           
 void testBasicAllowNodePair()
           
 void testBasicAllowNodeParent()
           
 void testBasicAllowNullChildAssociationRef1()
           
 void testBasicAllowNullChildAssociationRef2()
           
 void testBasicAllowNullNode()
           
 void testBasicAllowNullResultSet()
           
 void testBasicAllowNullStore()
           
 void testBasicAllowStore()
           
 void testBasicAllowUnrecognisedObject()
           
 void testBasicDenyChildAssocRef1()
           
 void testBasicDenyChildAssocRef2()
           
 void testBasicDenyInvalidNodeRef()
           
 void testBasicDenyNode()
           
 void testBasicDenyStore()
           
 void testBasicFilterInvalidNodeRefs()
           
 void testResultSetFilterAll()
           
 void testResultSetFilterForNullParentOnly()
           
 void testResultSetFilterNone1()
           
 void testResultSetFilterNone2()
           
 
Methods inherited from class org.alfresco.repo.security.permissions.impl.AbstractPermissionTest
getPermission, runAs, setUp, tearDown
 
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
 

Constructor Detail

ACLEntryAfterInvocationTest

public ACLEntryAfterInvocationTest()
Method Detail

testBasicAllowNullNode

public void testBasicAllowNullNode()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowNullStore

public void testBasicAllowNullStore()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowUnrecognisedObject

public void testBasicAllowUnrecognisedObject()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testBasicDenyInvalidNodeRef

public void testBasicDenyInvalidNodeRef()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testBasicFilterInvalidNodeRefs

public void testBasicFilterInvalidNodeRefs()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testBasicDenyStore

public void testBasicDenyStore()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testBasicDenyNode

public void testBasicDenyNode()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowNode

public void testBasicAllowNode()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowNodePair

public void testBasicAllowNodePair()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowStore

public void testBasicAllowStore()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowNodeParent

public void testBasicAllowNodeParent()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowNullChildAssociationRef1

public void testBasicAllowNullChildAssociationRef1()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowNullChildAssociationRef2

public void testBasicAllowNullChildAssociationRef2()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testBasicDenyChildAssocRef1

public void testBasicDenyChildAssocRef1()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testBasicDenyChildAssocRef2

public void testBasicDenyChildAssocRef2()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowChildAssociationRef1

public void testBasicAllowChildAssociationRef1()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowChildAssociationRef2

public void testBasicAllowChildAssociationRef2()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowNullResultSet

public void testBasicAllowNullResultSet()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testResultSetFilterAll

public void testResultSetFilterAll()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testResultSetFilterForNullParentOnly

public void testResultSetFilterForNullParentOnly()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testResultSetFilterNone1

public void testResultSetFilterNone1()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testResultSetFilterNone2

public void testResultSetFilterNone2()
                              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.