• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package test.thread;
2 
3 import org.testng.annotations.Test;
4 
5 @Test(singleThreaded = true)
6 public class SingleThreadedSample2Test extends BaseSequentialSample {
7 
8   @Test
f1()9   public void f1() {
10     addId("SingleThreadedSample2Test.f1()", Thread.currentThread().getId());
11   }
12 
13   @Test
f2()14   public void f2() {
15     addId("SingleThreadedSample2Test.f2()", Thread.currentThread().getId());
16   }
17 
18   @Test
f3()19   public void f3() {
20     addId("SingleThreadedSample2Test.f3()", Thread.currentThread().getId());
21   }
22 
23 }
24