| net.sourceforge.jtds.test.UnitTestBase net.sourceforge.jtds.test.DefaultPropertiesUnitTest
Method Summary | |
public 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. | public 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. | public 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. | public 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. | public 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. | public void | test_getNamedPipePath_DEFAULT() | public void | test_getNamedPipePath_INVALID() | public void | test_getNamedPipePath_SQLSERVER() | public void | test_getNamedPipePath_SYBASE() | public void | test_getServerType_StringToInteger_Null() | public void | test_getServerType_StringToInteger_SQLSERVER() | public void | test_getServerType_StringToInteger_SYBASE() | public void | test_getServerType_intToString_Null() | public void | test_getServerType_intToString_SQLSERVER() | public void | test_getServerType_intToString_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() |
DefaultPropertiesUnitTest | public DefaultPropertiesUnitTest(String name)(Code) | | Constructor.
Parameters: name - The name of the test. |
test_addDefaultPropertyIfNotSet_DefaultKeyNotSet | public void test_addDefaultPropertyIfNotSet_DefaultKeyNotSet()(Code) | | 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.
|
test_addDefaultPropertyIfNotSet_DefaultKeySet_PropertyAlreadySet | public void test_addDefaultPropertyIfNotSet_DefaultKeySet_PropertyAlreadySet()(Code) | | 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.
|
test_addDefaultPropertyIfNotSet_DefaultKeySet_PropertyNotSet | public void test_addDefaultPropertyIfNotSet_DefaultKeySet_PropertyNotSet()(Code) | | 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.
|
test_addDefaultPropertyIfNotSet_PropertyAlreadySet | public void test_addDefaultPropertyIfNotSet_PropertyAlreadySet()(Code) | | 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.
|
test_addDefaultPropertyIfNotSet_PropertyNotSet | public void test_addDefaultPropertyIfNotSet_PropertyNotSet()(Code) | | Tests that
DefaultProperties.addDefaultPropertyIfNotSet(java.util.Properties, java.lang.String, java.lang.String)
sets a default property if the property is not already set.
|
test_getNamedPipePath_DEFAULT | public void test_getNamedPipePath_DEFAULT()(Code) | | |
test_getNamedPipePath_INVALID | public void test_getNamedPipePath_INVALID()(Code) | | |
test_getNamedPipePath_SQLSERVER | public void test_getNamedPipePath_SQLSERVER()(Code) | | |
test_getNamedPipePath_SYBASE | public void test_getNamedPipePath_SYBASE()(Code) | | |
test_getServerType_StringToInteger_Null | public void test_getServerType_StringToInteger_Null()(Code) | | |
test_getServerType_StringToInteger_SQLSERVER | public void test_getServerType_StringToInteger_SQLSERVER()(Code) | | |
test_getServerType_StringToInteger_SYBASE | public void test_getServerType_StringToInteger_SYBASE()(Code) | | |
test_getServerType_intToString_Null | public void test_getServerType_intToString_Null()(Code) | | |
test_getServerType_intToString_SQLSERVER | public void test_getServerType_intToString_SQLSERVER()(Code) | | |
test_getServerType_intToString_SYBASE | public void test_getServerType_intToString_SYBASE()(Code) | | |
test_getTdsVersion_StringToInteger_Null | public void test_getTdsVersion_StringToInteger_Null()(Code) | | |
test_getTdsVersion_StringToInteger_TDS42 | public void test_getTdsVersion_StringToInteger_TDS42()(Code) | | |
test_getTdsVersion_StringToInteger_TDS50 | public void test_getTdsVersion_StringToInteger_TDS50()(Code) | | |
test_getTdsVersion_StringToInteger_TDS70 | public void test_getTdsVersion_StringToInteger_TDS70()(Code) | | |
test_getTdsVersion_StringToInteger_TDS80 | public void test_getTdsVersion_StringToInteger_TDS80()(Code) | | |
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)
|
|
|