blob: 926a3fe519917434c7a027225313e6cf61fe89e2 [file] [log] [blame]
package test.multiple;
import static org.testng.Assert.assertTrue;
import org.testng.annotations.Configuration;
import org.testng.annotations.Test;
public class Test1 {
private static int m_count = 0;
@Test
public void f1() {
// ppp("INVOKING f1 " + m_count);
assertTrue(m_count < 1, "FAILING");
m_count++;
}
@Configuration(afterTest=true)
public void cleanUp() {
m_count = 0;
}
private static void ppp(String s) {
System.out.println("[Test1] " + s);
}
}