org.acegisecurity.acl
Class AclProviderManagerTests

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

public class AclProviderManagerTests
extends junit.framework.TestCase

Tests AclProviderManager.

Version:
$Id: AclProviderManagerTests.java 1784 2007-02-24 21:00:24Z luke_t $
Author:
Ben Alex

Constructor Summary
AclProviderManagerTests()
           
AclProviderManagerTests(String arg0)
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void testAclLookupFails()
           
 void testAclLookupForGivenAuthenticationSuccess()
           
 void testAclLookupSuccess()
           
 void testRejectsNulls()
           
 void testReturnsNullIfNoSupportingProvider()
           
 void testStartupFailsIfProviderListNotContainingProviders()
           
 void testStartupFailsIfProviderListNotSet()
           
 void testStartupFailsIfProviderListNull()
           
 void testSuccessfulStartup()
           
 
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

AclProviderManagerTests

public AclProviderManagerTests()

AclProviderManagerTests

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

testAclLookupFails

public void testAclLookupFails()

testAclLookupForGivenAuthenticationSuccess

public void testAclLookupForGivenAuthenticationSuccess()

testAclLookupSuccess

public void testAclLookupSuccess()

testRejectsNulls

public void testRejectsNulls()

testReturnsNullIfNoSupportingProvider

public void testReturnsNullIfNoSupportingProvider()

testStartupFailsIfProviderListNotContainingProviders

public void testStartupFailsIfProviderListNotContainingProviders()
                                                          throws Exception
Throws:
Exception

testStartupFailsIfProviderListNotSet

public void testStartupFailsIfProviderListNotSet()
                                          throws Exception
Throws:
Exception

testStartupFailsIfProviderListNull

public void testStartupFailsIfProviderListNull()
                                        throws Exception
Throws:
Exception

testSuccessfulStartup

public void testSuccessfulStartup()
                           throws Exception
Throws:
Exception


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