com.retek.component.customer.impl.persistence.db.oracle
Class OracleCustomerMergeRequestDaoTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.commons.domain.core.persistence.db.oracle.OracleTestCase
                  extended bycom.retek.component.customer.impl.persistence.db.oracle.OracleCustomerMergeRequestDaoTest
All Implemented Interfaces:
junit.framework.Test

public class OracleCustomerMergeRequestDaoTest
extends OracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OracleCustomerMergeRequestDaoTest(java.lang.String name)
           
 
Method Summary
 void assertCustomerMergeRequestDtosEquals(CustomerMergeRequestDto expectedDto, CustomerMergeRequestDto dto)
           
 void doSetUp()
           
 void doTearDown()
           
 java.lang.String getConnectionKey()
           
 void testCreateAndReadAndUpdate()
           
 void testCreateReferenceForNewCustomerMergeRequest()
           
 void testFindCustomerMergeRequestReferencesByDisplayCode()
           
 void testFindCustomerMergeRequestReferencesByProcessedStatus()
           
 void testFindCustomerMergeRequestReferencesByType()
           
 void testPersistCustomerMergeRequestsAsProcessed()
           
 void testReadCustomerMergeRequests()
           
 void testReadWithInvalidRef()
           
 
Methods inherited from class com.retek.commons.domain.core.persistence.db.oracle.OracleTestCase
doInitialSetUp, getConnection, getRetekPreparedStatement, getTestDbRDate, isOracleTestCase, setUp, tearDown, touch, touch
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertFalse, assertFalse, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertStateEquals, assertStateNotEquals, assertXmlEquals, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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

OracleCustomerMergeRequestDaoTest

public OracleCustomerMergeRequestDaoTest(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

getConnectionKey

public java.lang.String getConnectionKey()
Specified by:
getConnectionKey in class OracleTestCase

testCreateReferenceForNewCustomerMergeRequest

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

testReadWithInvalidRef

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

testCreateAndReadAndUpdate

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

testFindCustomerMergeRequestReferencesByProcessedStatus

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

testFindCustomerMergeRequestReferencesByType

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

testFindCustomerMergeRequestReferencesByDisplayCode

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

testReadCustomerMergeRequests

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

testPersistCustomerMergeRequestsAsProcessed

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

assertCustomerMergeRequestDtosEquals

public void assertCustomerMergeRequestDtosEquals(CustomerMergeRequestDto expectedDto,
                                                 CustomerMergeRequestDto dto)
                                          throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28