Uses of Interface
org.jmock.api.Invokable
Packages that use Invokable
Package
Description
The jMock "Domain-Specific Embedded Language" API.
The stable API that is used to extend jMock at its published plug-in points.
These classes are tested in jmock-legacy to avoid a dependency on cglib and asm
This package contains internal implementation details.
Implementations of the core interfaces that are used to adjust or extend jMock's basic
functionality.
Actions that fake the behaviour of mocked invocations.
Classes to help test concurrent code with jMock.
Plugins that make it easier to use jMock with legacy code.
Plugins that make it easier to write custom actions by scripting their
behaviour with BeanShell.
-
Uses of Invokable in org.jmock
-
Uses of Invokable in org.jmock.api
Subinterfaces of Invokable in org.jmock.apiModifier and TypeInterfaceDescriptioninterface
An object that fakes the behaviour of anInvocationExpectation
.Methods in org.jmock.api that return InvokableMethods in org.jmock.api with parameters of type InvokableModifier and TypeMethodDescription<T> T
Imposteriser.imposterise
(Invokable mockObject, Class<T> mockedType, Class<?>... ancilliaryTypes) Creates an imposter for a given type that forwardsInvocation
s to anInvokable
object.ThreadingPolicy.synchroniseAccessTo
(Invokable mockObject) -
Uses of Invokable in org.jmock.imposters
Methods in org.jmock.imposters that return InvokableMethods in org.jmock.imposters with parameters of type InvokableModifier and TypeMethodDescription<T> T
ByteBuddyClassImposteriser.imposterise
(Invokable mockObject, Class<T> mockedType, Class<?>... ancilliaryTypes) static Object
ByteBuddyClassImposteriser.Interceptor.intercept
(Object receiver, Method method, Invokable invokable, Object[] args) private <T> T
ByteBuddyClassImposteriser.proxy
(Invokable mockObject, Class<T> mockedType, Class<?>... ancilliaryTypes) private Class<?>
ByteBuddyClassImposteriser.proxyClass
(Invokable mockObject, Class<?> mockedType, Class<?>... ancilliaryTypes) void
-
Uses of Invokable in org.jmock.internal
Classes in org.jmock.internal that implement InvokableModifier and TypeClassDescriptionclass
class
class
class
class
class
Returns a default value for the invoked method's result type.Fields in org.jmock.internal declared as InvokableModifier and TypeFieldDescriptionprivate final Invokable
FakeObjectMethods.next
private final Invokable
InvocationDiverter.next
Methods in org.jmock.internal that return InvokableMethods in org.jmock.internal with parameters of type InvokableConstructors in org.jmock.internal with parameters of type InvokableModifierConstructorDescriptionFakeObjectMethods
(Invokable next) InvocationDiverter
(Class<T> declaringType, T target, Invokable next) -
Uses of Invokable in org.jmock.lib
Methods in org.jmock.lib with parameters of type InvokableModifier and TypeMethodDescription<T> T
JavaReflectionImposteriser.imposterise
(Invokable mockObject, Class<T> mockedType, Class<?>... ancilliaryTypes) -
Uses of Invokable in org.jmock.lib.action
Classes in org.jmock.lib.action that implement InvokableModifier and TypeClassDescriptionclass
Returns the next of a sequence of elements each time it is invoked.class
A partial implementation of theAction
interface that makes it convenient to implement application-specific actions with inline anonymous classes.class
Performs multiple actions every time it is invoked.class
Returns anEnumeration
over a collection.class
Returns anIterator
over a collection.class
Returns a value.class
Throws an exception.class
Returns nothing from a void method. -
Uses of Invokable in org.jmock.lib.concurrent
Methods in org.jmock.lib.concurrent that return InvokableMethods in org.jmock.lib.concurrent with parameters of type InvokableModifier and TypeMethodDescriptionSynchroniser.synchroniseAccessTo
(Invokable mockObject) private 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 -
Uses of Invokable in org.jmock.lib.script
Classes in org.jmock.lib.script that implement InvokableModifier and TypeClassDescriptionclass