public class MultiTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
inputDir |
private static org.apache.derby.iapi.tools.i18n.LocalizedOutput |
log |
private static int |
MAX_WAIT_FOR_COMPLETION |
private static java.lang.String |
outputDir |
private static org.apache.derby.impl.tools.ij.mtTestSuite |
suite |
private static java.lang.String |
testName |
| Constructor and Description |
|---|
MultiTest() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allAlive(java.lang.Thread[] threads)
Search through the list of threads and see
if they are all alive.
|
static boolean |
allDead(java.lang.Thread[] threads)
Search through the list of threads and see
if they are all alive.
|
private static long |
execTesters(org.apache.derby.impl.tools.ij.mtTester[] testers) |
private static java.lang.String |
getTestName(java.lang.String cmdFile)
Given the command file, infer the test name.
|
static void |
main(java.lang.String[] args)
Main loop
|
private static org.apache.derby.iapi.tools.i18n.LocalizedOutput |
openFile(java.lang.String dir,
java.lang.String fileName)
Figure out the name of the log file and open
it
|
private static void |
seqRunCases(java.util.Vector cases,
java.lang.String descr,
java.lang.String inputDir,
java.lang.String outputDir)
Sequentially run scripts
|
static void |
syntax() |
private static final int MAX_WAIT_FOR_COMPLETION
private static org.apache.derby.impl.tools.ij.mtTestSuite suite
private static org.apache.derby.iapi.tools.i18n.LocalizedOutput log
private static java.lang.String inputDir
private static java.lang.String outputDir
private static java.lang.String testName
public static void syntax()
public static void main(java.lang.String[] args)
throws java.io.IOException,
org.apache.derby.impl.tools.ij.ParseException,
java.io.FileNotFoundException
java.io.IOException - thrown on errororg.apache.derby.impl.tools.ij.ParseException - thrown on errorjava.io.FileNotFoundException - thrown on errorprivate static long execTesters(org.apache.derby.impl.tools.ij.mtTester[] testers)
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundExceptionjava.io.IOExceptionpublic static boolean allAlive(java.lang.Thread[] threads)
public static boolean allDead(java.lang.Thread[] threads)
private static org.apache.derby.iapi.tools.i18n.LocalizedOutput openFile(java.lang.String dir,
java.lang.String fileName)
throws java.io.IOException
java.io.IOExceptionprivate static void seqRunCases(java.util.Vector cases,
java.lang.String descr,
java.lang.String inputDir,
java.lang.String outputDir)
throws java.io.FileNotFoundException,
java.io.IOException,
org.apache.derby.impl.tools.ij.ijFatalException
java.io.FileNotFoundExceptionjava.io.IOExceptionorg.apache.derby.impl.tools.ij.ijFatalExceptionprivate static java.lang.String getTestName(java.lang.String cmdFile)
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.