01: package test.triangle;
02:
03: /**
04: * This class
05: *
06: * @author cbeust
07: */
08: public class Base {
09: protected boolean m_isInitialized = false;
10:
11: /**
12: * @testng.before-suite
13: */
14: public void init() {
15: CountCalls.resetNumCalls();
16: }
17:
18: /**
19: *
20: * @testng.before-class
21: */
22: public void initBeforeTestClass() {
23: m_isInitialized = true;
24: }
25:
26: /**
27: * @testng.after-class
28: */
29: public void postAfterTestClass() {
30: CountCalls.incr();
31: }
32:
33: }
|