net.sourceforge.lightcrypto.test
Class MacTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--net.sourceforge.lightcrypto.test.MacTest
All Implemented Interfaces:
junit.framework.Test

public class MacTest
extends junit.framework.TestCase

A collection of HMAC tests

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

Version:
$Id: MacTest.java,v 1.1 2003/10/05 11:41:29 hamgert Exp $
Author:
Gert Van Ham, hamgert@users.sourceforge.net, http://jcetaglib.sourceforge.net

Constructor Summary
MacTest()
           
 
Method Summary
protected  void setUp()
          setup test
 void testFileEncryption()
          test file encryption
 void testMac()
          test MAC
 
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

MacTest

public MacTest()
Method Detail

setUp

protected void setUp()
              throws java.io.IOException
setup test
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.io.IOException -  

testMac

public void testMac()
             throws java.lang.Exception
test MAC
Throws:
java.lang.Exception -  

testFileEncryption

public void testFileEncryption()
                        throws java.lang.Exception
test file encryption
Throws:
java.lang.Exception -