org.dbunit.operation
Class TruncateTableOperationTest

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.DeleteAllOperationTest
                      extended by org.dbunit.operation.TruncateTableOperationTest
All Implemented Interfaces:
junit.framework.Test

public class TruncateTableOperationTest
extends DeleteAllOperationTest

Since:
Apr 13, 2003
Version:
$Revision: 504 $
Author:
Manuel Laflamme

Field Summary
 
Fields inherited from class org.dbunit.AbstractDatabaseTest
_connection, logger
 
Constructor Summary
TruncateTableOperationTest(String s)
           
 
Method Summary
protected  DatabaseOperation getDeleteAllOperation()
           
protected  String getExpectedStament(String tableName)
           
protected  boolean runTest(String testName)
          This method is used so sub-classes can disable the tests according to some characteristics of the environment
 
Methods inherited from class org.dbunit.operation.DeleteAllOperationTest
setUp, testExecute, testExecuteCaseInsentive, testExecuteEmpty, testExecuteWithEmptyDataset, testExecuteWithEscapedNames, testMockExecute
 
Methods inherited from class org.dbunit.AbstractDatabaseTest
closeConnection, createOrderedTable, environmentHasFeature, getConnection, getDatabaseTester, getDataSet, getEnvironment, runTest, 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

TruncateTableOperationTest

public TruncateTableOperationTest(String s)
Method Detail

getDeleteAllOperation

protected DatabaseOperation getDeleteAllOperation()
Overrides:
getDeleteAllOperation in class DeleteAllOperationTest

getExpectedStament

protected String getExpectedStament(String tableName)
Overrides:
getExpectedStament in class DeleteAllOperationTest

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


Copyright © 2002-2012. All Rights Reserved.