org.acegisecurity.userdetails.memory
Class InMemoryDaoTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.acegisecurity.userdetails.memory.InMemoryDaoTests
All Implemented Interfaces:
junit.framework.Test

public class InMemoryDaoTests
extends junit.framework.TestCase

Tests InMemoryDaoImpl.

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

Constructor Summary
InMemoryDaoTests()
           
InMemoryDaoTests(String arg0)
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void testLookupFails()
           
 void testLookupSuccess()
           
 void testLookupSuccessWithMixedCase()
           
 void testStartupFailsIfUserMapNotSet()
           
 void testStartupFailsIfUserMapSetToNull()
           
 void testStartupSuccessIfUserMapSet()
           
 void testUseOfExternalPropertiesObject()
           
 
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

InMemoryDaoTests

public InMemoryDaoTests()

InMemoryDaoTests

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

testLookupFails

public void testLookupFails()
                     throws Exception
Throws:
Exception

testLookupSuccess

public void testLookupSuccess()
                       throws Exception
Throws:
Exception

testLookupSuccessWithMixedCase

public void testLookupSuccessWithMixedCase()
                                    throws Exception
Throws:
Exception

testStartupFailsIfUserMapNotSet

public void testStartupFailsIfUserMapNotSet()
                                     throws Exception
Throws:
Exception

testStartupFailsIfUserMapSetToNull

public void testStartupFailsIfUserMapSetToNull()
                                        throws Exception
Throws:
Exception

testStartupSuccessIfUserMapSet

public void testStartupSuccessIfUserMapSet()
                                    throws Exception
Throws:
Exception

testUseOfExternalPropertiesObject

public void testUseOfExternalPropertiesObject()
                                       throws Exception
Throws:
Exception


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