public abstract class BMNGAbstractRunner
extends java.lang.Object
implements org.testng.IHookable
| Constructor and Description |
|---|
BMNGAbstractRunner() |
| Modifier and Type | Method and Description |
|---|---|
void |
bmngAfterClass(java.lang.Class<?> testKlazz)
provides behaviour to unload rules specified via BMScript or BMRule annotations
attached to the supplied test class.
|
void |
bmngAfterTest(java.lang.reflect.Method method)
provides behaviour to unload rules specified via annotations associated with a specific
method of a test class.
|
void |
bmngBeforeClass(java.lang.Class<?> testKlazz)
provides behaviour to load rules specified via BMScript or BMRule annotations
attached to the supplied test class.
|
void |
bmngBeforeTest(java.lang.reflect.Method method)
provides behaviour to load rules specified via annotations associated with a specific
method of a test class.
|
void |
run(org.testng.IHookCallBack callBack,
org.testng.ITestResult testResult)
implement standard run behaviour by devolving control back to the original runner
using the hook callback
|
public void run(org.testng.IHookCallBack callBack,
org.testng.ITestResult testResult)
run in interface org.testng.IHookablecallBack - testResult - public void bmngBeforeClass(java.lang.Class<?> testKlazz)
throws java.lang.Exception
testKlazz - java.lang.Exceptionpublic void bmngAfterClass(java.lang.Class<?> testKlazz)
throws java.lang.Exception
java.lang.Exceptionpublic void bmngBeforeTest(java.lang.reflect.Method method)
throws java.lang.Exception
method - the test method about to be runjava.lang.Exceptionpublic void bmngAfterTest(java.lang.reflect.Method method)
throws java.lang.Exception
method - the test method about to be runjava.lang.ExceptionCopyright © 2013. All Rights Reserved.