1 package test.configuration;
2 
3 import org.testng.annotations.AfterTest;
4 import org.testng.annotations.BeforeTest;
5 import org.testng.annotations.Test;
6 
7 public class BeforeTestOrdering1Test extends BaseBeforeTestOrdering {
8 
9   @BeforeTest
bt1()10   public void bt1() {
11     log("bt1");
12   }
13 
14   @AfterTest
at1()15   public void at1() {
16     log("at1");
17   }
18 
19   @Test
f1()20   public void f1() {
21     log("f1");
22   }
23 
ppp(String s)24   private static void ppp(String s) {
25     System.out.println("[BeforeTestOrdering1Test] " + s);
26   }
27 
28 }
29