org.openuat.authentication.test
Class HostProtocolHandlerTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.openuat.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
| 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 |
PORT
public static final int PORT
- See Also:
- Constant Field Values
useJSSEServer
protected boolean useJSSEServer
useJSSEClient
protected boolean useJSSEClient
HostProtocolHandlerTest
public HostProtocolHandlerTest(java.lang.String s)
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_OOBVerificationMode
public void testCompleteAuthentication_OOBVerificationMode()
throws java.net.UnknownHostException,
java.io.IOException,
java.lang.InterruptedException
- Throws:
java.net.UnknownHostException
java.io.IOException
java.lang.InterruptedException
testCompleteAuthentication_SecretPreInputMode
public void testCompleteAuthentication_SecretPreInputMode()
throws java.net.UnknownHostException,
java.io.IOException,
java.lang.InterruptedException
- Throws:
java.net.UnknownHostException
java.io.IOException
java.lang.InterruptedException
testCompleteAuthentication_LongPreAuthenticationMode_Server
public void testCompleteAuthentication_LongPreAuthenticationMode_Server()
throws java.net.UnknownHostException,
java.io.IOException,
java.lang.InterruptedException,
InternalApplicationException
- Throws:
java.net.UnknownHostException
java.io.IOException
java.lang.InterruptedException
InternalApplicationException
testCompleteAuthentication_LongPreAuthenticationMode_Client
public void testCompleteAuthentication_LongPreAuthenticationMode_Client()
throws java.net.UnknownHostException,
java.io.IOException,
java.lang.InterruptedException,
InternalApplicationException,
KeyAgreementProtocolException
- Throws:
java.net.UnknownHostException
java.io.IOException
java.lang.InterruptedException
InternalApplicationException
KeyAgreementProtocolException
testCompleteAuthentication_LongPreAuthenticationMode_Mutual
public void testCompleteAuthentication_LongPreAuthenticationMode_Mutual()
throws java.net.UnknownHostException,
java.io.IOException,
java.lang.InterruptedException,
InternalApplicationException,
KeyAgreementProtocolException
- Throws:
java.net.UnknownHostException
java.io.IOException
java.lang.InterruptedException
InternalApplicationException
KeyAgreementProtocolException
testCompleteAuthentication_LongPreAuthenticationMode_ServerPermanentTwoClients
public void testCompleteAuthentication_LongPreAuthenticationMode_ServerPermanentTwoClients()
throws java.net.UnknownHostException,
java.io.IOException,
java.lang.InterruptedException,
InternalApplicationException
- Throws:
java.net.UnknownHostException
java.io.IOException
java.lang.InterruptedException
InternalApplicationException
testCompleteAuthentication_ServerTwoClients
public void testCompleteAuthentication_ServerTwoClients()
throws java.net.UnknownHostException,
java.io.IOException,
java.lang.InterruptedException,
InternalApplicationException
- Throws:
java.net.UnknownHostException
java.io.IOException
java.lang.InterruptedException
InternalApplicationException
testCompleteAuthenticationWithParam
public void testCompleteAuthenticationWithParam()
throws java.net.UnknownHostException,
java.io.IOException,
java.lang.InterruptedException
- Throws:
java.net.UnknownHostException
java.io.IOException
java.lang.InterruptedException
testCompleteAuthenticationWithParamAndOpenSockets
public void testCompleteAuthenticationWithParamAndOpenSockets()
throws java.net.UnknownHostException,
java.io.IOException,
java.lang.InterruptedException
- Throws:
java.net.UnknownHostException
java.io.IOException
java.lang.InterruptedException
2005-2009, Rene Mayrhofer.