com.retek.commons.domain.core.persistence.db
Class DbOperationTest

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.commons.domain.core.persistence.db.DbOperationTest
All Implemented Interfaces:
junit.framework.Test

public class DbOperationTest
extends OracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
DbOperationTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 java.lang.String getConnectionKey()
           
static junit.framework.Test suite()
           
 void testChildrenAreAlsoClosedWhenParentClosed()
           
 void testChildStatementNotClosedOnExecution()
           
 void testDoPerform()
           
 void testGetStatement()
           
 void testNullConstructorArg()
           
 void testPreparedStatementCleaning()
           
 void testSQLReturnsSameStatement()
           
 void testStatementCleaning()
           
 
Methods inherited from class com.retek.commons.domain.core.persistence.db.oracle.OracleTestCase
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

DbOperationTest

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

getConnectionKey

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

suite

public static junit.framework.Test suite()

doInitialSetUp

public void doInitialSetUp()
                    throws java.lang.Exception
Overrides:
doInitialSetUp in class OracleTestCase
Throws:
java.lang.Exception

doSetUp

public void doSetUp()
             throws SystemException,
                    java.sql.SQLException
Specified by:
doSetUp in class RetekTestCase
Throws:
SystemException
java.sql.SQLException

testNullConstructorArg

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

testGetStatement

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

testDoPerform

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

testPreparedStatementCleaning

public void testPreparedStatementCleaning()
                                   throws java.sql.SQLException,
                                          java.lang.Exception
Throws:
java.sql.SQLException
java.lang.Exception

testStatementCleaning

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

testSQLReturnsSameStatement

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

testChildrenAreAlsoClosedWhenParentClosed

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

testChildStatementNotClosedOnExecution

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

doTearDown

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


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