| net.sourceforge.jtds.test.UnitTestBase net.sourceforge.jtds.test.DriverUnitTest
DriverUnitTest | public class DriverUnitTest extends UnitTestBase (Code) | | Unit tests for the
Driver class.
author: David D. Kilzer version: $Id: DriverUnitTest.java,v 1.20 2007/07/08 18:08:54 bheineman Exp $ |
DriverUnitTest | public DriverUnitTest(String name)(Code) | | Constructor.
Parameters: name - The name of the test. |
test_getPropertyInfo_ThrowsSQLExceptionWithNonNullProperties | public void test_getPropertyInfo_ThrowsSQLExceptionWithNonNullProperties()(Code) | | Tests that passing in a non-null properties argument to
Driver.getPropertyInfo(StringProperties) causes the url to be parsed, which then throws a
SQLException .
|
test_getPropertyInfo_ThrowsSQLExceptionWithNullProperties | public void test_getPropertyInfo_ThrowsSQLExceptionWithNullProperties()(Code) | | Tests that passing in a null properties argument to
Driver.getPropertyInfo(StringProperties) causes the url to be parsed, which then throws a
SQLException .
|
Methods inherited from net.sourceforge.jtds.test.UnitTestBase | protected void assertEquals(String message, Object[] expected, Object[] actual)(Code)(Java Doc) public static Object invokeConstructor(Class klass, Class[] classes, Object[] objects)(Code)(Java Doc) public static Object invokeGetInstanceField(Object instance, String fieldName)(Code)(Java Doc) public static Object invokeInstanceMethod(Object instance, String methodName, Class[] classes, Object[] objects)(Code)(Java Doc) public static void invokeSetInstanceField(Object instance, String fieldName, Object fieldValue)(Code)(Java Doc) public static Object invokeStaticMethod(Class klass, String methodName, Class[] classes, Object[] objects)(Code)(Java Doc) protected static String ucFirst(String s)(Code)(Java Doc)
|
|
|