A B C L M N O R S T U V

A

addClassMultiRuleLoader(Statement, RunNotifier) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
 
addClassMultiScriptLoader(Statement, RunNotifier) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
 
addClassSingleRuleLoader(Statement, RunNotifier) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
 
addClassSingleScriptLoader(Statement, RunNotifier) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
 
addMethodMultiRuleLoader(Statement, FrameworkMethod) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
wrap the test method execution statement with the necessary load and unload calls if it has a BMRules annotation
addMethodMultiScriptLoader(Statement, FrameworkMethod) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
wrap the test method execution statement with the necessary load and unload calls if it has a BMScripts annotation
addMethodSingleRuleLoader(Statement, FrameworkMethod) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
wrap the test method execution statement with the necessary load and unload calls if it has a BMRule annotation
addMethodSingleScriptLoader(Statement, FrameworkMethod) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
wrap the test method execution statement with the necessary load and unload calls if it has a BMScript annotation
afterInvocation(IInvokedMethod, ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
 
AGENT_HOST - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnit
System property specifying the host to be used when starting the agent and when submitting rules to it.
AGENT_INHIBIT - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnit
System property which inhibits automatic loading of the agent.
AGENT_PORT - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnit
System property specifying the port to be used when starting the agent and when submitting rules to it.

B

beforeInvocation(IInvokedMethod, ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
 
BMNGAbstractRunner - Class in org.jboss.byteman.contrib.bmunit
An abstract class which provides the ability to load Byteman rules into TestNG style tests.
BMNGAbstractRunner() - Constructor for class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
 
bmngAfterClass(Class<?>) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
provides behaviour to unload rules specified via BMScript or BMRule annotations attached to the supplied test class.
bmngAfterClass() - Method in class org.jboss.byteman.contrib.bmunit.BMNGRunner
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.
bmngAfterTest(Method) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
provides behaviour to unload rules specified via annotations associated with a specific method of a test class.
bmngAfterTest(Method) - Method in class org.jboss.byteman.contrib.bmunit.BMNGRunner
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.
bmngBeforeClass(Class<?>) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
provides behaviour to load rules specified via BMScript or BMRule annotations attached to the supplied test class.
bmngBeforeClass() - Method in class org.jboss.byteman.contrib.bmunit.BMNGRunner
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.
bmngBeforeTest(Method) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
provides behaviour to load rules specified via annotations associated with a specific method of a test class.
bmngBeforeTest(Method) - Method in class org.jboss.byteman.contrib.bmunit.BMNGRunner
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.
BMNGListener - Class in org.jboss.byteman.contrib.bmunit
Class which provides the ability to run laod Byteman rules into TestNG style tests.
BMNGListener() - Constructor for class org.jboss.byteman.contrib.bmunit.BMNGListener
 
BMNGRunner - Class in org.jboss.byteman.contrib.bmunit
A TestNG runner class which can be subclassed by a test class in order to inherit the ability to process @BMRule and @BMScript annotations.
BMNGRunner() - Constructor for class org.jboss.byteman.contrib.bmunit.BMNGRunner
 
BMRule - Annotation Type in org.jboss.byteman.contrib.bmunit
Annotation to attach a Byteman rule to a class or method
BMRules - Annotation Type in org.jboss.byteman.contrib.bmunit
Annotation to attach multiple Byteman rules to a class or method
BMRunnerUtil - Class in org.jboss.byteman.contrib.bmunit
Class bundling sone utility ethods used by both JUnit and TestNG runner classes
BMRunnerUtil() - Constructor for class org.jboss.byteman.contrib.bmunit.BMRunnerUtil
 
BMScript - Annotation Type in org.jboss.byteman.contrib.bmunit
Annotation attached to a test class or a test method identifying a Byteman rule file to be loaded before running tests and unloaded after running tests.
BMScripts - Annotation Type in org.jboss.byteman.contrib.bmunit
Annotation attached to a test class or a test method identifying one or more Byteman rule files to be loaded before running tests and unloaded after running tests.
BMTestCase - Class in org.jboss.byteman.contrib.bmunit
A subclass of the JUnit test case class which looks for a byteman rule file with the same name as the test case and loads it during setup then removes it during teardown
BMTestCase(String, String) - Constructor for class org.jboss.byteman.contrib.bmunit.BMTestCase
 
BMTestCase(String) - Constructor for class org.jboss.byteman.contrib.bmunit.BMTestCase
 
BMTestCase() - Constructor for class org.jboss.byteman.contrib.bmunit.BMTestCase
 
BMUnit - Class in org.jboss.byteman.contrib.bmunit
Byteman Unit test manager class which provides support for loading and unloading scripts.
BMUnit() - Constructor for class org.jboss.byteman.contrib.bmunit.BMUnit
 
BMUnitRunner - Class in org.jboss.byteman.contrib.bmunit
Specialisation of the BlockJUnit4ClassRunner Runner class which can be attached to a text class using the @RunWith annotation.
BMUnitRunner(Class<?>) - Constructor for class org.jboss.byteman.contrib.bmunit.BMUnitRunner
Creates a BMUnitRunner to run test in klass

C

childrenInvoker(RunNotifier) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
 
computeBMScriptName(String, Method) - Static method in class org.jboss.byteman.contrib.bmunit.BMRunnerUtil
method which computes the name of the BMRules file for a method test if it is not supplied in the method annotation
computeBMScriptName(String) - Static method in class org.jboss.byteman.contrib.bmunit.BMRunnerUtil
method which computes the name of the BMRules file for a test class if it is not supplied in the class annotation
constructScriptText(BMRule[]) - Static method in class org.jboss.byteman.contrib.bmunit.BMRunnerUtil
construct the text of a rule script from a set of BMRule annotations

L

LOAD_DIRECTORY - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnit
System property which identifies the directory from which to start searching for rule script.
loadScriptFile(Class<?>, String) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
loads a script by calling loadScriptFile(clazz, null, dir)
loadScriptFile(Class<?>, String, String) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
loads a script from the load directory using the name of a unit test as the root name for the script file and ".btm" or, failing that, ".txt" for the file extension
loadScriptText(Class<?>, String, String) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
loads a script supplied as a text String rather than via a file on disk

M

methodInvoker(FrameworkMethod, Object) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
 

N

normaliseLoadDirectory(BMScript) - Static method in class org.jboss.byteman.contrib.bmunit.BMRunnerUtil
 

O

onFinish(ITestContext) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
 
onStart(ITestContext) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
 
onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
 
onTestFailure(ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
 
onTestSkipped(ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
 
onTestStart(ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
 
onTestSuccess(ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
 
org.jboss.byteman.contrib.bmunit - package org.jboss.byteman.contrib.bmunit
 

R

run(IHookCallBack, ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
implement standard run behaviour by devolving control back to the original runner using the hook callback

S

setUp() - Method in class org.jboss.byteman.contrib.bmunit.BMTestCase
 

T

tearDown() - Method in class org.jboss.byteman.contrib.bmunit.BMTestCase
 

U

unloadScriptFile(Class<?>, String) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
loads a script from the load directory using the name of a unit test as the root name for the script file and ".btm" or, failing that, ".txt" for the file extension
unloadScriptText(Class<?>, String) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
unloads a script previously supplied as a text String

V

VERBOSE - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnit
System property which enables tracing of bmunit activity

A B C L M N O R S T U V

Copyright © 2012. All Rights Reserved.