|
JTR 4.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
jtr.test.Test
public class Test
This class represents one of the two entry points to a JTRunner test.
It contains a main method that synchronously starts the main thread of the
current test.
SystemProperties
,
TestConfig
,
TestRunManager
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
Test(java.lang.String name)
The constructor. |
|
Test(java.lang.ThreadGroup group,
java.lang.String name)
The constructor. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Starts the test. |
void |
run()
This method uses the provided system properties for reading in the configuration files. After that it creates a TestRunManager using the
TestConfig representing the provided jtr.xml
file and starts the test. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Test(java.lang.String name)
name
- The name of the JTR main threadpublic Test(java.lang.ThreadGroup group, java.lang.String name)
group
- A thread group for the JTR main threadname
- The name of the JTR main threadMethod Detail |
---|
public void run()
TestRunManager
using the
TestConfig
representing the provided jtr.xml
file and starts the test.
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public static void main(java.lang.String[] args)
args
- String[]
|
The JTR Project is licensed under GPL version 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |