public class TestEncryption
extends TestCase
| Constructor and Description |
|---|
TestEncryption(java.lang.String name)
Creates a new unit test
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Entry point to run this test standalone
|
void |
setUp()
Sets up a small test file and a large test file for the encrypt and decrypt methods
|
static Test |
suite()
Creates the test suite
|
void |
test128()
tests encrypt/decrypt for 128
|
void |
testEncryptDecrypt()
Tests that a file is encrypted and decrypted
|
public TestEncryption(java.lang.String name)
name - the name of the unitpublic static Test suite()
public static void main(java.lang.String[] args)
args - the arguments to the testpublic void setUp()
throws java.lang.Exception
java.lang.Exception - a setup failurepublic void testEncryptDecrypt()
throws java.lang.Exception
java.lang.Exception - a test failurepublic void test128()
throws java.lang.Exception
java.lang.Exception - a test failurestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.