|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.davesag.generica.test.CryptoTest
CryptoTest is a suite of JUnit compatable tests that makes sure
our crypto code is doing what we think it is.
| Constructor Summary | |
CryptoTest()
null constructor |
|
CryptoTest(String name)
Constructor that takes a test name. |
|
| Method Summary | |
static Test |
suite()
the test suite |
void |
testByteArraysAndStrings()
tesing strings and byte arrays |
void |
testTwoMD5sAreEqual()
tests that the md5 of a string is the same when done twice. |
String |
toString()
test name |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown |
| 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 |
public CryptoTest()
public CryptoTest(String name)
name - the name of this suite of tests| Method Detail |
public void testByteArraysAndStrings()
public void testTwoMD5sAreEqual()
public static Test suite()
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||