org.acegisecurity.providers.anonymous
Class AnonymousProcessingFilterTests

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

public class AnonymousProcessingFilterTests
extends junit.framework.TestCase

Tests AnonymousProcessingFilter.

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

Constructor Summary
AnonymousProcessingFilterTests()
           
AnonymousProcessingFilterTests(String arg0)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testDetectsMissingKey()
           
 void testDetectsUserAttribute()
           
 void testGettersSetters()
           
 void testOperationWhenAuthenticationExistsInContextHolder()
           
 void testOperationWhenNoAuthenticationInSecurityContextHolder()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

AnonymousProcessingFilterTests

public AnonymousProcessingFilterTests()

AnonymousProcessingFilterTests

public AnonymousProcessingFilterTests(String arg0)
Method Detail

main

public static void main(String[] args)

setUp

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

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testDetectsMissingKey

public void testDetectsMissingKey()
                           throws Exception
Throws:
Exception

testDetectsUserAttribute

public void testDetectsUserAttribute()
                              throws Exception
Throws:
Exception

testGettersSetters

public void testGettersSetters()
                        throws Exception
Throws:
Exception

testOperationWhenAuthenticationExistsInContextHolder

public void testOperationWhenAuthenticationExistsInContextHolder()
                                                          throws Exception
Throws:
Exception

testOperationWhenNoAuthenticationInSecurityContextHolder

public void testOperationWhenNoAuthenticationInSecurityContextHolder()
                                                              throws Exception
Throws:
Exception


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