com.flexiblewebsolutions.xdriveunit.loadtest
Class TestThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.flexiblewebsolutions.xdriveunit.loadtest.TestThread
All Implemented Interfaces:
java.lang.Runnable

public class TestThread
extends java.lang.Thread

Each thread executes the test.

Author:
Donavon Buss

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
TestThread(LoadWebXDriveTestCase pTestCase, java.lang.String pThreadName, java.lang.StringBuffer pTestConfig, ThreadTracker pTT)
          Create thread instance
 
Method Summary
 void run()
          execute test within the thread
 
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

TestThread

public TestThread(LoadWebXDriveTestCase pTestCase,
                  java.lang.String pThreadName,
                  java.lang.StringBuffer pTestConfig,
                  ThreadTracker pTT)
Create thread instance

Parameters:
pTestCase - - An instance of the test class.
pThreadName - - Unique name for this thread
pTestConfig - - Config information needed by test
pTT - - Keeps track of all threads
Method Detail

run

public void run()
execute test within the thread

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread


Copyright © -2005 . All Rights Reserved.