org.acegisecurity.afterinvocation
Class BasicAclEntryAfterInvocationProviderTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.acegisecurity.afterinvocation.BasicAclEntryAfterInvocationProviderTests
All Implemented Interfaces:
junit.framework.Test

public class BasicAclEntryAfterInvocationProviderTests
extends junit.framework.TestCase

Tests BasicAclEntryAfterInvocationProvider.

Version:
$Id: BasicAclEntryAfterInvocationProviderTests.java 1496 2006-05-23 13:38:33Z benalex $
Author:
Ben Alex

Constructor Summary
BasicAclEntryAfterInvocationProviderTests()
           
BasicAclEntryAfterInvocationProviderTests(String arg0)
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void testCorrectOperationWhenPrincipalHasIncorrectPermissionToDomainObject()
           
 void testCorrectOperationWhenPrincipalHasNoPermissionToDomainObject()
           
 void testCorrectOperationWhenPrincipalIsAuthorised()
           
 void testGrantsAccessIfReturnedObjectIsNull()
           
 void testRespectsModificationsToProcessConfigAttribute()
           
 void testRespectsModificationsToRequirePermissions()
           
 void testStartupDetectsMissingAclManager()
           
 void testStartupDetectsMissingProcessConfigAttribute()
           
 void testStartupDetectsMissingRequirePermission()
           
 void testSupportsAnything()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicAclEntryAfterInvocationProviderTests

public BasicAclEntryAfterInvocationProviderTests()

BasicAclEntryAfterInvocationProviderTests

public BasicAclEntryAfterInvocationProviderTests(String arg0)
Method Detail

main

public static void main(String[] args)

setUp

public final void setUp()
                 throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testCorrectOperationWhenPrincipalHasIncorrectPermissionToDomainObject

public void testCorrectOperationWhenPrincipalHasIncorrectPermissionToDomainObject()
                                                                           throws Exception
Throws:
Exception

testCorrectOperationWhenPrincipalHasNoPermissionToDomainObject

public void testCorrectOperationWhenPrincipalHasNoPermissionToDomainObject()
                                                                    throws Exception
Throws:
Exception

testCorrectOperationWhenPrincipalIsAuthorised

public void testCorrectOperationWhenPrincipalIsAuthorised()
                                                   throws Exception
Throws:
Exception

testGrantsAccessIfReturnedObjectIsNull

public void testGrantsAccessIfReturnedObjectIsNull()
                                            throws Exception
Throws:
Exception

testRespectsModificationsToProcessConfigAttribute

public void testRespectsModificationsToProcessConfigAttribute()
                                                       throws Exception
Throws:
Exception

testRespectsModificationsToRequirePermissions

public void testRespectsModificationsToRequirePermissions()
                                                   throws Exception
Throws:
Exception

testStartupDetectsMissingAclManager

public void testStartupDetectsMissingAclManager()
                                         throws Exception
Throws:
Exception

testStartupDetectsMissingProcessConfigAttribute

public void testStartupDetectsMissingProcessConfigAttribute()
                                                     throws Exception
Throws:
Exception

testStartupDetectsMissingRequirePermission

public void testStartupDetectsMissingRequirePermission()
                                                throws Exception
Throws:
Exception

testSupportsAnything

public void testSupportsAnything()


Copyright © 2004-2008 Interface21, Inc. All Rights Reserved.