org.openmdx.test.security.auth
Class TestHttpHandler

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.openmdx.test.security.auth.ServletTestCase
              extended by org.openmdx.test.security.auth.TestHttpHandler
All Implemented Interfaces:
junit.framework.Test

public class TestHttpHandler
extends ServletTestCase

Test Simple Callback Handler


Nested Class Summary
 
Nested classes/interfaces inherited from class org.openmdx.test.security.auth.ServletTestCase
ServletTestCase.TestConfig, ServletTestCase.TestContext, ServletTestCase.TestRequest, ServletTestCase.TestResponse
 
Field Summary
protected static DateFormat dateFormat
           
 
Constructor Summary
TestHttpHandler()
          Constructor
TestHttpHandler(String name)
          Constructor
 
Method Summary
static void main(String[] args)
          The batch TestRunner can be given a class to run directly.
protected  ServletConfig newConfig()
           
static junit.framework.Test suite()
          A test runner either expects a static method suite as the entry point to get a test to run or it will extract the suite automatically.
 void testInsecureExceptionHandler()
          Method to be detected by the TestSuite
 void testLoginServlet()
          Method to be detected by the TestSuite
 void testSimpleCallbackHandler()
          Method to be detected by the TestSuite
 
Methods inherited from class org.openmdx.test.security.auth.ServletTestCase
getContextPath, newFile
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dateFormat

protected static final DateFormat dateFormat
Constructor Detail

TestHttpHandler

public TestHttpHandler()
Constructor


TestHttpHandler

public TestHttpHandler(String name)
Constructor

Parameters:
name -
Method Detail

newConfig

protected ServletConfig newConfig()

main

public static void main(String[] args)
The batch TestRunner can be given a class to run directly. To start the batch runner from your main you can write:


suite

public static junit.framework.Test suite()
A test runner either expects a static method suite as the entry point to get a test to run or it will extract the suite automatically.


testSimpleCallbackHandler

public void testSimpleCallbackHandler()
                               throws Exception
Method to be detected by the TestSuite

Throws:
Exception

testInsecureExceptionHandler

public void testInsecureExceptionHandler()
                                  throws Exception
Method to be detected by the TestSuite

Throws:
Exception

testLoginServlet

public void testLoginServlet()
                      throws Exception
Method to be detected by the TestSuite

Throws:
Exception


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.