|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
public abstract class BMNGAbstractRunner
An abstract class which provides the ability to load Byteman rules into TestNG style tests. The two subclasses of this class support the two alternative models for mixing Byteman capability into TestNG test classes.
Constructor Summary | |
---|---|
BMNGAbstractRunner()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BMNGAbstractRunner()
Method Detail |
---|
public void run(org.testng.IHookCallBack callBack, org.testng.ITestResult testResult)
run
in interface org.testng.IHookable
callBack
- testResult
- public void bmngBeforeClass(java.lang.Class<?> testKlazz) throws java.lang.Exception
testKlazz
-
java.lang.Exception
public void bmngAfterClass(java.lang.Class<?> testKlazz) throws java.lang.Exception
java.lang.Exception
public void bmngBeforeTest(java.lang.reflect.Method method) throws java.lang.Exception
method
- the test method about to be run
java.lang.Exception
public void bmngAfterTest(java.lang.reflect.Method method) throws java.lang.Exception
method
- the test method about to be run
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |