net.sourceforge.jcetaglib.test
Class CryptTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bynet.sourceforge.jcetaglib.test.CryptTest
All Implemented Interfaces:
junit.framework.Test

public class CryptTest
extends junit.framework.TestCase

A collection of blockcipher encryption/decryption tests

These tests can be run using JUnit (http://www.junit.org)

Version:
$Id: CryptTest.java,v 1.1 2003/12/28 19:06:57 hamgert Exp $
Author:
Gert Van Ham, hamgert@users.sourceforge.net, http://jcetaglib.sourceforge.net

Constructor Summary
CryptTest()
           
 
Method Summary
protected  void setUp()
          setup test
 void testBlockCipher()
          test block cipher encryption
 void testFileBlockCipher()
          test file block cipher encryption
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Constructor Detail

CryptTest

public CryptTest()
Method Detail

setUp

protected void setUp()
              throws java.io.IOException
setup test

Throws:
java.io.IOException

testBlockCipher

public void testBlockCipher()
                     throws java.lang.Exception
test block cipher encryption

Throws:
java.lang.Exception

testFileBlockCipher

public void testFileBlockCipher()
                         throws java.lang.Exception
test file block cipher encryption

Throws:
java.lang.Exception