org.acegisecurity.acl.basic
Class BasicAclProviderTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.acegisecurity.acl.basic.BasicAclProviderTests
All Implemented Interfaces:
junit.framework.Test

public class BasicAclProviderTests
extends junit.framework.TestCase

Tests BasicAclProvider.

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

Field Summary
static String OBJECT_IDENTITY
           
 
Constructor Summary
BasicAclProviderTests()
           
BasicAclProviderTests(String arg0)
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void testCachingUsedProperly()
           
 void testExceptionThrownIfUnsupportedObjectIsSubmitted()
           
 void testGetAclsForInstanceNotFound()
           
 void testGetAclsForInstanceWithParentLevels()
           
 void testGetAclsForInstanceWithParentLevelsButNoDirectAclsAgainstInstance()
           
 void testGetAclsWithAuthentication()
           
 void testGettersSetters()
           
 void testStartupFailsIfNullAclDao()
           
 void testStartupFailsIfNullEffectiveAclsResolver()
           
 void testStartupFailsIfNullEntryCache()
           
 void testStartupFailsIfProblemWithAclObjectIdentityClass()
           
 void testSupports()
           
 void testSupportsReturnsNullIfObjectNull()
           
 
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
 

Field Detail

OBJECT_IDENTITY

public static final String OBJECT_IDENTITY
See Also:
Constant Field Values
Constructor Detail

BasicAclProviderTests

public BasicAclProviderTests()

BasicAclProviderTests

public BasicAclProviderTests(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

testCachingUsedProperly

public void testCachingUsedProperly()
                             throws Exception
Throws:
Exception

testExceptionThrownIfUnsupportedObjectIsSubmitted

public void testExceptionThrownIfUnsupportedObjectIsSubmitted()
                                                       throws Exception
Throws:
Exception

testGetAclsForInstanceNotFound

public void testGetAclsForInstanceNotFound()
                                    throws Exception
Throws:
Exception

testGetAclsForInstanceWithParentLevels

public void testGetAclsForInstanceWithParentLevels()
                                            throws Exception
Throws:
Exception

testGetAclsForInstanceWithParentLevelsButNoDirectAclsAgainstInstance

public void testGetAclsForInstanceWithParentLevelsButNoDirectAclsAgainstInstance()
                                                                          throws Exception
Throws:
Exception

testGetAclsWithAuthentication

public void testGetAclsWithAuthentication()
                                   throws Exception
Throws:
Exception

testGettersSetters

public void testGettersSetters()

testStartupFailsIfNullAclDao

public void testStartupFailsIfNullAclDao()
                                  throws Exception
Throws:
Exception

testStartupFailsIfNullEffectiveAclsResolver

public void testStartupFailsIfNullEffectiveAclsResolver()
                                                 throws Exception
Throws:
Exception

testStartupFailsIfNullEntryCache

public void testStartupFailsIfNullEntryCache()
                                      throws Exception
Throws:
Exception

testStartupFailsIfProblemWithAclObjectIdentityClass

public void testStartupFailsIfProblemWithAclObjectIdentityClass()
                                                         throws Exception
Throws:
Exception

testSupports

public void testSupports()
                  throws Exception
Throws:
Exception

testSupportsReturnsNullIfObjectNull

public void testSupportsReturnsNullIfObjectNull()


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