org.jboss.test.util.test.concurrent
Class ThreadPoolRunnableUnitTestCase.TestRunnable

java.lang.Object
  extended by org.jboss.test.util.test.concurrent.ThreadPoolRunnableUnitTestCase.TestRunnable
All Implemented Interfaces:
Runnable
Enclosing class:
ThreadPoolRunnableUnitTestCase

public class ThreadPoolRunnableUnitTestCase.TestRunnable
extends Object
implements Runnable

Test runnable


Constructor Summary
ThreadPoolRunnableUnitTestCase.TestRunnable(int test, String data)
          Create a new TestRunnable
ThreadPoolRunnableUnitTestCase.TestRunnable(int test, String data, long runSleepTime)
           
 
Method Summary
 void finished()
          The test is finished
 void run()
          Runnable implementation
 void saveThreadName()
          Save the thread
 void started()
          The test is finished
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPoolRunnableUnitTestCase.TestRunnable

public ThreadPoolRunnableUnitTestCase.TestRunnable(int test,
                                                   String data)
Create a new TestRunnable

Parameters:
test - the test
data - the test data

ThreadPoolRunnableUnitTestCase.TestRunnable

public ThreadPoolRunnableUnitTestCase.TestRunnable(int test,
                                                   String data,
                                                   long runSleepTime)
Method Detail

run

public void run()
Runnable implementation

Specified by:
run in interface Runnable

saveThreadName

public void saveThreadName()
Save the thread


started

public void started()
The test is finished


finished

public void finished()
The test is finished



Copyright © 2009 JBoss Inc.. All Rights Reserved.