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

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          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.UpdatableResultSetScenario
All Implemented Interfaces:
junit.framework.Test

public class UpdatableResultSetScenario
extends Raidb1Template

This class defines a UpdatableResultSetScenario

Version:
1.0
Author:
Jean-Bernard van Zuylen

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
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
UpdatableResultSetScenario()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testDeleteRow()
          Test deleting rows with updatable ResultSets
 void testInsertRow()
          Test inserting rows with Updatable ResultSets
 void testRefreshRow()
          Test refreshing rows with Updatable ResultSets
 void testUpdateRow()
          Test updating rows with Updatable ResultSets
 
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 junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tableName

java.lang.String tableName
Constructor Detail

UpdatableResultSetScenario

public UpdatableResultSetScenario()
Method Detail

setUp

protected void setUp()
Overrides:
setUp in class Raidb1Template
See Also:
TestCase.setUp()

tearDown

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

testInsertRow

public void testInsertRow()
                   throws java.lang.Exception
Test inserting rows with Updatable ResultSets

Throws:
java.lang.Exception - if fails

testDeleteRow

public void testDeleteRow()
                   throws java.lang.Exception
Test deleting rows with updatable ResultSets

Throws:
java.lang.Exception - if fails

testUpdateRow

public void testUpdateRow()
                   throws java.lang.Exception
Test updating rows with Updatable ResultSets

Throws:
java.lang.Exception - if fails

testRefreshRow

public void testRefreshRow()
                    throws java.lang.Exception
Test refreshing rows with Updatable ResultSets

Throws:
java.lang.Exception - if fails


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