1 package test.v6; 2 3 import org.testng.annotations.AfterSuite; 4 import org.testng.annotations.AfterTest; 5 import org.testng.annotations.BeforeSuite; 6 import org.testng.annotations.BeforeTest; 7 import org.testng.annotations.Test; 8 9 public class C { 10 11 @BeforeTest beforeTest()12 public void beforeTest() {} 13 14 @AfterTest afterTest()15 public void afterTest() {} 16 17 @Test fc1()18 public void fc1() {} 19 20 @BeforeSuite beforeSuite()21 public void beforeSuite() {} 22 23 @AfterSuite afterSuite()24 public void afterSuite() {} 25 26 } 27