| java.lang.Object net.sourceforge.jtds.test.DefaultPropertiesTester
DefaultPropertiesTester | abstract public class DefaultPropertiesTester (Code) | | Abstract class used to test the default properties set on a variety of methods.
Implements the Command pattern.
author: David D. Kilzer version: $Id: DefaultPropertiesTester.java,v 1.3 2004/08/24 17:45:07 bheineman Exp $ |
assertDefaultProperty | abstract public void assertDefaultProperty(String message, String url, Properties properties, String fieldName, String key, String expected)(Code) | | Asserts that a default property is set properly.
Parameters: message - The message to display if the default property is not set. Parameters: url - The JDBC url. Parameters: properties - The initial properties set before testing the method. Parameters: fieldName - The field name of the object if using reflection. Parameters: key - The message key used to obtain the property name. Parameters: expected - The expected value. |
|
|