org.openmdx.test.security.auth
Class TestLoginConfiguration

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

public class TestLoginConfiguration
extends junit.framework.TestCase


Constructor Summary
TestLoginConfiguration()
          Constructor
TestLoginConfiguration(String name)
          Constructor
 
Method Summary
static void assertEquals(String message, AppConfigurationEntry expected, AppConfigurationEntry actual)
          Compares two AppConfigurationEntrys
static void main(String[] args)
          The batch TestRunner can be given a class to run directly.
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 testEncoding()
           
 void testLoginConfiguration()
           
 
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
 

Constructor Detail

TestLoginConfiguration

public TestLoginConfiguration()
Constructor


TestLoginConfiguration

public TestLoginConfiguration(String name)
Constructor

Parameters:
name -
Method Detail

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.


assertEquals

public static void assertEquals(String message,
                                AppConfigurationEntry expected,
                                AppConfigurationEntry actual)
Compares two AppConfigurationEntrys

Parameters:
message -
expected -
actual -

testEncoding

public void testEncoding()
                  throws MalformedURLException,
                         IOException
Throws:
MalformedURLException
IOException

testLoginConfiguration

public void testLoginConfiguration()
                            throws IOException
Throws:
IOException


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