org.acegisecurity.captcha
Class CaptchaEntryPointTests

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

public class CaptchaEntryPointTests
extends junit.framework.TestCase

Tests CaptchaEntryPoint.

Version:
$Id: CaptchaEntryPointTests.java 1496 2006-05-23 13:38:33Z benalex $
Author:
marc antoine Garrigue

Constructor Summary
CaptchaEntryPointTests()
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
           
 void testDetectsMissingCaptchaFormUrl()
           
 void testDetectsMissingPortMapper()
           
 void testDetectsMissingPortResolver()
           
 void testGettersSetters()
           
 void testHttpsOperationFromOriginalHttpsUrl()
           
 void testHttpsOperationFromOriginalHttpUrl()
           
 void testNormalOperation()
           
 void testOperationWhenHttpsRequestsButHttpsPortUnknown()
           
 void testOperationWithOriginalRequestIncludes()
           
 void testOperationWithOutsideWebApp()
           
 
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

CaptchaEntryPointTests

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

testDetectsMissingCaptchaFormUrl

public void testDetectsMissingCaptchaFormUrl()
                                      throws Exception
Throws:
Exception

testDetectsMissingPortMapper

public void testDetectsMissingPortMapper()
                                  throws Exception
Throws:
Exception

testDetectsMissingPortResolver

public void testDetectsMissingPortResolver()
                                    throws Exception
Throws:
Exception

testGettersSetters

public void testGettersSetters()

testHttpsOperationFromOriginalHttpUrl

public void testHttpsOperationFromOriginalHttpUrl()
                                           throws Exception
Throws:
Exception

testHttpsOperationFromOriginalHttpsUrl

public void testHttpsOperationFromOriginalHttpsUrl()
                                            throws Exception
Throws:
Exception

testNormalOperation

public void testNormalOperation()
                         throws Exception
Throws:
Exception

testOperationWhenHttpsRequestsButHttpsPortUnknown

public void testOperationWhenHttpsRequestsButHttpsPortUnknown()
                                                       throws Exception
Throws:
Exception

testOperationWithOriginalRequestIncludes

public void testOperationWithOriginalRequestIncludes()
                                              throws Exception
Throws:
Exception

testOperationWithOutsideWebApp

public void testOperationWithOutsideWebApp()
                                    throws Exception
Throws:
Exception


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