01: package test;
02:
03: public class BasePrivateAccessConfigurationMethods {
04: protected boolean m_baseProtected = false;
05: protected boolean m_baseDefault = true;
06: protected boolean m_basePrivate = true;
07: protected boolean m_basePublic = true;
08:
09: /**
10: * @testng.before-method
11: */
12: void baseDefaultConfBeforeMethod() {
13: m_baseDefault = false;
14: }
15:
16: /**
17: * @testng.before-method
18: */
19: protected void baseProtectedConfBeforeMethod() {
20: m_baseProtected = true;
21: }
22:
23: /**
24: * @testng.before-method
25: */
26: private void basePrivateConfBeforeMethod() {
27: m_basePrivate = false;
28: }
29:
30: /**
31: * @testng.before-method
32: */
33: public void basePublicConfBeforeMethod() {
34: m_basePublic = true;
35: }
36: }
|