Package | Description |
---|---|
org.easymock | |
org.easymock.internal |
Modifier and Type | Field and Description |
---|---|
static Range |
MockControl.ONE
Deprecated.
Exactly one call.
|
static Range |
MockControl.ONE_OR_MORE
Deprecated.
One or more calls.
|
static Range |
MockControl.ZERO_OR_MORE
Deprecated.
Zero or more calls.
|
Modifier and Type | Method and Description |
---|---|
void |
MockControl.expectAndReturn(int ignored,
int value,
Range range)
Deprecated.
|
<V1,V2 extends V1> |
MockControl.expectAndReturn(V1 ignored,
V2 value,
Range range)
Deprecated.
|
void |
MockControl.expectAndThrow(java.lang.Object ignored,
java.lang.Throwable throwable,
Range range)
Deprecated.
|
void |
MockControl.setReturnValue(java.lang.Object value,
Range range)
Deprecated.
Records that the mock object will expect the last method call a fixed
number of times, and will react by returning the provided return value.
|
void |
MockControl.setThrowable(java.lang.Throwable throwable,
Range range)
Deprecated.
|
void |
MockControl.setVoidCallable(Range range)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static Range |
MocksControl.AT_LEAST_ONCE
One or more calls.
|
static Range |
MocksControl.ONCE
Exactly one call.
|
static Range |
MocksControl.ZERO_OR_MORE
Zero or more calls.
|
Modifier and Type | Method and Description |
---|---|
void |
Results.add(Result result,
Range range) |
void |
UnorderedBehavior.addExpected(ExpectedInvocation expected,
Result result,
Range count) |
void |
MocksBehavior.addExpected(ExpectedInvocation expected,
Result result,
Range count) |
void |
IMocksBehavior.addExpected(ExpectedInvocation expected,
Result result,
Range count) |
void |
ReplayState.times(Range range) |
void |
IMocksControlState.times(Range range) |
void |
RecordState.times(Range range) |
Copyright © 2001-2009 OFFIS, Tammo Freese, Henri Tremblay. This documentation is provided under the terms of the MIT licence.]]>