Package org.dbunit.annotation
Annotation Interface DbUnitProperty
One
DatabaseConfig property name/value pair, nested inside
DbUnitConfig.properties().
Named members are used instead of a String[] of "name=value" pairs so
each entry is self-documenting, IDE-completable, and cannot be broken by a value that
itself contains = (an escape pattern, for instance).
Every entry on a test element is collected into one Properties instance and
handed to DatabaseConfig.setPropertiesByString(Properties), which accepts both the
long http://www.dbunit.org/... names and their short forms.
- Since:
- 3.6.0
- Author:
- Jeff Jensen
- See Also:
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe property name, in either its long or short form.The property value, as accepted byDatabaseConfig.setPropertiesByString(Properties).
-
Element Details
-
name
String nameThe property name, in either its long or short form.- Returns:
- The property name.
-
value
String valueThe property value, as accepted byDatabaseConfig.setPropertiesByString(Properties).- Returns:
- The property value.
-