com.retek.component.salesaudit.impl.persistence.db.oracle
Class OracleSaeStoreDayDaoTest

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.salesaudit.impl.persistence.db.oracle.SalesAuditOracleTestCase
                      extended bycom.retek.component.salesaudit.impl.persistence.db.oracle.OracleSaeStoreDayDaoTest
All Implemented Interfaces:
junit.framework.Test

public class OracleSaeStoreDayDaoTest
extends SalesAuditOracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OracleSaeStoreDayDaoTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 java.lang.String getConnectionKey()
           
 void testCreateAndReadAndUpdateSaeStoreDay()
           
 void testCreateAndReadAndUpdateSaeStoreTransactionCounter()
           
 void testCreateReferenceForNewSaeStoreDay()
           
 void testFindAllOpenSaeStoreDays()
           
 void testFindLastClosedDate()
           
 void testFindLastClosedDateReturnsNull()
           
 void testFindSaeStoreDayReturnsNull()
           
 void testFindSaeStoreTransactionCounter()
           
 void testFindSaeStoreTransactionCounterReturnsNull()
           
 void testReadSaeStoreTransactionCounterThrowsException()
           
 void testUpdateSaeStoreDayDoesNotExist()
           
 
Methods inherited from class com.retek.component.salesaudit.impl.persistence.db.oracle.SalesAuditOracleTestCase
assertSaeAccommodationDtosEqual, assertSaeCustomerDtosEqual, assertSaeDiscountDtosEqual, assertSaeItemDtosEqual, assertSaeOrderTransactionContainerDtosAreEqual, assertSaePaymentDtosEqual, assertSaeServiceDtosEqual, assertSaeStoreDayDtosEqual, assertSaeStoreTransactionCounterDtosEqual, assertSaeTaxDtosEqual, assertSaeTransactionDtosEqual, modifySaeStoreDayDto, modifySaeStoreTransactionCounterDto
 
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

OracleSaeStoreDayDaoTest

public OracleSaeStoreDayDaoTest(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()
Overrides:
getConnectionKey in class SalesAuditOracleTestCase

testCreateReferenceForNewSaeStoreDay

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

testCreateAndReadAndUpdateSaeStoreDay

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

testUpdateSaeStoreDayDoesNotExist

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

testFindSaeStoreDayReturnsNull

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

testFindLastClosedDate

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

testFindLastClosedDateReturnsNull

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

testFindAllOpenSaeStoreDays

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

testFindSaeStoreTransactionCounter

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

testFindSaeStoreTransactionCounterReturnsNull

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

testCreateAndReadAndUpdateSaeStoreTransactionCounter

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

testReadSaeStoreTransactionCounterThrowsException

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


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