blob: 08c2498e5af3947ce92e05cd24bffae2329565df [file] [log] [blame]
package test.sample;
public class Basic1 {
static private int m_count = 0;
public static void incrementCount() {
m_count++;
}
public static int getCount() {
return m_count;
}
/**
* @testng.before-method
*/
public void beforeTestMethod() {
incrementCount();
}
/**
* @testng.test groups="basic1"
*/
public void basic1() {
assert getCount() > 0 : "COUNT WAS NOT INCREMENTED";
}
static private void ppp(String s) {
System.out.println("[Basic1] " + s);
}
}