public class JtdsDataSourceTest extends UnitTestBase
JtdsDataSource
class.Constructor and Description |
---|
JtdsDataSourceTest(java.lang.String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static Test |
suite()
Construct a test suite for this class.
|
void |
testAddNonNullProperties()
ensure only non-null properties are added
|
void |
testDefaultTdsVersion()
Test connecting without specifying TDS version.
|
void |
testNoHost()
Test connecting without specifying a host.
|
void |
testNormal()
Test connecting with the settings in connection.properties.
|
void |
testNoUser()
Test connecting without specifying a user.
|
void |
testPublicConstructor()
Tests that the public constructor works.
|
assertEquals, invokeConstructor, invokeGetInstanceField, invokeInstanceMethod, invokeSetInstanceField, invokeStaticMethod, ucFirst
getLongString, getLongString, getType, getTypemap
compareInputStreams, compareReaders, connect, dropDatabase, dropFunction, dropProcedure, dropTable, dropTrigger, dropType, dropView, dump, dump, dumpAll, dumpKeys, dumpRow, dumpRow, getConnection, getConnection, makeObjects, makeTestTables, setUp, tearDown
public JtdsDataSourceTest(java.lang.String name)
name
- The name of the test.public static Test suite()
public void testPublicConstructor()
public void testNoHost()
public void testNoUser()
public void testNormal()
Should also test bug [1051595] jtdsDataSource connects only to localhost.
public void testDefaultTdsVersion()
public void testAddNonNullProperties() throws java.lang.Exception
java.lang.Exception
Generated on June 8 2013