public class JtdsObjectFactoryTest extends UnitTestBase
JtdsObjectFactory class.| Constructor and Description |
|---|
JtdsObjectFactoryTest(java.lang.String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
checkDefaults(JtdsDataSource ds) |
static Test |
suite() |
void |
testGetterSetter() |
void |
testNoProperties()
Tests that the factory can correctly rebuild a DataSource with no
properties set (i.e. all values should be null and no NPE should be
thrown).
|
assertEquals, invokeConstructor, invokeGetInstanceField, invokeInstanceMethod, invokeSetInstanceField, invokeStaticMethod, ucFirstgetLongString, getLongString, getType, getTypemapcompareInputStreams, compareReaders, connect, dropDatabase, dropFunction, dropProcedure, dropTable, dropTrigger, dropType, dropView, dump, dump, dumpAll, dumpKeys, dumpRow, dumpRow, getConnection, getConnection, makeObjects, makeTestTables, setUp, tearDownpublic JtdsObjectFactoryTest(java.lang.String name)
name - The name of the test.public static Test suite()
public void testNoProperties()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetterSetter()
throws java.lang.Exception
java.lang.Exceptionprivate void checkDefaults(JtdsDataSource ds)
Generated on June 8 2013