Home | History | Annotate | Download | only in thread
      1 package test.thread;
      2 
      3 import org.testng.annotations.Test;
      4 
      5 @Test(sequential = true)
      6 public class SequentialSampleTest extends BaseSequentialSample {
      7 
      8   public void f1() {
      9     addId("SequentialSampleTest.f1()", Thread.currentThread().getId());
     10   }
     11 
     12   public void f2() {
     13     addId("SequentialSampleTest.f2()", Thread.currentThread().getId());
     14   }
     15 
     16   public void f3() {
     17     addId("SequentialSampleTest.f3()", Thread.currentThread().getId());
     18   }
     19 
     20 }
     21