Class DbTestTest
java.lang.Object
com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
com.reallifedeveloper.tools.test.database.dbunit.DbTestTest
@ExtendWith(org.springframework.test.context.junit.jupiter.SpringExtension.class)
@ContextConfiguration(classes=DatabaseTestConfiguration.class)
public class DbTestTest
extends AbstractDbTest
-
Field Summary
Fields inherited from class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
DEFAULT_SETUP_OPERATION, DEFAULT_TEARDOWN_OPERATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected DataSourceprotected Optional<org.dbunit.dataset.datatype.IDataTypeFactory>voidvoidMethods inherited from class com.reallifedeveloper.tools.test.database.dbunit.AbstractDbTest
finalize, getDataSet, getDataSetDtdResourceName, getDataSetResourceNames, getSchemaName, getSetUpOperation, getTearDownOperation, setUpDatabase, tearDownDatabase
-
Constructor Details
-
DbTestTest
public DbTestTest()
-
-
Method Details
-
testRepository
@Test public void testRepository() -
tearDownBeforeSetUp
- Throws:
Exception
-
constructorTwoArgs
@Test public void constructorTwoArgs() -
constructorThreeArgsNullDataSetResourceNames
@Test public void constructorThreeArgsNullDataSetResourceNames() -
getDataSource
- Specified by:
getDataSourcein classAbstractDbTest
-
getDataTypeFactory
- Overrides:
getDataTypeFactoryin classAbstractDbTest
-