public interface DataFileLoader
ReplacementDataSet.| Modifier and Type | Method and Description |
|---|---|
void |
addReplacementObjects(Map replacementObjects)
Add the specified replacement objects to existing ones for use with
ReplacementDataSet. |
void |
addReplacementSubstrings(Map replacementSubstrings)
Add the specified replacement substrings to existing ones for use with
ReplacementDataSet. |
IDataSet |
load(String fileName)
Load the specified filename from the classpath into a dbUnit dataset.
|
void |
removeAllReplacementObjects()
Remove all existing replacement objects, resetting to none so no object
replacements occur.
|
void |
removeAllReplacementSubstrings()
Remove all existing replacement substring objects, resetting to none so
no substring replacements occur.
|
IDataSet load(String fileName)
DefaultDataSet.filename - The dbUnit file to load, in the format for the loader
implementation and fully qualified name with package syntax.DatabaseUnitRuntimeException - DataSetException wrapped in a DatabaseUnitRuntimeException
when file load errors occur.void addReplacementObjects(Map replacementObjects)
ReplacementDataSet.replacementObjects - The replacement objects to include.void addReplacementSubstrings(Map replacementSubstrings)
ReplacementDataSet.replacementSubstrings - The replacement substrings to include.void removeAllReplacementObjects()
void removeAllReplacementSubstrings()
Copyright © 2002-2015. All Rights Reserved.