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 BeforeTestOrdering2Test extends BaseBeforeTestOrdering {
08:
09: @BeforeTest
10: public void bt2() {
11: log("bt2");
12: }
13:
14: @AfterTest
15: public void at2() {
16: log("at2");
17: }
18:
19: @Test
20: public void f2() {
21: log("f2");
22: }
23:
24: private static void ppp(String s) {
25: System.out.println("[BeforeTestOrdering2Test] " + s);
26: }
27:
28: }
|