|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--net.sourceforge.jtds.test.UnitTestBase
|
+--net.sourceforge.jtds.test.DefaultPropertiesUnitTest
Unit tests for the DefaultProperties class.
| Fields inherited from class junit.framework.TestCase |
fName |
| Constructor Summary | |
DefaultPropertiesUnitTest(java.lang.String name)
Constructor. |
|
| Methods inherited from class net.sourceforge.jtds.test.UnitTestBase |
assertEquals, assertEquals, failNotEquals, format, invokeConstructor, invokeGetInstanceField, invokeInstanceMethod, invokeStaticMethod |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public DefaultPropertiesUnitTest(java.lang.String name)
name - The name of the test.| Method Detail |
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||