|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.retek.commons.util.RetekTestCase
com.retek.component.payment.EncryptionStrategyTest
Field Summary |
---|
Fields inherited from class com.retek.commons.util.RetekTestCase |
---|
BEGIN_PROFILING, END_PROFILING |
Constructor Summary | |
---|---|
EncryptionStrategyTest(java.lang.String name)
|
Method Summary | |
---|---|
void |
doSetUp()
|
void |
doTearDown()
|
void |
testConsistentDESEncryptedCCNumberLength()
|
void |
testConsistentDESKeyLength()
|
void |
testDESDecryption()
|
void |
testDESEncryption()
|
void |
testDESKeyValueFromNewStrategyInstance()
|
void |
testKeyValidityForNoOpStrategy()
|
void |
testKeyValidityOverMultipleDESStrategyInstances()
|
void |
testSetEmptyStringKey()
|
void |
testSetNullDESKeyThrowsException()
|
void |
testSetNullNoOpKeyDoesNotThrowException()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, runBare, setName, 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, 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 EncryptionStrategyTest(java.lang.String name)
Method Detail |
public void doSetUp() throws java.lang.Exception
doSetUp
in class RetekTestCase
java.lang.Exception
public void doTearDown() throws java.lang.Exception
doTearDown
in class RetekTestCase
java.lang.Exception
public void testDESEncryption() throws java.lang.Exception
java.lang.Exception
public void testDESDecryption() throws java.lang.Exception
java.lang.Exception
public void testKeyValidityOverMultipleDESStrategyInstances() throws java.lang.Exception
java.lang.Exception
public void testKeyValidityForNoOpStrategy() throws java.lang.Exception
java.lang.Exception
public void testConsistentDESEncryptedCCNumberLength() throws java.lang.Exception
java.lang.Exception
public void testConsistentDESKeyLength() throws java.lang.Exception
java.lang.Exception
public void testSetNullDESKeyThrowsException() throws java.lang.Exception
java.lang.Exception
public void testSetNullNoOpKeyDoesNotThrowException() throws java.lang.Exception
java.lang.Exception
public void testSetEmptyStringKey() throws java.lang.Exception
java.lang.Exception
public void testDESKeyValueFromNewStrategyInstance() throws java.lang.Exception
java.lang.Exception
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |