com.retek.component.payment
Class CreditCardTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.component.payment.CreditCardTest
All Implemented Interfaces:
junit.framework.Test

public class CreditCardTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CreditCardTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testCardVerificationValueDirtyFlag()
           
 void testCopyCreditCardIsModifiable()
           
 void testCreditCardExpirationDateEncryption()
           
 void testCreditCardNumberEncryption()
           
 void testCreditCardSearchKey()
           
 void testEncryptBothCCNumberAndDateUseSameKey()
           
 void testEncryptExpirationDateWorksWithNull()
           
 void testExpirationDateDirtyFlagVersion1()
           
 void testExpirationDateDirtyFlagVersion2()
           
 void testFirstNameDirtyFlag()
           
 void testLastNameDirtyFlag()
           
 void testMaskedCreditCard()
           
 void testMiddleInitialDirtyFlag()
           
 void testSuffixDirtyFlag()
           
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertRibException, assertSize, assertStateEquals, assertStateEquals, assertStateNotEquals, assertStateNotEquals, assertXmlEquals, doClassSetUp, doInitialSetUp, doPackageSetUp, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, run, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
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

CreditCardTest

public CreditCardTest(java.lang.String name)
Method Detail

doSetUp

public void doSetUp()
             throws java.lang.Exception
Specified by:
doSetUp in class RetekTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Specified by:
doTearDown in class RetekTestCase
Throws:
java.lang.Exception

testExpirationDateDirtyFlagVersion1

public void testExpirationDateDirtyFlagVersion1()
                                         throws SystemException
Throws:
SystemException

testExpirationDateDirtyFlagVersion2

public void testExpirationDateDirtyFlagVersion2()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testCardVerificationValueDirtyFlag

public void testCardVerificationValueDirtyFlag()

testFirstNameDirtyFlag

public void testFirstNameDirtyFlag()

testMiddleInitialDirtyFlag

public void testMiddleInitialDirtyFlag()

testLastNameDirtyFlag

public void testLastNameDirtyFlag()

testSuffixDirtyFlag

public void testSuffixDirtyFlag()

testCopyCreditCardIsModifiable

public void testCopyCreditCardIsModifiable()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testMaskedCreditCard

public void testMaskedCreditCard()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testCreditCardNumberEncryption

public void testCreditCardNumberEncryption()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testCreditCardExpirationDateEncryption

public void testCreditCardExpirationDateEncryption()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testEncryptBothCCNumberAndDateUseSameKey

public void testEncryptBothCCNumberAndDateUseSameKey()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testEncryptExpirationDateWorksWithNull

public void testEncryptExpirationDateWorksWithNull()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testCreditCardSearchKey

public void testCreditCardSearchKey()
                             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25