Package org.dbunit.operation
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.junit.jupiter.api.extension.InvocationInterceptor
org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<T>Nested classes/interfaces inherited from interface org.junit.jupiter.api.extension.TestInstantiationAwareExtension
org.junit.jupiter.api.extension.TestInstantiationAwareExtension.ExtensionContextScope -
Field Summary
Fields inherited from class org.dbunit.AbstractDatabaseIT
_connection, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DatabaseOperationprotected StringgetExpectedStament(String tableName) protected booleanThis method is used so sub-classes can disable the tests according to some characteristics of the environmentprotected voidsetUp()Methods inherited from class org.dbunit.AbstractDatabaseIT
closeConnection, convertString, createOrderedTable, environmentHasFeature, getConnection, getDatabaseTester, getDataSet, getEnvironment, runTest, setUpDatabaseConfig, tearDownMethods inherited from class org.dbunit.DatabaseTestCase
getName, getOperationListener, getSetUpOperation, getTearDownOperation, newDatabaseTesterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.jupiter.api.extension.InvocationInterceptor
interceptAfterAllMethod, interceptAfterEachMethod, interceptBeforeAllMethod, interceptBeforeEachMethod, interceptDynamicTest, interceptTestClassConstructor, interceptTestFactoryMethod, interceptTestMethod, interceptTestTemplateMethodMethods inherited from interface org.junit.jupiter.api.extension.TestInstantiationAwareExtension
getTestInstantiationExtensionContextScope
-
Constructor Details
-
TruncateTableOperationIT
public TruncateTableOperationIT()
-
-
Method Details
-
getDeleteAllOperation
-
getExpectedStament
-
runTest
Description copied from class:AbstractDatabaseITThis method is used so sub-classes can disable the tests according to some characteristics of the environment- Overrides:
runTestin classAbstractDatabaseIT- Parameters:
testName- name of the test to be checked- Returns:
- flag indicating if the test should be executed or not
-
setUp
- Overrides:
setUpin classAbstractDatabaseIT- Throws:
Exception
-