|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.jtds.test.DefaultPropertiesTester
Abstract class used to test the default properties set on a variety of methods.
Implements the Command pattern.
Constructor Summary | |
DefaultPropertiesTester()
|
Method Summary | |
abstract void |
assertDefaultProperty(java.lang.String message,
java.lang.String url,
java.util.Properties properties,
java.lang.String fieldName,
java.lang.String key,
java.lang.String expected)
Asserts that a default property is set properly. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public DefaultPropertiesTester()
Method Detail |
public abstract void assertDefaultProperty(java.lang.String message, java.lang.String url, java.util.Properties properties, java.lang.String fieldName, java.lang.String key, java.lang.String expected)
message
- The message to display if the default property is not set.url
- The JDBC url.properties
- The initial properties set before testing the method.fieldName
- The field name of the object if using reflection.key
- The message key used to obtain the property name.expected
- The expected value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |