- 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
- 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