org.acegisecurity.providers.anonymous
Class AnonymousAuthenticationTokenTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.acegisecurity.providers.anonymous.AnonymousAuthenticationTokenTests
All Implemented Interfaces:
junit.framework.Test

public class AnonymousAuthenticationTokenTests
extends junit.framework.TestCase

Tests AnonymousAuthenticationToken.

Version:
$Id: AnonymousAuthenticationTokenTests.java 1877 2007-05-25 05:33:06Z benalex $
Author:
Ben Alex

Constructor Summary
AnonymousAuthenticationTokenTests()
           
AnonymousAuthenticationTokenTests(String arg0)
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void testConstructorRejectsNulls()
           
 void testEqualsWhenEqual()
           
 void testGetters()
           
 void testNoArgConstructorDoesntExist()
           
 void testNotEqualsDueToAbstractParentEqualsCheck()
           
 void testNotEqualsDueToDifferentAuthenticationClass()
           
 void testNotEqualsDueToKey()
           
 void testSetAuthenticatedIgnored()
           
 
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

AnonymousAuthenticationTokenTests

public AnonymousAuthenticationTokenTests()

AnonymousAuthenticationTokenTests

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

testConstructorRejectsNulls

public void testConstructorRejectsNulls()

testEqualsWhenEqual

public void testEqualsWhenEqual()

testGetters

public void testGetters()

testNoArgConstructorDoesntExist

public void testNoArgConstructorDoesntExist()

testNotEqualsDueToAbstractParentEqualsCheck

public void testNotEqualsDueToAbstractParentEqualsCheck()

testNotEqualsDueToDifferentAuthenticationClass

public void testNotEqualsDueToDifferentAuthenticationClass()

testNotEqualsDueToKey

public void testNotEqualsDueToKey()

testSetAuthenticatedIgnored

public void testSetAuthenticatedIgnored()


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