|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--TET.TetThread
The thread class which test purposes should use when running multi-threaded tests.
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
TetThread(TestSession ts,
java.lang.Runnable target)
Create a new thread for use with a TET TestSession . |
|
TetThread(TestSession ts,
java.lang.Runnable target,
long waitTime)
Create a new thread for use with a TET TestSession . |
|
TetThread(TestSession ts,
java.lang.Runnable target,
java.lang.String name)
Create a new thread for use with a TET TestSession . |
|
TetThread(TestSession ts,
java.lang.Runnable target,
java.lang.String name,
long waitTime)
Create a new thread for use with a TET TestSession . |
|
TetThread(TestSession ts,
java.lang.String name)
Create a new thread for use with a TET TestSession . |
|
TetThread(TestSession ts,
java.lang.String name,
long waitTime)
Create a new thread for use with a TET TestSession . |
|
TetThread(java.lang.ThreadGroup group,
java.lang.Runnable target)
Create a new thread. |
|
TetThread(java.lang.ThreadGroup group,
java.lang.Runnable target,
java.lang.String name)
Create a new thread. |
|
TetThread(java.lang.ThreadGroup group,
java.lang.String name)
Create a new thread. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, 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 TetThread(TestSession ts, java.lang.Runnable target, java.lang.String name, long waitTime)
TestSession
.
Any threads created in a test purpose using this constructor will be automatically cleaned up by the TCM at the end of the test purpose.
ts
- the TestSession
object for
the current test run.target
- the target.name
- the name of the thread.waitTime
- number of milliseconds for which the
TCM cleanup code will wait for this
thread to die after the main thread
returns.public TetThread(TestSession ts, java.lang.Runnable target, java.lang.String name)
TestSession
.
Any threads created in a test purpose using this constructor will be automatically cleaned up by the TCM at the end of the test purpose.
ts
- the TestSession
object for
the current test run.target
- the target.name
- the name of the thread.public TetThread(TestSession ts, java.lang.Runnable target, long waitTime)
TestSession
.
Any threads created in a test purpose using this constructor will be automatically cleaned up by the TCM at the end of the test purpose.
ts
- the TestSession
object for
the current test run.target
- the target.waitTime
- number of milliseconds for which the
TCM cleanup code will wait for this
thread to die after the main thread
returns.TetThread(TestSession, Runnable, String, long)
public TetThread(TestSession ts, java.lang.Runnable target)
TestSession
.
Any threads created in a test purpose using this constructor will be automatically cleaned up by the TCM at the end of the test purpose.
ts
- the TestSession
object for
the current test run.target
- the target.TetThread(TestSession, Runnable, String)
public TetThread(TestSession ts, java.lang.String name, long waitTime)
TestSession
.
Any threads created in a test purpose using this constructor will be automatically cleaned up by the TCM at the end of the test purpose.
ts
- the TestSession
object for
the current test run.name
- the name of the thread.waitTime
- number of milliseconds for which the
TCM cleanup code will wait for this
thread to die after the main thread
returns.TetThread(TestSession, Runnable, String, long)
public TetThread(TestSession ts, java.lang.String name)
TestSession
.ts
- the TestSession
with which the
thread is being used.name
- the name of the thread.TetThread(TestSession, Runnable, String)
public TetThread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name)
TestSession
argument.group
- the thread group.target
- the target.name
- the name of the thread.public TetThread(java.lang.ThreadGroup group, java.lang.Runnable target)
TetThread.TetThread(ThreadGroup, Runnable, String)
.group
- the thread group.target
- the target.TetThread(ThreadGroup, Runnable, String)
public TetThread(java.lang.ThreadGroup group, java.lang.String name)
TetThread.TetThread(ThreadGroup, Runnable, String)
.group
- the thread group.name
- the name of the thread.TetThread(ThreadGroup, Runnable, String)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |