org.eu.mayrhofer.authentication.test
Class HostProtocolHandlerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eu.mayrhofer.authentication.test.HostProtocolHandlerTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
HostProtocolHandlerTest_BCAPI, HostProtocolHandlerTest_Mixed1, HostProtocolHandlerTest_Mixed2

public class HostProtocolHandlerTest
extends junit.framework.TestCase


Field Summary
static int PORT
           
protected  boolean useJSSEClient
           
protected  boolean useJSSEServer
           
 
Constructor Summary
HostProtocolHandlerTest(java.lang.String s)
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testCompleteAuthentication()
           
 void testCompleteAuthenticationWithParam()
           
 void testCompleteAuthenticationWithParamAndOpenSockets()
           
 void testReceiveHello()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Field Detail

PORT

public static final int PORT
See Also:
Constant Field Values

useJSSEServer

protected boolean useJSSEServer

useJSSEClient

protected boolean useJSSEClient
Constructor Detail

HostProtocolHandlerTest

public HostProtocolHandlerTest(java.lang.String s)
Method Detail

setUp

public void setUp()
           throws java.lang.InterruptedException,
                  java.io.IOException
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.InterruptedException
java.io.IOException

tearDown

public void tearDown()
              throws java.lang.InterruptedException,
                     java.io.IOException,
                     InternalApplicationException
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.InterruptedException
java.io.IOException
InternalApplicationException

testReceiveHello

public void testReceiveHello()
                      throws java.lang.InterruptedException,
                             java.io.IOException
Throws:
java.lang.InterruptedException
java.io.IOException

testCompleteAuthentication

public void testCompleteAuthentication()
                                throws java.net.UnknownHostException,
                                       java.io.IOException,
                                       InternalApplicationException,
                                       java.lang.InterruptedException
Throws:
java.net.UnknownHostException
java.io.IOException
InternalApplicationException
java.lang.InterruptedException

testCompleteAuthenticationWithParam

public void testCompleteAuthenticationWithParam()
                                         throws java.net.UnknownHostException,
                                                java.io.IOException,
                                                InternalApplicationException,
                                                java.lang.InterruptedException
Throws:
java.net.UnknownHostException
java.io.IOException
InternalApplicationException
java.lang.InterruptedException

testCompleteAuthenticationWithParamAndOpenSockets

public void testCompleteAuthenticationWithParamAndOpenSockets()
                                                       throws java.net.UnknownHostException,
                                                              java.io.IOException,
                                                              InternalApplicationException,
                                                              java.lang.InterruptedException
Throws:
java.net.UnknownHostException
java.io.IOException
InternalApplicationException
java.lang.InterruptedException


2005-2006, Rene Mayrhofer.