Package org.apache.fulcrum.jce.crypto
Class MainTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.fulcrum.jce.crypto.MainTest
-
- All Implemented Interfaces:
junit.framework.Test
public class MainTest extends junit.framework.TestCase
Test suite for crypto functionality- Author:
- Siegfried Goeschl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected char[]getPassword()voidtestAnotherStringEncryption()voidtestFileEncryption1()Encrypt a text file on the command linevoidtestFileEncryption2()Encrypt a text file in-place on the command linevoidtestStringEncryption()Encrypt a string on the command line-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
Method Detail
-
getPassword
protected char[] getPassword()
- Returns:
- Returns the password.
-
testStringEncryption
public void testStringEncryption()
Encrypt a string on the command line
-
testAnotherStringEncryption
public void testAnotherStringEncryption()
-
testFileEncryption1
public void testFileEncryption1()
Encrypt a text file on the command line
-
testFileEncryption2
public void testFileEncryption2()
Encrypt a text file in-place on the command line
-
-