blob: 2fb61f7cf2748dec57d4bee422a1dc64b36b6c36 [file] [log] [blame]
package test.configuration;
import org.testng.Assert;
import org.testng.annotations.BeforeGroups;
public class Base3 {
static private boolean m_before = false;
/**
* @return the m_before
*/
public static boolean getBefore() {
return m_before;
}
@BeforeGroups("cg34-1")
public void anotherBefore1() {
log("anotherBefore1");
Assert.assertFalse(m_before);
Assert.assertFalse(ConfigurationGroups3SampleTest.getF1());
m_before = true;
}
private void log(String string) {
ppp(string);
}
private void ppp(String s) {
if (false) {
System.out.println("[Base3] " + s);
}
}
}