org.acegisecurity.intercept.web
Class FilterInvocationDefinitionSourceEditorWithPathsTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.acegisecurity.intercept.web.FilterInvocationDefinitionSourceEditorWithPathsTests
All Implemented Interfaces:
junit.framework.Test

public class FilterInvocationDefinitionSourceEditorWithPathsTests
extends junit.framework.TestCase

Tests FilterInvocationDefinitionSourceEditor and its associated PathBasedFilterInvocationDefinitionMap.

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

Constructor Summary
FilterInvocationDefinitionSourceEditorWithPathsTests()
           
FilterInvocationDefinitionSourceEditorWithPathsTests(String arg0)
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void testAntPathDirectiveIsDetected()
           
 void testConvertUrlToLowercaseDefaultSettingUnchangedByEditor()
           
 void testConvertUrlToLowercaseSettingApplied()
           
 void testInvalidNameValueFailsToParse()
           
 void testIterator()
           
 void testMapReturnsNullWhenNoMatchFound()
           
 void testMultiUrlParsing()
           
 void testNoArgConstructorDoesntExist()
           
 void testOrderOfEntriesIsPreservedOrderA()
           
 void testOrderOfEntriesIsPreservedOrderB()
           
 void testSingleUrlParsing()
           
 void testWhitespaceAndCommentsAndLinesWithoutEqualsSignsAreIgnored()
           
 
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

FilterInvocationDefinitionSourceEditorWithPathsTests

public FilterInvocationDefinitionSourceEditorWithPathsTests()

FilterInvocationDefinitionSourceEditorWithPathsTests

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

testAntPathDirectiveIsDetected

public void testAntPathDirectiveIsDetected()

testConvertUrlToLowercaseDefaultSettingUnchangedByEditor

public void testConvertUrlToLowercaseDefaultSettingUnchangedByEditor()

testConvertUrlToLowercaseSettingApplied

public void testConvertUrlToLowercaseSettingApplied()

testInvalidNameValueFailsToParse

public void testInvalidNameValueFailsToParse()

testIterator

public void testIterator()

testMapReturnsNullWhenNoMatchFound

public void testMapReturnsNullWhenNoMatchFound()
                                        throws Exception
Throws:
Exception

testMultiUrlParsing

public void testMultiUrlParsing()

testNoArgConstructorDoesntExist

public void testNoArgConstructorDoesntExist()

testOrderOfEntriesIsPreservedOrderA

public void testOrderOfEntriesIsPreservedOrderA()

testOrderOfEntriesIsPreservedOrderB

public void testOrderOfEntriesIsPreservedOrderB()

testSingleUrlParsing

public void testSingleUrlParsing()
                          throws Exception
Throws:
Exception

testWhitespaceAndCommentsAndLinesWithoutEqualsSignsAreIgnored

public void testWhitespaceAndCommentsAndLinesWithoutEqualsSignsAreIgnored()


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