org.openuat.authentication.test
Class DHOverTCPWithVerificationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.openuat.authentication.test.DHOverTCPWithVerificationTest
All Implemented Interfaces:
junit.framework.Test

public class DHOverTCPWithVerificationTest
extends junit.framework.TestCase

There are no _BCAPI and _Mixed variants because DHOverTCPWithVerification only uses the crypto embedded into SimpleKeyAgreement and InterlockProtocol, and those are tested with _BCAPI and _Mixed.

Author:
rene

Field Summary
protected  boolean useJSSE1
           
protected  boolean useJSSE2
           
 
Constructor Summary
DHOverTCPWithVerificationTest()
           
 
Method Summary
 void DISABLED_testCompleteRun_Success()
           
 void testCompleteRun_Failure1()
           
 void testCompleteRun_Failure2()
           
 void testCompleteRun_Failure3()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

useJSSE1

protected boolean useJSSE1

useJSSE2

protected boolean useJSSE2
Constructor Detail

DHOverTCPWithVerificationTest

public DHOverTCPWithVerificationTest()
Method Detail

DISABLED_testCompleteRun_Success

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

testCompleteRun_Failure1

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

testCompleteRun_Failure2

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

testCompleteRun_Failure3

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


2005-2006, Rene Mayrhofer.