1 package test.uniquesuite; 2 3 import org.testng.annotations.AfterSuite; 4 import org.testng.annotations.BeforeSuite; 5 6 public class BaseBefore { 7 public static int m_beforeCount = 0; 8 public static int m_afterCount = 0; 9 10 @BeforeSuite incrementBefore()11 public void incrementBefore() { 12 m_beforeCount++; 13 } 14 15 @AfterSuite incrementAfter()16 public void incrementAfter() { 17 m_afterCount++; 18 } 19 ppp(String s)20 private static void ppp(String s) { 21 System.out.println("[Base] " + s); 22 } 23 } 24