org.acegisecurity.intercept.web
Class FilterInvocationTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jmock.core.VerifyingTestCase
              extended by org.jmock.core.MockObjectSupportTestCase
                  extended by org.jmock.MockObjectTestCase
                      extended by org.acegisecurity.intercept.web.FilterInvocationTests
All Implemented Interfaces:
junit.framework.Test

public class FilterInvocationTests
extends org.jmock.MockObjectTestCase

Tests FilterInvocation.

Version:
$Id: FilterInvocationTests.java 1496 2006-05-23 13:38:33Z benalex $
Author:
Ben Alex, colin sampaleanu

Field Summary
 
Fields inherited from class org.jmock.core.MockObjectSupportTestCase
ANYTHING, NOT_NULL, NULL
 
Constructor Summary
FilterInvocationTests()
           
FilterInvocationTests(String arg0)
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void testGettersAndStringMethods()
           
 void testNoArgConstructorDoesntExist()
           
 void testRejectsNullFilterChain()
           
 void testRejectsNullServletRequest()
           
 void testRejectsNullServletResponse()
           
 void testRejectsServletRequestWhichIsNotHttpServletRequest()
           
 void testRejectsServletResponseWhichIsNotHttpServletResponse()
           
 void testStringMethodsWithAQueryString()
           
 void testStringMethodsWithoutAnyQueryString()
           
 
Methods inherited from class org.jmock.MockObjectTestCase
atLeastOnce, defaultMockNameForType, mock, mock, never, newCoreMock, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException
 
Methods inherited from class org.jmock.core.MockObjectSupportTestCase
and, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, isA, newDummy, newDummy, newDummy, not, or, same, stringContains
 
Methods inherited from class org.jmock.core.VerifyingTestCase
registerToVerify, runBare, unregisterToVerify, verify
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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

FilterInvocationTests

public FilterInvocationTests()

FilterInvocationTests

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

testGettersAndStringMethods

public void testGettersAndStringMethods()

testNoArgConstructorDoesntExist

public void testNoArgConstructorDoesntExist()

testRejectsNullFilterChain

public void testRejectsNullFilterChain()

testRejectsNullServletRequest

public void testRejectsNullServletRequest()

testRejectsNullServletResponse

public void testRejectsNullServletResponse()

testRejectsServletRequestWhichIsNotHttpServletRequest

public void testRejectsServletRequestWhichIsNotHttpServletRequest()

testRejectsServletResponseWhichIsNotHttpServletResponse

public void testRejectsServletResponseWhichIsNotHttpServletResponse()

testStringMethodsWithAQueryString

public void testStringMethodsWithAQueryString()

testStringMethodsWithoutAnyQueryString

public void testStringMethodsWithoutAnyQueryString()


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