| net.sourceforge.jtds.test.UnitTestBase net.sourceforge.jtds.test.JtdsDataSourceUnitTest
JtdsDataSourceUnitTest | public class JtdsDataSourceUnitTest extends UnitTestBase (Code) | | Unit tests for the
JtdsDataSource class.
author: David D. Kilzer version: $Id: JtdsDataSourceUnitTest.java,v 1.21 2007/07/08 18:08:54 bheineman Exp $ |
Inner Class :public static class Test_JtdsDataSource_getConnection extends UnitTestBase | |
Method Summary | |
public static Test | suite() Construct a test suite for this class. | public void | testPublicConstructor() Tests that the public constructor works. |
JtdsDataSourceUnitTest | public JtdsDataSourceUnitTest(String name)(Code) | | Constructor.
Parameters: name - The name of the test. |
suite | public static Test suite()(Code) | | Construct a test suite for this class.
The test suite includes the tests in this class as
well as
Test_JtdsDataSource_getConnection .
The test suite to run. |
testPublicConstructor | public void testPublicConstructor()(Code) | | Tests that the public constructor works.
Needed so that this class has at least one test.
|
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)
|
|
|