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

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.raidb1.driver.Raidb1ChangeCatalogScenario

public class Raidb1ChangeCatalogScenario
extends SimpleRaidb1Template

Catalogs scenario

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

Field Summary
 
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
Raidb1ChangeCatalogScenario()
           
 
Method Summary
protected  void setUp()
           
 void testChangeCatalog()
          Test changing of catalogs from connection
 void testChangeCatalogWithWrongUser()
          try to change catalog without a proper login
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template
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
 

Constructor Detail

Raidb1ChangeCatalogScenario

public Raidb1ChangeCatalogScenario()
Method Detail

testChangeCatalog

public void testChangeCatalog()
                       throws java.lang.Exception
Test changing of catalogs from connection

Throws:
java.lang.Exception - if something's wrong

testChangeCatalogWithWrongUser

public void testChangeCatalogWithWrongUser()
                                    throws java.lang.Exception
try to change catalog without a proper login

Throws:
java.lang.Exception - if fails

setUp

protected void setUp()
Overrides:
setUp in class SimpleRaidb1Template
See Also:
junit.framework.TestCase#setUp()


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