A B C D E F G H I L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- action() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- 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.
- AGENT_VERSION - Static variable in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
-
system property set by the agent to advertise the version of the loaded agent
- agentHost() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
agentHost specifies the hostname which will be used when opening a client connection to the Byteman agent listener.
- agentPort() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
agentPort specifies the port which will be used when opening a client connection to the Byteman agent listener.
- allowAgentConfigUpdate() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
allowAgentConfigUpdate determines whether or not the various Byteman property settings specified when the agent is uploaded can be reconfigured while the agent is running.
B
- beforeInvocation(IInvokedMethod, ITestResult) - Method in class org.jboss.byteman.contrib.bmunit.BMNGListener
- binding() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- 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() - 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.
- 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.
- 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() - 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.
- 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.
- 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() - Constructor for class org.jboss.byteman.contrib.bmunit.BMTestCase
- BMTestCase(String) - Constructor for class org.jboss.byteman.contrib.bmunit.BMTestCase
- BMTestCase(String, String) - 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 - bmunitVerbose() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
bmunitVerbose configures the BMUnit verbose setting which controls printing of trace related to the operation of the BMUnit package
- 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) - 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
- 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
- condition() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- 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
- debug() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
debug configures the Byteman debug setting which controls printing of debug trace statements embedded in Byteman rules
- 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.
- dir() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMScript
- dumpGeneratedClasses() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
dumpGeneratedClasses configures whether or not the Byteman agent dumps transformed bytecode to a class file.
- dumpGeneratedClassesDirectory() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
dumpGeneratedClassesDirectory identifies a directory path to locate the root directory for class files created when the Byteman agent dumps transformed bytecode to a class file.
- dumpGeneratedClassesIntermediate() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
dumpGeneratedClassesIntermediate configures whether or not the Byteman agent dumps intermediate versions of transformed bytecode to a class file.
E
- enforce() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
if enforce is true then every element of the configuration specified in the annotation must be configured as specified and if it cannot be so configured (or reconfigured) then an exception will be thrown by the test runner.
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
H
I
- inhibitAgentLoad() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
inhibitAgentLoad requests that the Byteman agent not be auto-loaded into the current JVM on behalf of this test.
- 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
- isInterface() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- isOverriding() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- 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.
- loadDirectory() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
loadDirectory identifies a directory relative to which rule rule script files should be loaded.
- 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
- name() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- 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
- policy() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
policy configures whether or not to set a security policy when loading the agent.
- 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(Class<?>) - Static method in class org.jboss.byteman.contrib.bmunit.BMUnitConfigState
- resetConfigurationState(Method) - 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.
- resourceLoadDirectory() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
resourceLoadDirectory identifies a resource path relative to which rule script resources should be loaded.
- rules() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRules
- 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
- scripts() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMScripts
- setUp() - Method in class org.jboss.byteman.contrib.bmunit.BMTestCase
- switchClass(Class) - Method in class org.jboss.byteman.contrib.bmunit.BMNGAbstractRunner
T
- targetClass() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- targetLocation() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- targetMethod() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMRule
- 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
- value() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMScript
- verbose() - Method in annotation type org.jboss.byteman.contrib.bmunit.BMUnitConfig
-
verbose configures the Byteman verbose setting which controls printing of trace related to the operation of Byteman
- 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.
All Classes All Packages