net.sf.farrago.test.concurrent
Class FarragoTestConcurrentTest

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
                              extended by net.sf.farrago.test.concurrent.FarragoTestConcurrentTest
All Implemented Interfaces:
Test

public class FarragoTestConcurrentTest
extends FarragoTestConcurrentScriptedTestCase

FarragoTestConcurrentTest executes a variety of SQL DML and DDL commands via a multi-threaded test harness in an effort to detect errors in concurrent execution.

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

Nested Class Summary
static interface FarragoTestConcurrentTest.FarragoConcurrentSqlTestFactory
           
 
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
FarragoTestConcurrentTest(String name)
           
 
Method Summary
protected static Test gatherSuite(String fileSet, FarragoTestConcurrentTest.FarragoConcurrentSqlTestFactory fac)
           
protected  void runTest()
           
protected  void runTest(String jdbcUrl)
           
protected  void setUp()
           
static Test suite()
           
 
Methods inherited from class net.sf.farrago.test.concurrent.FarragoTestConcurrentScriptedTestCase
runScript
 
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, 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, 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

FarragoTestConcurrentTest

public FarragoTestConcurrentTest(String name)
                          throws Exception
Throws:
Exception
Method Detail

suite

public static Test suite()
                  throws Exception
Throws:
Exception

gatherSuite

protected static Test gatherSuite(String fileSet,
                                  FarragoTestConcurrentTest.FarragoConcurrentSqlTestFactory fac)
                           throws Exception
Throws:
Exception

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class FarragoTestCase
Throws:
Exception

runTest

protected void runTest(String jdbcUrl)
                throws Exception
Throws:
Exception

runTest

protected void runTest()
                throws Exception
Overrides:
runTest in class TestCase
Throws:
Exception