Class TruncateTableOperationIT

java.lang.Object
org.dbunit.DatabaseTestCase
org.dbunit.AbstractDatabaseIT
org.dbunit.operation.TruncateTableOperationIT
All Implemented Interfaces:
org.junit.jupiter.api.extension.Extension, org.junit.jupiter.api.extension.InvocationInterceptor, org.junit.jupiter.api.extension.TestInstantiationAwareExtension

@DisabledIfSystemProperty(named="dbunit.profile.unsupportedFeatures", matches="(.*)TRUNCATE_TABLE(.*)") public class TruncateTableOperationIT extends AbstractDatabaseIT
Since:
Apr 13, 2003
Version:
$Revision$
Author:
Manuel Laflamme
  • Constructor Details

    • TruncateTableOperationIT

      public TruncateTableOperationIT()
  • Method Details

    • getDeleteAllOperation

      protected DatabaseOperation getDeleteAllOperation()
    • getExpectedStament

      protected String getExpectedStament(String tableName)
    • runTest

      protected boolean runTest(String testName)
      Description copied from class: AbstractDatabaseIT
      This method is used so sub-classes can disable the tests according to some characteristics of the environment
      Overrides:
      runTest in class AbstractDatabaseIT
      Parameters:
      testName - name of the test to be checked
      Returns:
      flag indicating if the test should be executed or not
    • setUp

      @BeforeEach protected void setUp() throws Exception
      Overrides:
      setUp in class AbstractDatabaseIT
      Throws:
      Exception