Home | History | Annotate | Download | only in thread
      1 package test.thread;
      2 
      3 import org.testng.annotations.Test;
      4 
      5 public class ThreadPoolSizeTest extends ThreadPoolSizeBase {
      6   @Test(invocationCount = 5, threadPoolSize = 3)
      7   public void f1() {
      8     logThread();
      9   }
     10 
     11   @Test(dependsOnMethods = {"f1"})
     12   public void verify() {
     13     verifyThreads(3);
     14   }
     15 
     16 }
     17