|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
org.jboss.byteman.contrib.bmunit.BMNGRunner
public class BMNGRunner
A TestNG runner class which can be subclassed by a test class in order to inherit the ability to process @BMRule and @BMScript annotations.
Constructor Summary | |
---|---|
BMNGRunner()
|
Method Summary | |
---|---|
void |
bmngAfterClass()
method inherited by a subclass and recognized by TestNG which ensures that Byteman rules specified using @BMRule or @BMScript annotations attached to the subclass are unloaded automatically after executing all of its test methods. |
void |
bmngAfterTest(java.lang.reflect.Method method)
method inherited by a subclass and recognized by TestNG which ensures that Byteman rules specified using @BMRule or @BMScript annotations attached to a test method are unloaded automatically before executing the method. |
void |
bmngBeforeClass()
method inherited by a subclass and recognized by TestNG which ensures that Byteman rules specified using @BMRule or @BMScript annotations attached to the subclass are loaded automatically before executing any of its test methods. |
void |
bmngBeforeTest(java.lang.reflect.Method method)
method inherited by a subclass and recognized by TestNG which ensures that Byteman rules specified using @BMRule or @BMScript annotations attached to a test method are unloaded automatically before executing the method. |
Methods inherited from class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner |
---|
bmngAfterClass, bmngBeforeClass, run |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BMNGRunner()
Method Detail |
---|
public void bmngBeforeClass() throws java.lang.Exception
java.lang.Exception
public void bmngAfterClass() throws java.lang.Exception
java.lang.Exception
public void bmngBeforeTest(java.lang.reflect.Method method) throws java.lang.Exception
bmngBeforeTest
in class BMNGAbstractRunner
method
- the test method about to be run
java.lang.Exception
public void bmngAfterTest(java.lang.reflect.Method method) throws java.lang.Exception
bmngAfterTest
in class BMNGAbstractRunner
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 |