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