Uses of Interface
org.jmock.api.Action
-
Packages that use Action Package Description org.jmock The jMock "Domain-Specific Embedded Language" API.org.jmock.internal This package contains internal implementation details.org.jmock.lib.action Actions that fake the behaviour of mocked invocations.org.jmock.lib.script Plugins that make it easier to write custom actions by scripting their behaviour with BeanShell.org.jmock.syntax Interfaces that define jMock's Domain Specific Embedded Language. -
-
Uses of Action in org.jmock
Methods in org.jmock that return Action Modifier and Type Method Description static ActionAbstractExpectations. doAll(Action... actions)static 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)Methods in org.jmock with parameters of type Action Modifier and Type Method Description voidAbstractExpectations. buildExpectations(Action defaultAction, ExpectationCollector collector)static ActionAbstractExpectations. doAll(Action... actions)static ActionAbstractExpectations. onConsecutiveCalls(Action... actions)voidAbstractExpectations. will(Action action) -
Uses of Action in org.jmock.internal
Classes in org.jmock.internal that implement Action Modifier and Type Class Description classReturnDefaultValueActionReturns a default value for the invoked method's result type.Methods in org.jmock.internal with parameters of type Action Modifier and Type Method Description voidExpectationBuilder. buildExpectations(Action defaultAction, ExpectationCollector collector)voidInvocationExpectation. setAction(Action action)voidInvocationExpectationBuilder. setAction(Action action)voidInvocationExpectation. setDefaultAction(Action action)ExpectationInvocationExpectationBuilder. toExpectation(Action defaultAction)Constructors in org.jmock.internal with parameters of type Action Constructor Description InvocationToExpectationTranslator(ExpectationCapture capture, Action defaultAction) -
Uses of Action in org.jmock.lib.action
Classes in org.jmock.lib.action that implement Action Modifier and Type Class Description classActionSequenceReturns the next of a sequence of elements each time it is invoked.classCustomActionA partial implementation of theActioninterface that makes it convenient to implement application-specific actions with inline anonymous classes.classDoAllActionPerforms multiple actions every time it is invoked.classReturnEnumerationActionReturns anEnumerationover a collection.classReturnIteratorActionReturns anIteratorover a collection.classReturnValueActionReturns a value.classThrowActionThrows an exception.classVoidActionReturns nothing from a void method.Constructors in org.jmock.lib.action with parameters of type Action Constructor Description ActionSequence(Action... actions)DoAllAction(Action... actions) -
Uses of Action in org.jmock.lib.script
Classes in org.jmock.lib.script that implement Action Modifier and Type Class Description classScriptedAction -
Uses of Action in org.jmock.syntax
Methods in org.jmock.syntax with parameters of type Action Modifier and Type Method Description voidActionClause. will(Action action)
-