Uses of Interface
org.jmock.api.Invokable
-
Packages that use Invokable Package Description org.jmock The jMock "Domain-Specific Embedded Language" API.org.jmock.api The stable API that is used to extend jMock at its published plug-in points.org.jmock.imposters These classes are tested in jmock-legacy to avoid a dependency on cglib and asmorg.jmock.internal This package contains internal implementation details.org.jmock.lib Implementations of the core interfaces that are used to adjust or extend jMock's basic functionality.org.jmock.lib.action Actions that fake the behaviour of mocked invocations.org.jmock.lib.concurrent Classes to help test concurrent code with jMock.org.jmock.lib.legacy Plugins that make it easier to use jMock with legacy code.org.jmock.lib.script Plugins that make it easier to write custom actions by scripting their behaviour with BeanShell. -
-
Uses of Invokable in org.jmock
Classes in org.jmock that implement Invokable Modifier and Type Class Description private class
Mockery.MockObject
-
Uses of Invokable in org.jmock.api
Subinterfaces of Invokable in org.jmock.api Modifier and Type Interface Description interface
Action
An object that fakes the behaviour of anInvocationExpectation
.Methods in org.jmock.api that return Invokable Modifier and Type Method Description Invokable
ThreadingPolicy. synchroniseAccessTo(Invokable mockObject)
Methods in org.jmock.api with parameters of type Invokable Modifier and Type Method Description <T> T
Imposteriser. imposterise(Invokable mockObject, java.lang.Class<T> mockedType, java.lang.Class<?>... ancilliaryTypes)
Creates an imposter for a given type that forwardsInvocation
s to anInvokable
object.Invokable
ThreadingPolicy. synchroniseAccessTo(Invokable mockObject)
-
Uses of Invokable in org.jmock.imposters
Methods in org.jmock.imposters that return Invokable Modifier and Type Method Description Invokable
ByteBuddyClassImposteriser.InjectInvokable. getJMock()
Methods in org.jmock.imposters with parameters of type Invokable Modifier and Type Method Description <T> T
ByteBuddyClassImposteriser. imposterise(Invokable mockObject, java.lang.Class<T> mockedType, java.lang.Class<?>... ancilliaryTypes)
static java.lang.Object
ByteBuddyClassImposteriser.Interceptor. intercept(java.lang.Object receiver, java.lang.reflect.Method method, Invokable invokable, java.lang.Object[] args)
private <T> T
ByteBuddyClassImposteriser. proxy(Invokable mockObject, java.lang.Class<T> mockedType, java.lang.Class<?>... ancilliaryTypes)
private java.lang.Class<?>
ByteBuddyClassImposteriser. proxyClass(Invokable mockObject, java.lang.Class<?> mockedType, java.lang.Class<?>... ancilliaryTypes)
void
ByteBuddyClassImposteriser.InjectInvokable. setJMock(Invokable invokable)
-
Uses of Invokable in org.jmock.internal
Classes in org.jmock.internal that implement Invokable Modifier and Type Class Description class
FakeObjectMethods
class
InvocationDiverter<T>
class
InvocationToExpectationTranslator
class
ObjectMethodExpectationBouncer
class
ProxiedObjectIdentity
class
ReturnDefaultValueAction
Returns a default value for the invoked method's result type.Fields in org.jmock.internal declared as Invokable Modifier and Type Field Description private Invokable
FakeObjectMethods. next
private Invokable
InvocationDiverter. next
Methods in org.jmock.internal that return Invokable Modifier and Type Method Description Invokable
SingleThreadedPolicy. synchroniseAccessTo(Invokable mockObject)
Methods in org.jmock.internal with parameters of type Invokable Modifier and Type Method Description Invokable
SingleThreadedPolicy. synchroniseAccessTo(Invokable mockObject)
Constructors in org.jmock.internal with parameters of type Invokable Constructor Description FakeObjectMethods(Invokable next)
InvocationDiverter(java.lang.Class<T> declaringType, T target, Invokable next)
ObjectMethodExpectationBouncer(Invokable next)
ProxiedObjectIdentity(Invokable next)
-
Uses of Invokable in org.jmock.lib
Methods in org.jmock.lib with parameters of type Invokable Modifier and Type Method Description <T> T
JavaReflectionImposteriser. imposterise(Invokable mockObject, java.lang.Class<T> mockedType, java.lang.Class<?>... ancilliaryTypes)
-
Uses of Invokable in org.jmock.lib.action
Classes in org.jmock.lib.action that implement Invokable Modifier and Type Class Description class
ActionSequence
Returns the next of a sequence of elements each time it is invoked.class
CustomAction
A partial implementation of theAction
interface that makes it convenient to implement application-specific actions with inline anonymous classes.class
DoAllAction
Performs multiple actions every time it is invoked.class
ReturnEnumerationAction
Returns anEnumeration
over a collection.class
ReturnIteratorAction
Returns anIterator
over a collection.class
ReturnValueAction
Returns a value.class
ThrowAction
Throws an exception.class
VoidAction
Returns nothing from a void method. -
Uses of Invokable in org.jmock.lib.concurrent
Methods in org.jmock.lib.concurrent that return Invokable Modifier and Type Method Description Invokable
Synchroniser. synchroniseAccessTo(Invokable mockObject)
Methods in org.jmock.lib.concurrent with parameters of type Invokable Modifier and Type Method Description Invokable
Synchroniser. synchroniseAccessTo(Invokable mockObject)
private java.lang.Object
Synchroniser. synchroniseInvocation(Invokable mockObject, Invocation invocation)
-
Uses of Invokable in org.jmock.lib.legacy
Methods in org.jmock.lib.legacy with parameters of type Invokable Modifier and Type Method Description <T> T
ClassImposteriser. imposterise(Invokable mockObject, java.lang.Class<T> mockedType, java.lang.Class<?>... ancilliaryTypes)
Deprecated.private java.lang.Object
ClassImposteriser. proxy(java.lang.Class<?> proxyClass, Invokable mockObject)
Deprecated. -
Uses of Invokable in org.jmock.lib.script
Classes in org.jmock.lib.script that implement Invokable Modifier and Type Class Description class
ScriptedAction
-