org.jboss.byteman.contrib.bmunit
Class BMNGRunner

java.lang.Object
  extended by org.jboss.byteman.contrib.bmunit.BMNGRunner
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

public class BMNGRunner
extends java.lang.Object
implements org.testng.IHookable

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.


Constructor Summary
BMNGRunner()
           
 
Method Summary
 void bmngAfterClass()
           
 void bmngAfterTest(java.lang.reflect.Method method)
           
 void bmngBeforeClass()
           
 void bmngBeforeTest(java.lang.reflect.Method method)
           
 void run(org.testng.IHookCallBack callBack, org.testng.ITestResult testResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BMNGRunner

public BMNGRunner()
Method Detail

run

public void run(org.testng.IHookCallBack callBack,
                org.testng.ITestResult testResult)
Specified by:
run in interface org.testng.IHookable

bmngBeforeClass

public void bmngBeforeClass()
                     throws java.lang.Exception
Throws:
java.lang.Exception

bmngAfterClass

public void bmngAfterClass()
                    throws java.lang.Exception
Throws:
java.lang.Exception

bmngBeforeTest

public void bmngBeforeTest(java.lang.reflect.Method method)
                    throws java.lang.Exception
Throws:
java.lang.Exception

bmngAfterTest

public void bmngAfterTest(java.lang.reflect.Method method)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011. All Rights Reserved.