A B C D F G I L M N O P R S T U V 

A

addClassConfigLoader(Statement, RunNotifier) - Method in class org.jboss.byteman.contrib.bmunit.BMUnitRunner
 
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
 
addMethodConfigLoader(Statement, FrameworkMethod) - 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.BMUnitConfigState
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.BMUnitConfigState
System property which inhibits automatic loading of the agent.
AGENT_POLICY - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
System property specifying whether to set a security policy when loading the agent.
AGENT_PORT - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
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 load 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
 
BMUNIT_VERBOSE - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
System property which enables tracing of bmunit activity
BMUnitConfig - Annotation Type in org.jboss.byteman.contrib.bmunit
annotation to allow configuration of BMUnit operation directly from test classes rather than via use of system variables a BMUnitConfig annotation may be attached to a test method (or test class) to specify the BMUnit and Byteman configuration which should be employed when the associated test(s) is (are) run.
BMUnitConfigState - Class in org.jboss.byteman.contrib.bmunit
class used to model a specific BMUnit configuration
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
BYTEMAN_ALLOW_CONFIG_UPDATE - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
System property which enables tracing of Byteman activity
BYTEMAN_DEBUG - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
System property which enables printing of Byteman rule debug statements
BYTEMAN_DUMP_GENERATED_CLASSES - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
System property which enables dumping of generated classes
BYTEMAN_DUMP_GENERATED_CLASSES_DIRECTORY - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
System property which configures directory path for files used for dumping of generated classes
BYTEMAN_DUMP_GENERATED_CLASSES_INTERMEDIATE - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
System property which configures dumping of intermediate versions of generated classes
BYTEMAN_VERBOSE - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
System property which enables tracing of Byteman activity

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
currentConfigState() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
 

D

defaultConfigState - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
a default configuration state used when a test class does not specify a configuration state.

F

findScript(String, String) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
Tries to find dir/name in the working directory.
findScript(String, String...) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
 

G

getCurrentConfigState() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
the global configuration state which configures the operation of BMUnit when running tests in a specific class or a method in that class.
getDumpGeneratedClassesDirectory() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
smart getter for current dumpGeneratedClassesDirectory setting which only returns a directory when dumpGeneratedClasses is set in which case it uses any current setting but delegates to previous if no value has been set.
getHost() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
getter for the host name used to communicate with the agent
getHost() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
getter for currently configured agent host setting
getLoadDirectory() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
getter for the load directory
getLoadDirectory() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
getter for currently configured load directory setting
getPolicy() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
getter for the security policy setting
getPort() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
getter for the port used to communicate with the agent
getPort() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
getter for currently configured agent port setting
getResourceLoadDirectory() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
getter for the resource load directory
getResourceLoadDirectory() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
getter for currently configured resource directory setting

I

isAllowConfigUpdate() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
getter for the allowAgentConfigUpdate setting
isAllowConfigUpdate() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
smart getter for currently configured allowAgentConfigUpdate setting which redirects through to the previous config to ensure that we employ the setting used for the initial agent load
isBMUnitVerbose() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
getter for the BMUnit verbose setting
isBMUnitVerbose() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
getter for currently configured BMUnit verbose setting
isDebug() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
getter for the Byteman debug setting
isDebug() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
smart getter for currently configured Byteman debug setting which redirects through to the previous config if config updates are not allowed but otherwise returns the currently configured Byteman debug setting
isDumpGeneratedClasses() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
getter for current dumpGeneratedClasses setting
isDumpGeneratedClassesIntermediate() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
smart getter for current dumpGeneratedClassesIntermediate setting which only returns the attribute setting if dumpGeneratedClasses has also been set.
isInhibitAgentLoad() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
smart getter for currently configured inhibitAgentLoad setting which redirects through to the previous config to ensure that we employ the setting used for the initial agent load
isPolicy() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
smart getter for currently configured policy setting which redirects through to the previous config to ensure that we employ the setting used for the initial agent load
isVerbose() - Static method in class org.jboss.byteman.contrib.bmunit.BMUnit
getter for the Byteman verbose setting
isVerbose() - Method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
smart getter for currently configured Byteman verbose setting which redirects through to the previous config if config updates are not allowed but otherwise returns the currently configured Byteman verbose setting

L

LOAD_DIRECTORY - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
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
 

P

popConfigurationState(Class<?>) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
 
popConfigurationState(Method) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
 
pushConfigurationState(BMUnitConfig, Class<?>) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
install the configuration for a specific test class, possibly also adopting it as the default configuration this method is not thread-safe.
pushConfigurationState(BMUnitConfig, Method) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
 

R

resetConfigurationState(Method) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
 
resetConfigurationState(Class<?>) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
 
RESOURCE_LOAD_DIRECTORY - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
System property which identifies the resource load directory from which to start searching for rule script.
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
 
switchClass(Class) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
 

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.BMUnitConfigState
this is only provided for backward compatibility in case some app was using this constant string to configure the required property.
A B C D F G I L M N O P R S T U V 

Copyright © 2015. All Rights Reserved.