Uses of Interface
org.jmock.api.Action
Packages that use Action
Package
Description
The jMock "Domain-Specific Embedded Language" API.
This package contains internal implementation details.
Actions that fake the behaviour of mocked invocations.
Plugins that make it easier to write custom actions by scripting their
behaviour with BeanShell.
Interfaces that define jMock's Domain Specific Embedded Language.
-
Uses of Action in org.jmock
Modifier and TypeMethodDescriptionstatic Actionstatic ActionAbstractExpectations.onConsecutiveCalls(Action... actions) static ActionAbstractExpectations.returnEnumeration(Collection<?> collection) static <T> ActionAbstractExpectations.returnEnumeration(T... items) static ActionAbstractExpectations.returnIterator(Collection<?> collection) static <T> ActionAbstractExpectations.returnIterator(T... items) static ActionAbstractExpectations.returnValue(Object result) static ActionAbstractExpectations.throwException(Throwable throwable) Modifier and TypeMethodDescriptionvoidAbstractExpectations.buildExpectations(Action defaultAction, ExpectationCollector collector) static Actionstatic ActionAbstractExpectations.onConsecutiveCalls(Action... actions) void -
Uses of Action in org.jmock.internal
Classes in org.jmock.internal that implement ActionModifier and TypeClassDescriptionclassReturns a default value for the invoked method's result type.Fields in org.jmock.internal declared as ActionModifier and TypeFieldDescriptionprivate ActionInvocationExpectation.actionprivate ActionInvocationToExpectationTranslator.defaultActionMethods in org.jmock.internal with parameters of type ActionModifier and TypeMethodDescriptionvoidExpectationBuilder.buildExpectations(Action defaultAction, ExpectationCollector collector) voidvoidvoidInvocationExpectation.setDefaultAction(Action action) InvocationExpectationBuilder.toExpectation(Action defaultAction) Constructors in org.jmock.internal with parameters of type ActionModifierConstructorDescriptionInvocationToExpectationTranslator(ExpectationCapture capture, Action defaultAction) -
Uses of Action in org.jmock.lib.action
Classes in org.jmock.lib.action that implement ActionModifier and TypeClassDescriptionclassReturns the next of a sequence of elements each time it is invoked.classA partial implementation of theActioninterface that makes it convenient to implement application-specific actions with inline anonymous classes.classPerforms multiple actions every time it is invoked.classReturns anEnumerationover a collection.classReturns anIteratorover a collection.classReturns a value.classThrows an exception.classReturns nothing from a void method.Fields in org.jmock.lib.action declared as ActionFields in org.jmock.lib.action with type parameters of type ActionConstructors in org.jmock.lib.action with parameters of type Action -
Uses of Action in org.jmock.lib.script
Classes in org.jmock.lib.script that implement ActionModifier and TypeClassDescriptionclass -
Uses of Action in org.jmock.syntax
Methods in org.jmock.syntax with parameters of type Action