org.dbunit.operation
Class TransactionOperationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.dbunit.DatabaseTestCase
              extended by org.dbunit.AbstractDatabaseTest
                  extended by org.dbunit.operation.TransactionOperationTest
All Implemented Interfaces:
junit.framework.Test

public class TransactionOperationTest
extends AbstractDatabaseTest

Since:
Feb 21, 2002
Version:
$Revision: 504 $
Author:
Manuel Laflamme

Field Summary
 
Fields inherited from class org.dbunit.AbstractDatabaseTest
_connection, logger
 
Constructor Summary
TransactionOperationTest(String s)
           
 
Method Summary
protected  boolean runTest(String testName)
          This method is used so sub-classes can disable the tests according to some characteristics of the environment
 void testExclusiveTransaction()
           
 void testExecuteCommit()
           
 void testExecuteRollback()
           
 
Methods inherited from class org.dbunit.AbstractDatabaseTest
closeConnection, createOrderedTable, environmentHasFeature, getConnection, getDatabaseTester, getDataSet, getEnvironment, runTest, setUp, tearDown
 
Methods inherited from class org.dbunit.DatabaseTestCase
getSetUpOperation, getTearDownOperation, newDatabaseTester
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, 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, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionOperationTest

public TransactionOperationTest(String s)
Method Detail

runTest

protected boolean runTest(String testName)
Description copied from class: AbstractDatabaseTest
This method is used so sub-classes can disable the tests according to some characteristics of the environment

Overrides:
runTest in class AbstractDatabaseTest
Parameters:
testName - name of the test to be checked
Returns:
flag indicating if the test should be executed or not

testExecuteCommit

public void testExecuteCommit()
                       throws Exception
Throws:
Exception

testExclusiveTransaction

public void testExclusiveTransaction()
                              throws Exception
Throws:
Exception

testExecuteRollback

public void testExecuteRollback()
                         throws Exception
Throws:
Exception


Copyright © 2002-2012. All Rights Reserved.