org.objectweb.cjdbc.scenario.templates
Class DatabaseTemplate

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.DatabaseTemplate
Direct Known Subclasses:
ControllerJavaInstanceTest

public abstract class DatabaseTemplate
extends Template

This class defines a DatabaseTemplate where a single database instance is started and stop

Version:
1.0
Author:
Nicolas Modryzk
See Also:
Serialized Form

Field Summary
protected  DatabaseManager hm
           
protected  ComponentInterface hm1
           
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Constructor Summary
DatabaseTemplate()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 
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

hm

protected DatabaseManager hm

hm1

protected ComponentInterface hm1
Constructor Detail

DatabaseTemplate

public DatabaseTemplate()
Method Detail

setUp

protected void setUp()
Specified by:
setUp in class Template
See Also:
junit.framework.TestCase#setUp()

tearDown

protected void tearDown()
Specified by:
tearDown in class Template
See Also:
junit.framework.TestCase#tearDown()


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