Class DbUnitDatatypeWarningInterceptor
java.lang.Object
com.github.mjeanroy.dbunit.core.configuration.DbUnitDatatypeWarningInterceptor
- All Implemented Interfaces:
DbUnitConfigInterceptor
An interceptor that can enable/disable the
"datatypeWarning"
feature of DbUnit.- See Also:
-
DatabaseConfig.FEATURE_DATATYPE_WARNING
-
Constructor Summary
ConstructorDescriptionCreate the interceptor, the feature is disabled by default.DbUnitDatatypeWarningInterceptor
(boolean datatypeWarning) Create the interceptor. -
Method Summary
-
Constructor Details
-
DbUnitDatatypeWarningInterceptor
public DbUnitDatatypeWarningInterceptor()Create the interceptor, the feature is disabled by default. -
DbUnitDatatypeWarningInterceptor
public DbUnitDatatypeWarningInterceptor(boolean datatypeWarning) Create the interceptor.- Parameters:
datatypeWarning
- Feature activation flag:true
to enable feature,false
otherwise.
-
-
Method Details
-
applyConfiguration
public void applyConfiguration(org.dbunit.database.DatabaseConfig config) Description copied from interface:DbUnitConfigInterceptor
Apply customization on the database configuration instance.- Specified by:
applyConfiguration
in interfaceDbUnitConfigInterceptor
- Parameters:
config
- The database configuration instance.
-
equals
-
hashCode
public int hashCode() -
toString
-