org.objectweb.cjdbc.scenario.raidb1.driver
Class SetXXXandGetXXXScenario

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.cjdbc.scenario.templates.NoTemplate
          extended byorg.objectweb.cjdbc.scenario.templates.Template
              extended byorg.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template
                  extended byorg.objectweb.cjdbc.scenario.templates.Raidb1Template
                      extended byorg.objectweb.cjdbc.scenario.raidb1.driver.SetXXXandGetXXXScenario

public class SetXXXandGetXXXScenario
extends Raidb1Template

This class is testing the setter for preparedstatement and the getters for ResultSet.

Author:
Marc Wick
See Also:
Serialized Form

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

tableName

java.lang.String tableName
Constructor Detail

SetXXXandGetXXXScenario

public SetXXXandGetXXXScenario()
Method Detail

setUp

protected void setUp()
Load C-JDBC driver and retrieve connection from database

Overrides:
setUp in class Raidb1Template
See Also:
junit.framework.TestCase#setUp()

tearDown

protected void tearDown()
Overrides:
tearDown in class Raidb1Template
See Also:
junit.framework.TestCase#tearDown()

testBoolean

public void testBoolean()
                 throws java.lang.Exception
Test method for boolean

Throws:
java.lang.Exception - possibly ...

testBigDecimal

public void testBigDecimal()
                    throws java.lang.Exception
Test method for BigDecimal

Throws:
java.lang.Exception - possibly ...

testString

public void testString()
                throws java.lang.Exception
Test method for String

Throws:
java.lang.Exception - possibly ...

testMacros

public void testMacros()
                throws java.lang.Exception
Test macros are not replaced within string

Throws:
java.lang.Exception - if fails

testTimefields

public void testTimefields()
                    throws java.lang.Exception
Test method for Time fields (timestamp, date, time)

Throws:
java.lang.Exception - possibly ...

testObject

public void testObject()
                throws java.lang.Exception
Test method for Object

Throws:
java.lang.Exception - possibly ...

testLong

public void testLong()
              throws java.lang.Exception
Test method for long

Throws:
java.lang.Exception - possibly ...


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.