1 package test.serviceloader; 2 3 import org.testng.IConfigurationListener; 4 import org.testng.ITestResult; 5 6 public class MyConfigurationListener implements IConfigurationListener { 7 8 @Override onConfigurationSuccess(ITestResult itr)9 public void onConfigurationSuccess(ITestResult itr) { 10 11 } 12 13 @Override onConfigurationFailure(ITestResult itr)14 public void onConfigurationFailure(ITestResult itr) { 15 16 } 17 18 @Override onConfigurationSkip(ITestResult itr)19 public void onConfigurationSkip(ITestResult itr) { 20 21 } 22 } 23