org.jboss.byteman.contrib.bmunit
Class BMNGListener
java.lang.Object
org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
org.jboss.byteman.contrib.bmunit.BMNGListener
- All Implemented Interfaces:
- org.testng.IHookable, org.testng.IInvokedMethodListener, org.testng.ITestListener, org.testng.ITestNGListener
public class BMNGListener
- extends BMNGAbstractRunner
- implements org.testng.IInvokedMethodListener, org.testng.ITestListener
Class which provides the ability to run laod Byteman rules into TestNG style tests.
A class which inherits from this class will inherit theability to have BMScript and BMRule
annotations processed during testing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BMNGListener
public BMNGListener()
beforeInvocation
public void beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult)
- Specified by:
beforeInvocation
in interface org.testng.IInvokedMethodListener
afterInvocation
public void afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult)
- Specified by:
afterInvocation
in interface org.testng.IInvokedMethodListener
onTestStart
public void onTestStart(org.testng.ITestResult result)
- Specified by:
onTestStart
in interface org.testng.ITestListener
onTestSuccess
public void onTestSuccess(org.testng.ITestResult result)
- Specified by:
onTestSuccess
in interface org.testng.ITestListener
onTestFailure
public void onTestFailure(org.testng.ITestResult result)
- Specified by:
onTestFailure
in interface org.testng.ITestListener
onTestSkipped
public void onTestSkipped(org.testng.ITestResult result)
- Specified by:
onTestSkipped
in interface org.testng.ITestListener
onTestFailedButWithinSuccessPercentage
public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result)
- Specified by:
onTestFailedButWithinSuccessPercentage
in interface org.testng.ITestListener
onStart
public void onStart(org.testng.ITestContext context)
- Specified by:
onStart
in interface org.testng.ITestListener
onFinish
public void onFinish(org.testng.ITestContext context)
- Specified by:
onFinish
in interface org.testng.ITestListener
Copyright © 2012. All Rights Reserved.