Home | History | Annotate | Download | only in thread
      1 package org.testng.internal.thread;
      2 
      3 /**
      4  * Custom named thread.
      5  *
      6  * @author <a href='mailto:the_mindstorm (at) evolva.ro'>Alexandru Popescu</a>
      7  */
      8 public class TestNGThread extends Thread {
      9    public TestNGThread(String methodName) {
     10       super("TestNGInvoker-" + methodName + "()");
     11    }
     12 
     13    public TestNGThread(Runnable target, String methodName) {
     14       super(target, "TestNGInvoker-" + methodName + "()");
     15    }
     16 }