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
|
void |
switchClass(java.lang.Class newClazz) |
public void run(org.testng.IHookCallBack callBack,
org.testng.ITestResult testResult)
run in interface org.testng.IHookablecallBack - not usedtestResult - used to post resultspublic void bmngBeforeClass(java.lang.Class<?> testKlazz)
throws java.lang.Exception
testKlazz - the class whose tests are being runjava.lang.Exception - if the test cannot be runpublic void bmngAfterClass(java.lang.Class<?> testKlazz)
throws java.lang.Exception
testKlazz - the class whose tests are being runjava.lang.Exception - if cleanup failspublic void bmngBeforeTest(java.lang.reflect.Method method)
throws java.lang.Exception
method - the test method about to be runjava.lang.Exception - if the test cannot be runpublic void bmngAfterTest(java.lang.reflect.Method method)
throws java.lang.Exception
method - the test method about to be runjava.lang.Exception - if the test cannot be runpublic void switchClass(java.lang.Class newClazz)
Copyright © 2015. All Rights Reserved.