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 testCompleteRun_HardFailure1_Succeed2()
           
 void testCompleteRun_HardFailure1and2()
           
 void testCompleteRun_HardFailure2_Succeed1()
           
 void testCompleteRun_SoftFailure1_HardFailure2()
           
 void testCompleteRun_SoftFailure1_Succeed2()
           
 void testCompleteRun_SoftFailure1and2()
           
 void testCompleteRun_SoftFailure2_HardFailure1()
           
 void testCompleteRun_SoftFailure2_Succeed1()
           
 void testCompleteRun_Success()
           
 
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

testCompleteRun_Success

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

testCompleteRun_HardFailure2_Succeed1

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

testCompleteRun_HardFailure1_Succeed2

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

testCompleteRun_HardFailure1and2

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

testCompleteRun_SoftFailure2_Succeed1

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

testCompleteRun_SoftFailure1_Succeed2

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

testCompleteRun_SoftFailure1and2

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

testCompleteRun_SoftFailure2_HardFailure1

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

testCompleteRun_SoftFailure1_HardFailure2

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


2005-2009, Rene Mayrhofer.