org.acegisecurity.securechannel
Class ChannelProcessingFilterTests

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

public class ChannelProcessingFilterTests
extends junit.framework.TestCase

Tests ChannelProcessingFilter.

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

Constructor Summary
ChannelProcessingFilterTests()
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void testDetectsMissingChannelDecisionManager()
           
 void testDetectsMissingFilterInvocationDefinitionSource()
           
 void testDetectsSupportedConfigAttribute()
           
 void testDetectsUnsupportedConfigAttribute()
           
 void testDoFilterWhenManagerDoesCommitResponse()
           
 void testDoFilterWhenManagerDoesNotCommitResponse()
           
 void testDoFilterWhenNullConfigAttributeReturned()
           
 void testDoFilterWithNonHttpServletRequestDetected()
           
 void testDoFilterWithNonHttpServletResponseDetected()
           
 void testGetterSetters()
           
 
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

ChannelProcessingFilterTests

public ChannelProcessingFilterTests()
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

testDetectsMissingChannelDecisionManager

public void testDetectsMissingChannelDecisionManager()
                                              throws Exception
Throws:
Exception

testDetectsMissingFilterInvocationDefinitionSource

public void testDetectsMissingFilterInvocationDefinitionSource()
                                                        throws Exception
Throws:
Exception

testDetectsSupportedConfigAttribute

public void testDetectsSupportedConfigAttribute()
                                         throws Exception
Throws:
Exception

testDetectsUnsupportedConfigAttribute

public void testDetectsUnsupportedConfigAttribute()
                                           throws Exception
Throws:
Exception

testDoFilterWhenManagerDoesCommitResponse

public void testDoFilterWhenManagerDoesCommitResponse()
                                               throws Exception
Throws:
Exception

testDoFilterWhenManagerDoesNotCommitResponse

public void testDoFilterWhenManagerDoesNotCommitResponse()
                                                  throws Exception
Throws:
Exception

testDoFilterWhenNullConfigAttributeReturned

public void testDoFilterWhenNullConfigAttributeReturned()
                                                 throws Exception
Throws:
Exception

testDoFilterWithNonHttpServletRequestDetected

public void testDoFilterWithNonHttpServletRequestDetected()
                                                   throws Exception
Throws:
Exception

testDoFilterWithNonHttpServletResponseDetected

public void testDoFilterWithNonHttpServletResponseDetected()
                                                    throws Exception
Throws:
Exception

testGetterSetters

public void testGetterSetters()
                       throws Exception
Throws:
Exception


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