Uses of Interface
org.dbunit.PrepAndExpectedTestCase
Packages that use PrepAndExpectedTestCase
-
Uses of PrepAndExpectedTestCase in org.dbunit
Classes in org.dbunit that implement PrepAndExpectedTestCaseModifier and TypeClassDescriptionclassTest case base class supporting prep data and expected data.Methods in org.dbunit that return PrepAndExpectedTestCaseModifier and TypeMethodDescriptionMultiDataSourcePrepAndExpectedTestCase.getTestCase(String dataSourceName) Returns the delegate wired to one data source, for a test that needs to reach one directly - e.g. to assert something extra on it, or to inspect it after a failure.Methods in org.dbunit with parameters of type PrepAndExpectedTestCaseModifier and TypeMethodDescriptionMultiDataSourcePrepAndExpectedTestCase.add(String dataSourceName, PrepAndExpectedTestCase testCase) Wires one data source to the given delegate.MultiDataSourcePrepAndExpectedTestCase.from(String dataSourceName, PrepAndExpectedTestCase testCase) Creates an instance seeded with one data source, for the delegate currency.Method parameters in org.dbunit with type arguments of type PrepAndExpectedTestCaseModifier and TypeMethodDescriptionMultiDataSourcePrepAndExpectedTestCase.addAll(Map<String, ? extends PrepAndExpectedTestCase> testCasesByDataSourceName) Wires every entry of the given map, in its iteration order.Constructor parameters in org.dbunit with type arguments of type PrepAndExpectedTestCaseModifierConstructorDescriptionMultiDataSourcePrepAndExpectedTestCase(Map<String, ? extends PrepAndExpectedTestCase> testCasesByDataSourceName) Creates an instance seeded with the given delegates, in the given map's iteration order. -
Uses of PrepAndExpectedTestCase in org.dbunit.annotation.runtime
Methods in org.dbunit.annotation.runtime that return PrepAndExpectedTestCaseModifier and TypeMethodDescriptionAnnotatedTestExecutor.getPrepAndExpectedTestCase()Returns thePrepAndExpectedTestCasethis executor drives, ornullwhenAnnotatedTestConfiguration.isExpected()is false, or it is true but nothing has constructed one yet - a binding resolving a parameter beforeAnnotatedTestExecutor.beforeTest()runs (e.g. a@BeforeEachparameter) seesnullunless one was already injected through the constructor, or an earlier parameter resolution this same test already triggeredExpectedLifecycle.ensureTestCase()(e.g. aConnectionparameter resolved viaAnnotatedTestExecutor.getConnection()).Methods in org.dbunit.annotation.runtime that return types with arguments of type PrepAndExpectedTestCaseModifier and TypeMethodDescriptionClass<? extends PrepAndExpectedTestCase> AnnotatedTestConfiguration.getPrepAndExpectedTestCaseClass()Returns thePrepAndExpectedTestCaseimplementation to use for the prep/expected path when no test case field is declared.Methods in org.dbunit.annotation.runtime with parameters of type PrepAndExpectedTestCaseModifier and TypeMethodDescriptionstatic IDatabaseTesterInjectedTestCaseTesterBinding.resolveTester(PrepAndExpectedTestCase testCase, String fieldDescription, Callable<IDatabaseTester> fallbackTester) Resolves and wires the tester fortestCase.Constructors in org.dbunit.annotation.runtime with parameters of type PrepAndExpectedTestCaseModifierConstructorDescriptionAnnotatedTestExecutor(AnnotatedTestConfiguration configuration, IDatabaseTester tester, PrepAndExpectedTestCase prepAndExpectedTestCase) Creates an executor for an annotation-driven test - equivalent toAnnotatedTestExecutor(AnnotatedTestConfiguration, IDatabaseTester, PrepAndExpectedTestCase, boolean)withannotationDriventrue.AnnotatedTestExecutor(AnnotatedTestConfiguration configuration, IDatabaseTester tester, PrepAndExpectedTestCase prepAndExpectedTestCase, boolean annotationDriven) Creates an executor for one test.