java.lang.Object
|
+----java.lang.Thread
|
+----TET.TetThread
- public class TetThread
- extends Thread
The thread class which test purposes should use when running multi-threaded
tests.
Constructor Index
-
TetThread(TestSession, Runnable)
- Create a new thread for use with a TET
TestSession
.
-
TetThread(TestSession, Runnable, long)
- Create a new thread for use with a TET
TestSession
.
-
TetThread(TestSession, Runnable, String)
- Create a new thread for use with a TET
TestSession
.
-
TetThread(TestSession, Runnable, String, long)
- Create a new thread for use with a TET
TestSession
.
-
TetThread(TestSession, String)
- Create a new thread for use with a TET
TestSession
.
-
TetThread(TestSession, String, long)
- Create a new thread for use with a TET
TestSession
.
-
TetThread(ThreadGroup, Runnable)
- Create a new thread.
-
TetThread(ThreadGroup, Runnable, String)
- Create a new thread.
-
TetThread(ThreadGroup, String)
- Create a new thread.
Constructors
TetThread
public TetThread(TestSession ts,
Runnable target,
String name,
long waitTime)
- Create a new thread for use with a TET
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.
- Parameters:
- 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.
TetThread
public TetThread(TestSession ts,
Runnable target,
String name)
- Create a new thread for use with a TET
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.
- Parameters:
- ts - the
TestSession
object for
the current test run.
- target - the target.
- name - the name of the thread.
TetThread
public TetThread(TestSession ts,
Runnable target,
long waitTime)
- Create a new thread for use with a TET
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.
- Parameters:
- 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.
- See Also:
- TetThread
TetThread
public TetThread(TestSession ts,
Runnable target)
- Create a new thread for use with a TET
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.
- Parameters:
- ts - the
TestSession
object for
the current test run.
- target - the target.
- See Also:
- TetThread
TetThread
public TetThread(TestSession ts,
String name,
long waitTime)
- Create a new thread for use with a TET
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.
- Parameters:
- 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.
- See Also:
- TetThread
TetThread
public TetThread(TestSession ts,
String name)
- Create a new thread for use with a TET
TestSession
.
- Parameters:
- ts - the
TestSession
with which the
thread is being used.
- name - the name of the thread.
- See Also:
- TetThread
TetThread
public TetThread(ThreadGroup group,
Runnable target,
String name)
- Create a new thread. It is recommended that all instances are
created using one of the constructors which take a
TestSession
argument.
- Parameters:
- group - the thread group.
- target - the target.
- name - the name of the thread.
TetThread
public TetThread(ThreadGroup group,
Runnable target)
- Create a new thread. See recommendations for
TetThread.TetThread(ThreadGroup, Runnable, String)
.
- Parameters:
- group - the thread group.
- target - the target.
- See Also:
- TetThread
TetThread
public TetThread(ThreadGroup group,
String name)
- Create a new thread. See recommendations for
TetThread.TetThread(ThreadGroup, Runnable, String)
.
- Parameters:
- group - the thread group.
- name - the name of the thread.
- See Also:
- TetThread