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

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.MacroInStatementsScenario

public class MacroInStatementsScenario
extends Raidb1Template

Testing of macros replacement with real backends

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

Field Summary
(package private) static java.lang.String[] BATCH
           
 
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
MacroInStatementsScenario()
           
 
Method Summary
 void testMacrosInPreparedStatementDriverProcessed()
          Test macro replacement with prepared statement and driver processing
 void testMacrosInPreparedStatementNotDriverProcessed()
          Test macro replacement with prepared statement and controller processing
 void testMacrosInStatementDriverProcessed()
          Test macro replacement with statement and driver processing
 void testMacrosInStatementNotDriverProcessed()
          Test macro replacement with statement and controller processing
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Raidb1Template
setUp, 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

BATCH

static final java.lang.String[] BATCH
Constructor Detail

MacroInStatementsScenario

public MacroInStatementsScenario()
Method Detail

testMacrosInStatementNotDriverProcessed

public void testMacrosInStatementNotDriverProcessed()
                                             throws java.lang.Exception
Test macro replacement with statement and controller processing

Throws:
java.lang.Exception - if fails

testMacrosInStatementDriverProcessed

public void testMacrosInStatementDriverProcessed()
                                          throws java.lang.Exception
Test macro replacement with statement and driver processing

Throws:
java.lang.Exception - if fails

testMacrosInPreparedStatementNotDriverProcessed

public void testMacrosInPreparedStatementNotDriverProcessed()
                                                     throws java.lang.Exception
Test macro replacement with prepared statement and controller processing

Throws:
java.lang.Exception - if fails

testMacrosInPreparedStatementDriverProcessed

public void testMacrosInPreparedStatementDriverProcessed()
                                                  throws java.lang.Exception
Test macro replacement with prepared statement and driver processing

Throws:
java.lang.Exception - if fails


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