|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.objectweb.cjdbc.scenario.templates.NoTemplate
org.objectweb.cjdbc.scenario.templates.Template
org.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template
org.objectweb.cjdbc.scenario.templates.Raidb1Template
org.objectweb.cjdbc.scenario.raidb1.driver.SetXXXandGetXXXScenario
This class is testing the setter for preparedstatement and the getters for ResultSet.
Field Summary | |
(package private) java.lang.String |
tableName
|
Fields inherited from class org.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template |
cm, controller, controllerProcess, hm, hm1, hm2, mainVdb |
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate |
logger, TEXT_DIR |
Constructor Summary | |
SetXXXandGetXXXScenario()
|
Method Summary | |
protected void |
setUp()
Load C-JDBC driver and retrieve connection from database |
protected void |
tearDown()
|
void |
testBigDecimal()
Test method for BigDecimal |
void |
testBoolean()
Test method for boolean |
void |
testLong()
Test method for long |
void |
testMacros()
Test macros are not replaced within string |
void |
testObject()
Test method for Object |
void |
testString()
Test method for String |
void |
testTimefields()
Test method for Time fields (timestamp, date, time) |
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Template |
getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getHypersonicConnection |
Methods inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate |
getTextPath, getUserDir |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.lang.String tableName
Constructor Detail |
public SetXXXandGetXXXScenario()
Method Detail |
protected void setUp()
setUp
in class Raidb1Template
junit.framework.TestCase#setUp()
protected void tearDown()
tearDown
in class Raidb1Template
junit.framework.TestCase#tearDown()
public void testBoolean() throws java.lang.Exception
java.lang.Exception
- possibly ...public void testBigDecimal() throws java.lang.Exception
java.lang.Exception
- possibly ...public void testString() throws java.lang.Exception
java.lang.Exception
- possibly ...public void testMacros() throws java.lang.Exception
java.lang.Exception
- if failspublic void testTimefields() throws java.lang.Exception
java.lang.Exception
- possibly ...public void testObject() throws java.lang.Exception
java.lang.Exception
- possibly ...public void testLong() throws java.lang.Exception
java.lang.Exception
- possibly ...
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |