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 TypeMethodDescriptionvoid
void
protected DataSource
protected Optional<org.dbunit.dataset.datatype.IDataTypeFactory>
void
void
Methods 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:
getDataSource
in classAbstractDbTest
-
getDataTypeFactory
- Overrides:
getDataTypeFactory
in classAbstractDbTest
-