|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jcoderz.commons.util.DbUtilTest
public class DbUtilTest
Tests the DbUtil class.
| Constructor Summary | |
|---|---|
DbUtilTest()
|
|
| Method Summary | |
|---|---|
void |
testCloseNullObjects()
Tests closing of a null java.sql.Statement, Connection and ResultSet. |
void |
testCloseObject()
Tests whether a java.sql.Statement, Connection or ResultSet is closed correctly. |
void |
testParameterSetters()
Tests the setters for various data types on a prepared statement. |
void |
testSetNullParameters()
Tests the parameter setters with null parameters. |
void |
xtestLimitedBatchSizePreparedStatement()
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DbUtilTest()
| Method Detail |
|---|
public void testCloseObject()
throws Exception
Exception - if the testcase fails
public void testParameterSetters()
throws Exception
Exception - if the testcase fails
public void testSetNullParameters()
throws Exception
Exception - if the testcase failspublic void testCloseNullObjects()
public void xtestLimitedBatchSizePreparedStatement()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||