net.sf.farrago.test.concurrent
Class FarragoTestConcurrentScriptedTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eigenbase.test.DiffTestCase
              extended by net.sf.farrago.test.ResultSetTestCase
                  extended by net.sf.farrago.test.FarragoTestCase
                      extended by net.sf.farrago.test.concurrent.FarragoTestConcurrentTestCase
                          extended by net.sf.farrago.test.concurrent.FarragoTestConcurrentScriptedTestCase
All Implemented Interfaces:
Test
Direct Known Subclasses:
FarragoTestConcurrentTest

public abstract class FarragoTestConcurrentScriptedTestCase
extends FarragoTestConcurrentTestCase

FarragoTestConcurrentScriptedTestCase is a base class for multi-threaded, scripted tests. Subclasses must implement the suite() method in order to get a database connection correctly initialized.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/test/concurrent/FarragoTestConcurrentScriptedTestCase.java#13 $
Author:
Stephan Zuercher

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.farrago.test.FarragoTestCase
FarragoTestCase.Cleanup, FarragoTestCase.CleanupFactory
 
Field Summary
 
Fields inherited from class net.sf.farrago.test.FarragoTestCase
allocOwner, connection, preparedStmt, repos, stmt, tracer
 
Fields inherited from class net.sf.farrago.test.ResultSetTestCase
resultSet
 
Fields inherited from class org.eigenbase.test.DiffTestCase
logFile, logOutputStream, refFile
 
Constructor Summary
protected FarragoTestConcurrentScriptedTestCase(String testName)
          Creates a new FarragoTestConcurrentScriptedTestCase object.
 
Method Summary
protected  void runScript(String mtsqlFile, String jdbcURL)
          Executes the given multi-threaded test script.
 
Methods inherited from class net.sf.farrago.test.concurrent.FarragoTestConcurrentTestCase
executeTest, innerExecuteTest, newCommandGenerator, newScriptedCommandGenerator, setDataSource
 
Methods inherited from class net.sf.farrago.test.FarragoTestCase
forceShutdown, getJdbcUri, getSession, getTestlogRoot, getTestlogRootStatic, newConnection, newJdbcEngineDriver, restoreParameters, restoreParameters, runCleanup, runSqlLineTest, runSqlLineTest, saveParameters, saveParameters, setRefFileDiffMasks, setUp, shouldDiff, staticSetUp, staticTearDown, tearDown, tearDownImpl, wrappedSuite, wrappedSuite
 
Methods inherited from class net.sf.farrago.test.ResultSetTestCase
compareResultList, compareResultLists, compareResultSet, compareResultSetWithDelta, compareResultSetWithPattern, getResultSetCount
 
Methods inherited from class org.eigenbase.test.DiffTestCase
addDiffMask, addIgnorePattern, diffFile, diffLines, diffTestLog, fileContents, openTestLog, openTestLogOutputStream, setGC, setVerbose
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FarragoTestConcurrentScriptedTestCase

protected FarragoTestConcurrentScriptedTestCase(String testName)
                                         throws Exception
Creates a new FarragoTestConcurrentScriptedTestCase object.

Parameters:
testName - .
Throws:
Exception - .
Method Detail

runScript

protected void runScript(String mtsqlFile,
                         String jdbcURL)
                  throws Exception
Executes the given multi-threaded test script.

Throws:
Exception