1 package test.enable; 2 3 import org.testng.annotations.AfterSuite; 4 import org.testng.annotations.BeforeSuite; 5 6 public abstract class Issue420BaseTestCase { 7 8 @BeforeSuite(alwaysRun = true) alwaysBeforeSuite()9 public static void alwaysBeforeSuite() {} 10 11 @BeforeSuite(alwaysRun = false) beforeSuite()12 public static void beforeSuite() {} 13 14 @AfterSuite(alwaysRun = false) afterSuite()15 public static void afterSuite() {} 16 17 @AfterSuite(alwaysRun = true) alwaysAfterSuite()18 public static void alwaysAfterSuite() {} 19 } 20