Base.java revision 892b08c1f1afd198fd8ccbf804de28b7ce12f547
1package test.triangle;
2
3import org.testng.annotations.AfterClass;
4import org.testng.annotations.BeforeClass;
5import org.testng.annotations.BeforeSuite;
6
7/**
8 * This class
9 *
10 * @author cbeust
11 */
12public class Base {
13  protected boolean m_isInitialized = false;
14
15  @BeforeSuite
16  public void beforeSuite() {
17    CountCalls.numCalls = 0;
18  }
19
20  @BeforeClass
21  public void initBeforeTestClass() {
22    m_isInitialized = true;
23  }
24
25  @AfterClass
26  public void postAfterTestClass() {
27    CountCalls.incr();
28  }
29
30  private static void ppp(String s) {
31    System.out.println("[Base] " + s);
32  }
33}
34