public static interface TestRegistry.RegisteredTest
Modifier and Type | Method and Description |
---|---|
Object |
createProxy(Object o)
Create a proxy object that wraps an target object for this test.
|
void |
instrument(Object target)
Instrument the given object.
|
void |
instrument(Object target,
Test.InstrumentationFilter filter)
Selectively instrument the given object.
|
Object createProxy(Object o) throws NotWrappableTypeException
o
- Object to wrap.NotWrappableTypeException
- If the target could not be wrapped.void instrument(Object target) throws NonInstrumentableTypeException
target
- The object to instrument.NonInstrumentableTypeException
- If the target could not be instrumented.void instrument(Object target, Test.InstrumentationFilter filter) throws NonInstrumentableTypeException
target
- The object to instrument.filter
- Selects the parts of target
to instrument.NonInstrumentableTypeException
- If the target could not be instrumented.Copyright © 2000-2014. All Rights Reserved.