org.objectweb.cjdbc.scenario.basic
Class StartStopDatabaseScenario

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.cjdbc.scenario.templates.NoTemplate
          extended byorg.objectweb.cjdbc.scenario.templates.Template
              extended byorg.objectweb.cjdbc.scenario.basic.StartStopDatabaseScenario

public class StartStopDatabaseScenario
extends Template

This class defines a StartStopHsqlScenario

Version:
1.0
Author:
Emmanuel Cecchet
See Also:
Serialized Form

Field Summary
(package private)  DatabaseManager hm
           
(package private)  ComponentInterface hsql1
           
(package private)  java.lang.String port1
           
(package private)  java.lang.String port2
           
(package private)  java.lang.String port3
           
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Constructor Summary
StartStopDatabaseScenario()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testNewHsqldbRelease()
          Stupid test for new hsqldb
 void testStart()
          testStart
 void testStartStop()
          testStartStop
 void testStartStopConnect()
          Start Stop Connect Test
 
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

DatabaseManager hm

hsql1

ComponentInterface hsql1

port1

java.lang.String port1

port2

java.lang.String port2

port3

java.lang.String port3
Constructor Detail

StartStopDatabaseScenario

public StartStopDatabaseScenario()
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()

testStart

public void testStart()
testStart


testStartStop

public void testStartStop()
testStartStop


testStartStopConnect

public void testStartStopConnect()
Start Stop Connect Test


testNewHsqldbRelease

public void testNewHsqldbRelease()
                          throws java.lang.Exception
Stupid test for new hsqldb

Throws:
java.lang.Exception - if fails


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