public class DefaultPropertiesUnitTest extends UnitTestBase
DefaultProperties
class.Constructor and Description |
---|
DefaultPropertiesUnitTest(java.lang.String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
test_addDefaultPropertyIfNotSet_DefaultKeyNotSet()
Tests that
DefaultProperties.addDefaultPropertyIfNotSet(java.util.Properties, java.lang.String, java.lang.String, java.util.Map)
does not set a default property if the defaultKey is not set. |
void |
test_addDefaultPropertyIfNotSet_DefaultKeySet_PropertyAlreadySet()
Tests that
DefaultProperties.addDefaultPropertyIfNotSet(java.util.Properties, java.lang.String, java.lang.String, java.util.Map)
does not set a default property if the property is already set. |
void |
test_addDefaultPropertyIfNotSet_DefaultKeySet_PropertyNotSet()
Tests that
DefaultProperties.addDefaultPropertyIfNotSet(java.util.Properties, java.lang.String, java.lang.String, java.util.Map)
sets a default property if the property is not already set. |
void |
test_addDefaultPropertyIfNotSet_PropertyAlreadySet()
Tests that
DefaultProperties.addDefaultPropertyIfNotSet(java.util.Properties, java.lang.String, java.lang.String)
does not set a default property if the property is already set. |
void |
test_addDefaultPropertyIfNotSet_PropertyNotSet()
Tests that
DefaultProperties.addDefaultPropertyIfNotSet(java.util.Properties, java.lang.String, java.lang.String)
sets a default property if the property is not already set. |
void |
test_getNamedPipePath_DEFAULT() |
void |
test_getNamedPipePath_INVALID() |
void |
test_getNamedPipePath_SQLSERVER() |
void |
test_getNamedPipePath_SYBASE() |
void |
test_getServerType_intToString_Null() |
void |
test_getServerType_intToString_SQLSERVER() |
void |
test_getServerType_intToString_SYBASE() |
void |
test_getServerType_StringToInteger_Null() |
void |
test_getServerType_StringToInteger_SQLSERVER() |
void |
test_getServerType_StringToInteger_SYBASE() |
void |
test_getTdsVersion_StringToInteger_Null() |
void |
test_getTdsVersion_StringToInteger_TDS42() |
void |
test_getTdsVersion_StringToInteger_TDS50() |
void |
test_getTdsVersion_StringToInteger_TDS70() |
void |
test_getTdsVersion_StringToInteger_TDS80() |
assertEquals, invokeConstructor, invokeGetInstanceField, invokeInstanceMethod, invokeSetInstanceField, invokeStaticMethod, ucFirst
compareBytes, 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 DefaultPropertiesUnitTest(java.lang.String name)
name
- The name of the test.public void test_addDefaultPropertyIfNotSet_PropertyNotSet()
DefaultProperties.addDefaultPropertyIfNotSet(java.util.Properties, java.lang.String, java.lang.String)
sets a default property if the property is not already set.public void test_addDefaultPropertyIfNotSet_PropertyAlreadySet()
DefaultProperties.addDefaultPropertyIfNotSet(java.util.Properties, java.lang.String, java.lang.String)
does not set a default property if the property is already set.public void test_addDefaultPropertyIfNotSet_DefaultKeyNotSet()
DefaultProperties.addDefaultPropertyIfNotSet(java.util.Properties, java.lang.String, java.lang.String, java.util.Map)
does not set a default property if the defaultKey
is not set.public void test_addDefaultPropertyIfNotSet_DefaultKeySet_PropertyNotSet()
DefaultProperties.addDefaultPropertyIfNotSet(java.util.Properties, java.lang.String, java.lang.String, java.util.Map)
sets a default property if the property is not already set.public void test_addDefaultPropertyIfNotSet_DefaultKeySet_PropertyAlreadySet()
DefaultProperties.addDefaultPropertyIfNotSet(java.util.Properties, java.lang.String, java.lang.String, java.util.Map)
does not set a default property if the property is already set.public void test_getServerType_intToString_Null()
public void test_getServerType_intToString_SQLSERVER()
public void test_getServerType_intToString_SYBASE()
public void test_getServerType_StringToInteger_Null()
public void test_getServerType_StringToInteger_SQLSERVER()
public void test_getServerType_StringToInteger_SYBASE()
public void test_getTdsVersion_StringToInteger_Null()
public void test_getTdsVersion_StringToInteger_TDS42()
public void test_getTdsVersion_StringToInteger_TDS50()
public void test_getTdsVersion_StringToInteger_TDS70()
public void test_getTdsVersion_StringToInteger_TDS80()
public void test_getNamedPipePath_DEFAULT()
public void test_getNamedPipePath_INVALID()
public void test_getNamedPipePath_SQLSERVER()
public void test_getNamedPipePath_SYBASE()
Generated on June 8 2013