01: package test.configuration;
02:
03: import org.testng.annotations.AfterTest;
04: import org.testng.annotations.BeforeTest;
05: import org.testng.annotations.Test;
06:
07: public class BeforeTestOrdering1Test extends BaseBeforeTestOrdering {
08:
09: @BeforeTest
10: public void bt1() {
11: log("bt1");
12: }
13:
14: @AfterTest
15: public void at1() {
16: log("at1");
17: }
18:
19: @Test
20: public void f1() {
21: log("f1");
22: }
23:
24: private static void ppp(String s) {
25: System.out.println("[BeforeTestOrdering1Test] " + s);
26: }
27:
28: }
|