Uses of Class
org.dbunit.PrepAndExpectedTestData
Packages that use PrepAndExpectedTestData
-
Uses of PrepAndExpectedTestData in org.dbunit
Fields in org.dbunit declared as PrepAndExpectedTestDataModifier and TypeFieldDescriptionstatic final PrepAndExpectedTestDataPrepAndExpectedTestData.NONEVerifies no tables, loads no prep data, and expects no data.Methods in org.dbunit that return PrepAndExpectedTestDataModifier and TypeMethodDescriptionstatic PrepAndExpectedTestDataCreates an instance that loads the given prep data files and does nothing else - verifies no tables and expects no data.Methods in org.dbunit with parameters of type PrepAndExpectedTestDataModifier and TypeMethodDescriptiondefault voidPrepAndExpectedTestCase.configureTest(PrepAndExpectedTestData testData) Configure the test from aPrepAndExpectedTestDatabundle instead of the three separate array arguments.default voidPrepAndExpectedTestCase.preTest(PrepAndExpectedTestData testData) Convenience method to call configureTest() and preTest(), taking aPrepAndExpectedTestDatabundle instead of the three separate array arguments.default ObjectPrepAndExpectedTestCase.runTest(PrepAndExpectedTestData testData, PrepAndExpectedTestCaseSteps testSteps) Run the DbUnit test from aPrepAndExpectedTestDatabundle instead of the three separate array arguments.Method parameters in org.dbunit with type arguments of type PrepAndExpectedTestDataModifier and TypeMethodDescriptionvoidMultiDataSourcePrepAndExpectedTestCase.preTest(Map<String, PrepAndExpectedTestData> dataByDataSourceName) Sets up every involved data source's prep data, in declared order.MultiDataSourcePrepAndExpectedTestCase.runTest(Map<String, PrepAndExpectedTestData> dataByDataSourceName, PrepAndExpectedTestCaseSteps testSteps) Runs the full lifecycle once:MultiDataSourcePrepAndExpectedTestCase.preTest(Map), then the given test steps exactly once, thenpostTest(true).