01: package test.uniquesuite;
02:
03: import org.testng.annotations.AfterSuite;
04: import org.testng.annotations.BeforeSuite;
05:
06: public class BaseAfter {
07: public static int m_afterCount = 0;
08:
09: @BeforeSuite
10: public void beforeSuite() {
11: m_afterCount = 0;
12: }
13:
14: @AfterSuite
15: public void incrementAfter() {
16: m_afterCount++;
17: }
18:
19: private static void ppp(String s) {
20: System.out.println("[BaseAfter] " + s);
21: }
22: }
|