01: package test.access;
02:
03: import test.BasePrivateAccessConfigurationMethods;
04:
05: public class BaseSamePackagePrivateAccessConfigurationMethods extends
06: BasePrivateAccessConfigurationMethods {
07: protected boolean m_samePackagePublic = true;
08: protected boolean m_samePackageProtected = false;
09: protected boolean m_samePackageDefault = false;
10: protected boolean m_samePackagePrivate = true;
11:
12: /**
13: * @testng.before-method
14: */
15: void sameDefaultConfBeforeMethod() {
16: m_samePackageDefault = true;
17: }
18:
19: /**
20: * @testng.before-method
21: */
22: protected void sameProtectedConfBeforeMethod() {
23: m_samePackageProtected = true;
24: }
25:
26: /**
27: * @testng.before-method
28: */
29: private void samePrivateConfBeforeMethod() {
30: m_samePackagePrivate = false;
31: }
32:
33: /**
34: * @testng.before-method
35: */
36: public void samePublicConfBeforeMethod() {
37: m_samePackagePublic = true;
38: }
39: }
|