Class LightAirNGListener
java.lang.Object
net.sf.lightair.LightAirNGListener
- All Implemented Interfaces:
org.testng.IInvokedMethodListener, org.testng.ITestListener, org.testng.ITestNGListener
public class LightAirNGListener
extends Object
implements org.testng.IInvokedMethodListener, org.testng.ITestListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterInvocation(org.testng.IInvokedMethod iInvokedMethod, org.testng.ITestResult iTestResult) Method executed after every test method handling db verificationvoidbeforeInvocation(org.testng.IInvokedMethod iInvokedMethod, org.testng.ITestResult iTestResult) Method executed before every test method handling db setup and base url for JWebUnitvoidonFinish(org.testng.ITestContext iTestContext) voidonStart(org.testng.ITestContext iTestContext) voidonTestFailedButWithinSuccessPercentage(org.testng.ITestResult iTestResult) voidonTestFailure(org.testng.ITestResult iTestResult) voidonTestSkipped(org.testng.ITestResult iTestResult) voidonTestStart(org.testng.ITestResult iTestResult) voidonTestSuccess(org.testng.ITestResult iTestResult) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.testng.IInvokedMethodListener
afterInvocation, beforeInvocationMethods inherited from interface org.testng.ITestListener
onTestFailedWithTimeoutMethods inherited from interface org.testng.ITestNGListener
isEnabled
-
Constructor Details
-
LightAirNGListener
public LightAirNGListener()
-
-
Method Details
-
beforeInvocation
public void beforeInvocation(org.testng.IInvokedMethod iInvokedMethod, org.testng.ITestResult iTestResult) Method executed before every test method handling db setup and base url for JWebUnit- Specified by:
beforeInvocationin interfaceorg.testng.IInvokedMethodListener
-
afterInvocation
public void afterInvocation(org.testng.IInvokedMethod iInvokedMethod, org.testng.ITestResult iTestResult) Method executed after every test method handling db verification- Specified by:
afterInvocationin interfaceorg.testng.IInvokedMethodListener
-
onFinish
public void onFinish(org.testng.ITestContext iTestContext) - Specified by:
onFinishin interfaceorg.testng.ITestListener
-
onTestStart
public void onTestStart(org.testng.ITestResult iTestResult) - Specified by:
onTestStartin interfaceorg.testng.ITestListener
-
onTestSuccess
public void onTestSuccess(org.testng.ITestResult iTestResult) - Specified by:
onTestSuccessin interfaceorg.testng.ITestListener
-
onTestFailure
public void onTestFailure(org.testng.ITestResult iTestResult) - Specified by:
onTestFailurein interfaceorg.testng.ITestListener
-
onTestSkipped
public void onTestSkipped(org.testng.ITestResult iTestResult) - Specified by:
onTestSkippedin interfaceorg.testng.ITestListener
-
onTestFailedButWithinSuccessPercentage
public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult iTestResult) - Specified by:
onTestFailedButWithinSuccessPercentagein interfaceorg.testng.ITestListener
-
onStart
public void onStart(org.testng.ITestContext iTestContext) - Specified by:
onStartin interfaceorg.testng.ITestListener
-