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