• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package test.configuration;
2 
3 import org.testng.Assert;
4 import org.testng.annotations.BeforeGroups;
5 
6 public class Base3 {
7 
8   static private boolean m_before = false;
9 
10   /**
11    * @return the m_before
12    */
getBefore()13   public static boolean getBefore() {
14     return m_before;
15   }
16 
17   @BeforeGroups("cg34-1")
anotherBefore1()18   public void anotherBefore1() {
19     log("anotherBefore1");
20     Assert.assertFalse(m_before);
21     Assert.assertFalse(ConfigurationGroups3SampleTest.getF1());
22     m_before = true;
23   }
24 
log(String string)25   private void log(String string) {
26     ppp(string);
27   }
28 
ppp(String s)29   private void ppp(String s) {
30     if (false) {
31       System.out.println("[Base3] " + s);
32     }
33   }
34 
35 }
36