A B C D E F G H I J L M N O P R S T U V W

A

ANYTHING - Static variable in class org.jmock.core.MockObjectSupportTestCase
 
AbstractDynamicMock - class org.jmock.core.AbstractDynamicMock.
 
AbstractDynamicMock(Class, String) - Constructor for class org.jmock.core.AbstractDynamicMock
 
AbstractDynamicMock(Class, String, InvocationDispatcher) - Constructor for class org.jmock.core.AbstractDynamicMock
 
AbstractExpectation - class org.jmock.expectation.AbstractExpectation.
 
AbstractExpectation(String) - Constructor for class org.jmock.expectation.AbstractExpectation
 
AbstractExpectationCollection - class org.jmock.expectation.AbstractExpectationCollection.
 
AbstractExpectationCollection(String) - Constructor for class org.jmock.expectation.AbstractExpectationCollection
 
And - class org.jmock.core.constraint.And.
Calculates the logical conjunction of two constraints.
And(Constraint, Constraint) - Constructor for class org.jmock.core.constraint.And
 
AnyArgumentsMatcher - class org.jmock.core.matcher.AnyArgumentsMatcher.
 
AnyArgumentsMatcher() - Constructor for class org.jmock.core.matcher.AnyArgumentsMatcher
 
ArgumentsMatchBuilder - interface org.jmock.builder.ArgumentsMatchBuilder.
 
ArgumentsMatcher - class org.jmock.core.matcher.ArgumentsMatcher.
 
ArgumentsMatcher(Constraint[]) - Constructor for class org.jmock.core.matcher.ArgumentsMatcher
 
AssertMo - class org.jmock.expectation.AssertMo.
 
AssertMo() - Constructor for class org.jmock.expectation.AssertMo
 
add(Invokable) - Method in class org.jmock.core.FIFOInvocationDispatcher
 
add(Invokable) - Method in interface org.jmock.core.InvocationDispatcher
 
add(Invokable) - Method in class org.jmock.core.LIFOInvocationDispatcher
 
add(Object) - Method in class org.jmock.expectation.ReturnValues
 
addActual(Object) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
addActual(int) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
addActual(long) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
addActual(Object) - Method in interface org.jmock.expectation.ExpectationCollection
 
addActual(long) - Method in interface org.jmock.expectation.ExpectationCollection
 
addActualMany(Object[]) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
addActualMany(Enumeration) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
addActualMany(Iterator) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
addActualMany(Object[]) - Method in interface org.jmock.expectation.ExpectationCollection
 
addActualMany(Enumeration) - Method in interface org.jmock.expectation.ExpectationCollection
 
addActualMany(Iterator) - Method in interface org.jmock.expectation.ExpectationCollection
 
addAll(Collection) - Method in class org.jmock.expectation.ReturnValues
 
addExpected(int) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
addExpected(Object) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
addExpected(long) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
addExpected(Object) - Method in interface org.jmock.expectation.ExpectationCollection
 
addExpected(long) - Method in interface org.jmock.expectation.ExpectationCollection
 
addExpected(Object, Object) - Method in class org.jmock.expectation.ExpectationMap
 
addExpectedMany(Object[]) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
addExpectedMany(Enumeration) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
addExpectedMany(Iterator) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
addExpectedMany(Object[]) - Method in interface org.jmock.expectation.ExpectationCollection
 
addExpectedMany(Enumeration) - Method in interface org.jmock.expectation.ExpectationCollection
 
addExpectedMany(Iterator) - Method in interface org.jmock.expectation.ExpectationCollection
 
addExpectedMissing(Object) - Method in class org.jmock.expectation.ExpectationMap
 
addInvokable(Invokable) - Method in class org.jmock.Mock
 
addInvokable(Invokable) - Method in class org.jmock.core.AbstractDynamicMock
 
addInvokable(Invokable) - Method in interface org.jmock.core.DynamicMock
 
addMatcher(InvocationMatcher) - Method in class org.jmock.core.InvocationMocker
 
addMatcher(InvocationMatcher) - Method in interface org.jmock.core.StubMatchersCollection
 
addObjectToReturn(Object) - Method in class org.jmock.expectation.ReturnObjectList
Add a next object to the end of the list.
addObjectToReturn(boolean) - Method in class org.jmock.expectation.ReturnObjectList
Add a next boolean to the end of the list.
addObjectToReturn(int) - Method in class org.jmock.expectation.ReturnObjectList
Add a next integer to the end of the list.
addResult(Class, Object) - Method in class org.jmock.core.stub.DefaultResultStub
 
after(String) - Method in class org.jmock.builder.InvocationMockerBuilder
 
after(BuilderNamespace, String) - Method in class org.jmock.builder.InvocationMockerBuilder
 
after(String) - Method in interface org.jmock.builder.MatchBuilder
 
after(BuilderNamespace, String) - Method in interface org.jmock.builder.MatchBuilder
 
and(Constraint, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
 
assertEquals(String, int, int) - Method in class org.jmock.expectation.AbstractExpectation
 
assertEquals(String, Object, Object) - Method in class org.jmock.expectation.AbstractExpectation
Due to junit Assert being a Singleton implemented with static methods, and java's unfortunate implementation of class methods (e.g.
assertEquals(String, Object[], Object[]) - Static method in class org.jmock.expectation.AssertMo
 
assertEquals(String, int, int) - Method in class org.jmock.expectation.MockObject
 
assertEquals(String, Object, Object) - Method in class org.jmock.expectation.MockObject
 
assertExcludes(String, String, String) - Static method in class org.jmock.expectation.AssertMo
 
assertFails(String, Runnable) - Static method in class org.jmock.expectation.AssertMo
 
assertIncludes(String, String, String) - Static method in class org.jmock.expectation.AssertMo
 
assertStartsWith(String, String, String) - Static method in class org.jmock.expectation.AssertMo
 
assertTrue(String, boolean) - Method in class org.jmock.expectation.MockObject
 
assertVerifyFails(Verifiable) - Static method in class org.jmock.expectation.AssertMo
 
atLeastOnce() - Method in class org.jmock.MockObjectTestCase
 

B

BuilderNamespace - interface org.jmock.builder.BuilderNamespace.
 

C

CGLIBCoreMock - class org.jmock.cglib.CGLIBCoreMock.
 
CGLIBCoreMock(Class) - Constructor for class org.jmock.cglib.CGLIBCoreMock
 
CGLIBCoreMock(Class, String) - Constructor for class org.jmock.cglib.CGLIBCoreMock
 
CGLIBCoreMock(Class, String, InvocationDispatcher) - Constructor for class org.jmock.cglib.CGLIBCoreMock
 
Constraint - interface org.jmock.core.Constraint.
A constraint over acceptable values.
CoreMock - class org.jmock.core.CoreMock.
 
CoreMock(Class, String) - Constructor for class org.jmock.core.CoreMock
 
CoreMock(Class, String, InvocationDispatcher) - Constructor for class org.jmock.core.CoreMock
 
CustomStub - class org.jmock.core.stub.CustomStub.
A partial implementation of the Stub interface that makes it convenient to implement application-specific stubs with inline anonymous classes:
CustomStub(String) - Constructor for class org.jmock.core.stub.CustomStub
 
checkImmediateValues(Object) - Method in class org.jmock.expectation.AbstractExpectationCollection
 
checkImmediateValues(Object) - Method in class org.jmock.expectation.ExpectationList
 
checkImmediateValues(Object) - Method in class org.jmock.expectation.ExpectationSet
 
classShortName(Class) - Static method in class org.jmock.core.Formatting
 
clear() - Method in class org.jmock.core.FIFOInvocationDispatcher
 
clear() - Method in interface org.jmock.core.InvocationDispatcher
 
clear() - Method in class org.jmock.core.LIFOInvocationDispatcher
 
clearActual() - Method in class org.jmock.expectation.AbstractExpectation
 
clearActual() - Method in class org.jmock.expectation.AbstractExpectationCollection
 
clearActual() - Method in class org.jmock.expectation.ExpectationCounter
 
clearActual() - Method in class org.jmock.expectation.ExpectationDoubleValue
 
clearActual() - Method in class org.jmock.expectation.ExpectationSegment
 
clearActual() - Method in class org.jmock.expectation.ExpectationValue
 
clearExpectation() - Method in class org.jmock.expectation.AbstractExpectationCollection
 
createDefaultResults() - Method in class org.jmock.core.stub.DefaultResultStub
 
createErrorMessage(Invocation) - Method in class org.jmock.core.stub.DefaultResultStub
 

D

DEFAULT_DESCRIBER - Static variable in class org.jmock.core.InvocationMocker
 
DEFAULT_DESCRIPTION - Static variable in class org.jmock.expectation.Null
The default description for all Null objects.
DefaultResultStub - class org.jmock.core.stub.DefaultResultStub.
 
DefaultResultStub() - Constructor for class org.jmock.core.stub.DefaultResultStub
 
Dummy - class org.jmock.util.Dummy.
 
DynamicMock - interface org.jmock.core.DynamicMock.
 
DynamicMockError - error org.jmock.core.DynamicMockError.
 
DynamicMockError(DynamicMock, Invocation, InvocationDispatcher, String) - Constructor for class org.jmock.core.DynamicMockError
 
defaultMockNameForType(Class) - Method in class org.jmock.MockObjectTestCase
 
describeTo(StringBuffer, List, Stub, String) - Method in class org.jmock.builder.InvocationMockerDescriber
 
describeTo(StringBuffer) - Method in class org.jmock.core.FIFOInvocationDispatcher
 
describeTo(StringBuffer) - Method in class org.jmock.core.Invocation
 
describeTo(StringBuffer, List, Stub, String) - Method in interface org.jmock.core.InvocationMocker.Describer
 
describeTo(StringBuffer) - Method in class org.jmock.core.InvocationMocker
 
describeTo(StringBuffer) - Method in class org.jmock.core.LIFOInvocationDispatcher
 
describeTo(StringBuffer) - Method in interface org.jmock.core.SelfDescribing
Appends the description of this object to the buffer.
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.And
 
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsAnything
 
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsCloseTo
 
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsEqual
 
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsEventFrom
 
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsGreaterThan
 
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsInstanceOf
 
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsLessThan
 
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsNot
 
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsNull
 
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.IsSame
 
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.Or
 
describeTo(StringBuffer) - Method in class org.jmock.core.constraint.StringContains
 
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.AnyArgumentsMatcher
 
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.ArgumentsMatcher
 
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.InvokeAtLeastOnceMatcher
 
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.InvokeOnceMatcher
 
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.InvokedAfterMatcher
 
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.InvokedRecorder
 
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.MethodNameMatcher
 
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.NoArgumentsMatcher
 
describeTo(StringBuffer) - Method in class org.jmock.core.matcher.TestFailureMatcher
 
describeTo(StringBuffer) - Method in class org.jmock.core.stub.CustomStub
 
describeTo(StringBuffer) - Method in class org.jmock.core.stub.DefaultResultStub
 
describeTo(StringBuffer) - Method in class org.jmock.core.stub.ReturnStub
 
describeTo(StringBuffer) - Method in class org.jmock.core.stub.StubSequence
 
describeTo(StringBuffer) - Method in class org.jmock.core.stub.TestFailureStub
 
describeTo(StringBuffer) - Method in class org.jmock.core.stub.ThrowStub
 
describeTo(StringBuffer) - Method in class org.jmock.core.stub.VoidStub
 
dispatch(Invocation) - Method in class org.jmock.core.FIFOInvocationDispatcher
 
dispatch(Invocation) - Method in interface org.jmock.core.InvocationDispatcher
 
dispatch(Invocation) - Method in class org.jmock.core.LIFOInvocationDispatcher
 
dispatcher - Variable in class org.jmock.core.DynamicMockError
 
dynamicMock - Variable in class org.jmock.core.DynamicMockError
 

E

ExceptionalReturnValue - class org.jmock.expectation.ExceptionalReturnValue.
Sequence of exception values as required by MockMaker This is a generic class that should have been introduced to the mockobjects code stream instead of being separately included in org.mockobjects.
ExceptionalReturnValue(Throwable) - Constructor for class org.jmock.expectation.ExceptionalReturnValue
 
Expectation - interface org.jmock.expectation.Expectation.
An Expectation is an object that we set up at the beginning of a unit test to expect certain things to happen to it.
ExpectationCollection - interface org.jmock.expectation.ExpectationCollection.
An ExpectationCollection is an expectation that supports multiple values, such as lists and sets.
ExpectationCounter - class org.jmock.expectation.ExpectationCounter.
 
ExpectationCounter(String) - Constructor for class org.jmock.expectation.ExpectationCounter
 
ExpectationDoubleValue - class org.jmock.expectation.ExpectationDoubleValue.
 
ExpectationDoubleValue(String) - Constructor for class org.jmock.expectation.ExpectationDoubleValue
 
ExpectationList - class org.jmock.expectation.ExpectationList.
 
ExpectationList(String) - Constructor for class org.jmock.expectation.ExpectationList
 
ExpectationMap - class org.jmock.expectation.ExpectationMap.
 
ExpectationMap(String) - Constructor for class org.jmock.expectation.ExpectationMap
 
ExpectationSegment - class org.jmock.expectation.ExpectationSegment.
 
ExpectationSegment(String) - Constructor for class org.jmock.expectation.ExpectationSegment
 
ExpectationSet - class org.jmock.expectation.ExpectationSet.
 
ExpectationSet(String) - Constructor for class org.jmock.expectation.ExpectationSet
 
ExpectationValue - class org.jmock.expectation.ExpectationValue.
 
ExpectationValue(String) - Constructor for class org.jmock.expectation.ExpectationValue
 
eq(Object) - Method in class org.jmock.core.MockObjectSupportTestCase
 
eq(boolean) - Method in class org.jmock.core.MockObjectSupportTestCase
 
eq(byte) - Method in class org.jmock.core.MockObjectSupportTestCase
 
eq(short) - Method in class org.jmock.core.MockObjectSupportTestCase
 
eq(char) - Method in class org.jmock.core.MockObjectSupportTestCase
 
eq(int) - Method in class org.jmock.core.MockObjectSupportTestCase
 
eq(long) - Method in class org.jmock.core.MockObjectSupportTestCase
 
eq(float) - Method in class org.jmock.core.MockObjectSupportTestCase
 
eq(double) - Method in class org.jmock.core.MockObjectSupportTestCase
 
eq(double, double) - Method in class org.jmock.core.MockObjectSupportTestCase
 
equals(Object) - Method in class org.jmock.core.Invocation
 
equals(Invocation) - Method in class org.jmock.core.Invocation
 
equals(Object) - Method in class org.jmock.expectation.MapEntry
 
equals(Object) - Method in class org.jmock.expectation.Null
Determines equality between two objects.
eval(Object) - Method in interface org.jmock.core.Constraint
Evaluates the constraint for argument o.
eval(Object) - Method in class org.jmock.core.constraint.And
 
eval(Object) - Method in class org.jmock.core.constraint.IsAnything
 
eval(Object) - Method in class org.jmock.core.constraint.IsCloseTo
 
eval(Object) - Method in class org.jmock.core.constraint.IsEqual
 
eval(Object) - Method in class org.jmock.core.constraint.IsEventFrom
 
eval(Object) - Method in class org.jmock.core.constraint.IsGreaterThan
 
eval(Object) - Method in class org.jmock.core.constraint.IsInstanceOf
 
eval(Object) - Method in class org.jmock.core.constraint.IsLessThan
 
eval(Object) - Method in class org.jmock.core.constraint.IsNot
 
eval(Object) - Method in class org.jmock.core.constraint.IsNull
 
eval(Object) - Method in class org.jmock.core.constraint.IsSame
 
eval(Object) - Method in class org.jmock.core.constraint.Or
 
eval(Object) - Method in class org.jmock.core.constraint.StringContains
 
expect(InvocationMatcher) - Method in class org.jmock.builder.InvocationMockerBuilder
 
expects(InvocationMatcher) - Method in class org.jmock.Mock
 

F

FIFOInvocationDispatcher - class org.jmock.core.FIFOInvocationDispatcher.
 
FIFOInvocationDispatcher() - Constructor for class org.jmock.core.FIFOInvocationDispatcher
 
Formatting - class org.jmock.core.Formatting.
 
Formatting() - Constructor for class org.jmock.core.Formatting
 
fail(String) - Method in class org.jmock.expectation.MockObject
 
failNotEquals(String, Object, Object) - Static method in class org.jmock.expectation.AssertMo
 

G

get(Object) - Method in class org.jmock.expectation.ExpectationMap
 
getActualCollection() - Method in class org.jmock.expectation.AbstractExpectationCollection
 
getActualCollection() - Method in class org.jmock.expectation.ExpectationList
 
getActualCollection() - Method in class org.jmock.expectation.ExpectationSet
 
getBooleanValue(String) - Method in class org.jmock.expectation.ReturnObjectMap
 
getBooleanValue() - Method in class org.jmock.expectation.ReturnValue
 
getException() - Method in class org.jmock.expectation.ExceptionalReturnValue
 
getExpectedCollection() - Method in class org.jmock.expectation.AbstractExpectationCollection
 
getExpectedCollection() - Method in class org.jmock.expectation.ExpectationList
 
getExpectedCollection() - Method in class org.jmock.expectation.ExpectationSet
 
getHashTable() - Method in class org.jmock.expectation.ReturnObjectBag
 
getIntValue(Object) - Method in class org.jmock.expectation.ReturnObjectMap
 
getIntValue() - Method in class org.jmock.expectation.ReturnValue
 
getKey() - Method in class org.jmock.expectation.MapEntry
 
getLongValue() - Method in class org.jmock.expectation.ReturnValue
 
getMessage() - Method in class org.jmock.core.DynamicMockError
 
getMockName() - Method in class org.jmock.core.AbstractDynamicMock
 
getMockedType() - Method in class org.jmock.Mock
 
getMockedType() - Method in class org.jmock.core.AbstractDynamicMock
 
getMockedType() - Method in interface org.jmock.core.DynamicMock
 
getNext() - Method in class org.jmock.expectation.ReturnValues
 
getNext() - Method in class org.jmock.expectation.VoidReturnValues
 
getNextReturnBoolean(Object) - Method in class org.jmock.expectation.ReturnObjectBag
 
getNextReturnInt(Object) - Method in class org.jmock.expectation.ReturnObjectBag
 
getNextReturnObject(Object) - Method in class org.jmock.expectation.ReturnObjectBag
Returns the next object in the ReturnObjectList for a given key.
getNextReturnObject(int) - Method in class org.jmock.expectation.ReturnObjectBag
Returns the next object in the ReturnObjectList for a given int key.
getValue() - Method in class org.jmock.expectation.MapEntry
 
getValue(Object) - Method in class org.jmock.expectation.ReturnObjectMap
 
getValue(short) - Method in class org.jmock.expectation.ReturnObjectMap
 
getValue() - Method in class org.jmock.expectation.ReturnValue
 

H

hasBeenInvoked() - Method in class org.jmock.core.matcher.InvokedRecorder
 
hasDescription() - Method in class org.jmock.builder.InvocationMockerDescriber
 
hasDescription() - Method in interface org.jmock.core.InvocationMatcher
 
hasDescription() - Method in interface org.jmock.core.InvocationMocker.Describer
 
hasDescription() - Method in class org.jmock.core.InvocationMocker
 
hasDescription() - Method in interface org.jmock.core.Invokable
 
hasDescription() - Method in class org.jmock.core.matcher.InvokeAtLeastOnceMatcher
 
hasDescription() - Method in class org.jmock.core.matcher.InvokeOnceMatcher
 
hasDescription() - Method in class org.jmock.core.matcher.InvokedRecorder
 
hasDescription() - Method in class org.jmock.core.matcher.StatelessInvocationMatcher
 
hasDescription() - Method in class org.jmock.core.matcher.TestFailureMatcher
 
hasExpectations() - Method in class org.jmock.expectation.AbstractExpectation
 
hasExpectations() - Method in interface org.jmock.expectation.Expectation
Return true if any expectations have been set on this object.
hasExpectations() - Method in class org.jmock.expectation.ExpectationMap
 
hashCode() - Method in class org.jmock.core.Invocation
 
hashCode() - Method in class org.jmock.expectation.MapEntry
 
hashCode() - Method in class org.jmock.expectation.Null
Returns this Null object's hashCode.

I

INSTANCE - Static variable in class org.jmock.core.matcher.AnyArgumentsMatcher
 
INSTANCE - Static variable in class org.jmock.core.matcher.NoArgumentsMatcher
 
INSTANCE - Static variable in class org.jmock.core.stub.VoidStub
 
IdentityBuilder - interface org.jmock.builder.IdentityBuilder.
 
Invocation - class org.jmock.core.Invocation.
A "dumb struct" that holds information about an invocation dispatched to a Mock object.
Invocation(Object, Method, Object[]) - Constructor for class org.jmock.core.Invocation
 
InvocationDispatcher - interface org.jmock.core.InvocationDispatcher.
 
InvocationMatcher - interface org.jmock.core.InvocationMatcher.
 
InvocationMocker - class org.jmock.core.InvocationMocker.
 
InvocationMocker() - Constructor for class org.jmock.core.InvocationMocker
 
InvocationMocker(InvocationMocker.Describer) - Constructor for class org.jmock.core.InvocationMocker
 
InvocationMocker.Describer - interface org.jmock.core.InvocationMocker.Describer.
 
InvocationMockerBuilder - class org.jmock.builder.InvocationMockerBuilder.
 
InvocationMockerBuilder(StubMatchersCollection, BuilderNamespace, Class) - Constructor for class org.jmock.builder.InvocationMockerBuilder
 
InvocationMockerDescriber - class org.jmock.builder.InvocationMockerDescriber.
 
InvocationMockerDescriber() - Constructor for class org.jmock.builder.InvocationMockerDescriber
 
Invokable - interface org.jmock.core.Invokable.
 
InvokeAtLeastOnceMatcher - class org.jmock.core.matcher.InvokeAtLeastOnceMatcher.
 
InvokeAtLeastOnceMatcher() - Constructor for class org.jmock.core.matcher.InvokeAtLeastOnceMatcher
 
InvokeOnceMatcher - class org.jmock.core.matcher.InvokeOnceMatcher.
 
InvokeOnceMatcher() - Constructor for class org.jmock.core.matcher.InvokeOnceMatcher
 
InvokedAfterMatcher - class org.jmock.core.matcher.InvokedAfterMatcher.
 
InvokedAfterMatcher(InvokedRecorder, String) - Constructor for class org.jmock.core.matcher.InvokedAfterMatcher
 
InvokedRecorder - class org.jmock.core.matcher.InvokedRecorder.
 
InvokedRecorder() - Constructor for class org.jmock.core.matcher.InvokedRecorder
 
IsAnything - class org.jmock.core.constraint.IsAnything.
A constraint that always returns true.
IsAnything() - Constructor for class org.jmock.core.constraint.IsAnything
 
IsCloseTo - class org.jmock.core.constraint.IsCloseTo.
Is the value a number equal to a value within some range of acceptable error?
IsCloseTo(double, double) - Constructor for class org.jmock.core.constraint.IsCloseTo
 
IsEqual - class org.jmock.core.constraint.IsEqual.
Is the value equal to another value, as tested by the Object.equals(java.lang.Object) invokedMethod?
IsEqual(Object) - Constructor for class org.jmock.core.constraint.IsEqual
 
IsEventFrom - class org.jmock.core.constraint.IsEventFrom.
Tests if the value is an event announced by a specific object.
IsEventFrom(Object) - Constructor for class org.jmock.core.constraint.IsEventFrom
Constructs an IsEventFrom predicate that returns true for any object derived from EventObjectannounced by source .
IsEventFrom(Class, Object) - Constructor for class org.jmock.core.constraint.IsEventFrom
Constructs an IsEventFrom predicate that returns true for any object derived from event_class announced by source.
IsGreaterThan - class org.jmock.core.constraint.IsGreaterThan.
Is the value greater than another Comparable value?
IsGreaterThan(Comparable) - Constructor for class org.jmock.core.constraint.IsGreaterThan
 
IsInstanceOf - class org.jmock.core.constraint.IsInstanceOf.
Tests whether the value is an instance of a class.
IsInstanceOf(Class) - Constructor for class org.jmock.core.constraint.IsInstanceOf
Creates a new instance of IsInstanceOf
IsLessThan - class org.jmock.core.constraint.IsLessThan.
Is the value less than another Comparable value?
IsLessThan(Comparable) - Constructor for class org.jmock.core.constraint.IsLessThan
 
IsNot - class org.jmock.core.constraint.IsNot.
Calculates the logical negation of a constraint.
IsNot(Constraint) - Constructor for class org.jmock.core.constraint.IsNot
 
IsNull - class org.jmock.core.constraint.IsNull.
Is the value null?
IsNull() - Constructor for class org.jmock.core.constraint.IsNull
 
IsSame - class org.jmock.core.constraint.IsSame.
Is the value the same object as another value?
IsSame(Object) - Constructor for class org.jmock.core.constraint.IsSame
Creates a new instance of IsSame
id(String) - Method in interface org.jmock.builder.IdentityBuilder
 
id(String) - Method in class org.jmock.builder.InvocationMockerBuilder
 
inc() - Method in class org.jmock.expectation.ExpectationCounter
 
intercept(Object, Method, Object[], MethodProxy) - Method in class org.jmock.cglib.CGLIBCoreMock
 
invocation - Variable in class org.jmock.core.DynamicMockError
 
invoke(Object, Method, Object[]) - Method in class org.jmock.core.CoreMock
 
invoke(Invocation) - Method in class org.jmock.core.InvocationMocker
 
invoke(Invocation) - Method in interface org.jmock.core.Invokable
 
invoke(Invocation) - Method in interface org.jmock.core.Stub
Processes the invocation.
invoke(Invocation) - Method in class org.jmock.core.stub.DefaultResultStub
 
invoke(Invocation) - Method in class org.jmock.core.stub.ReturnStub
 
invoke(Invocation) - Method in class org.jmock.core.stub.StubSequence
 
invoke(Invocation) - Method in class org.jmock.core.stub.TestFailureStub
 
invoke(Invocation) - Method in class org.jmock.core.stub.ThrowStub
 
invoke(Invocation) - Method in class org.jmock.core.stub.VoidStub
 
invoked(Invocation) - Method in interface org.jmock.core.InvocationMatcher
 
invoked(Invocation) - Method in class org.jmock.core.matcher.InvokedAfterMatcher
 
invoked(Invocation) - Method in class org.jmock.core.matcher.InvokedRecorder
 
invoked(Invocation) - Method in class org.jmock.core.matcher.StatelessInvocationMatcher
 
invoked(Invocation) - Method in class org.jmock.core.matcher.TestFailureMatcher
 
invokedMethod - Variable in class org.jmock.core.Invocation
 
invokedObject - Variable in class org.jmock.core.Invocation
 
isA(Class) - Method in class org.jmock.core.MockObjectSupportTestCase
 
isEmpty() - Method in class org.jmock.expectation.ReturnValues
 
isVoid() - Method in class org.jmock.builder.InvocationMockerBuilder
 
isVoid() - Method in interface org.jmock.builder.StubBuilder
 

J

join(Object, StringBuffer) - Static method in class org.jmock.core.Formatting
 
join(Collection, StringBuffer, String, String) - Static method in class org.jmock.core.Formatting
 
join(Collection, StringBuffer, String, String, String) - Static method in class org.jmock.core.Formatting
 
join(Object, StringBuffer, String, String) - Static method in class org.jmock.core.Formatting
 
join(Object, StringBuffer, String, String, String) - Static method in class org.jmock.core.Formatting
 

L

LIFOInvocationDispatcher - class org.jmock.core.LIFOInvocationDispatcher.
 
LIFOInvocationDispatcher() - Constructor for class org.jmock.core.LIFOInvocationDispatcher
 
lookupID(String) - Method in class org.jmock.Mock
 
lookupID(String) - Method in interface org.jmock.builder.BuilderNamespace
 

M

MapEntry - class org.jmock.expectation.MapEntry.
A public MapEntry data type that can be used where the Map.Entry interface is required (needed because the Sun implementation is package protected)
MapEntry(Object, Object) - Constructor for class org.jmock.expectation.MapEntry
 
MatchBuilder - interface org.jmock.builder.MatchBuilder.
 
MethodNameMatcher - class org.jmock.core.matcher.MethodNameMatcher.
 
MethodNameMatcher(Constraint) - Constructor for class org.jmock.core.matcher.MethodNameMatcher
 
MethodNameMatcher(String) - Constructor for class org.jmock.core.matcher.MethodNameMatcher
 
Mock - class org.jmock.Mock.
 
Mock(Class) - Constructor for class org.jmock.Mock
 
Mock(Class, String) - Constructor for class org.jmock.Mock
 
Mock(DynamicMock) - Constructor for class org.jmock.Mock
 
Mock - class org.jmock.cglib.Mock.
 
Mock(Class) - Constructor for class org.jmock.cglib.Mock
 
Mock(Class, String) - Constructor for class org.jmock.cglib.Mock
 
Mock(DynamicMock) - Constructor for class org.jmock.cglib.Mock
 
MockObject - class org.jmock.expectation.MockObject.
 
MockObject() - Constructor for class org.jmock.expectation.MockObject
 
MockObjectSupportTestCase - class org.jmock.core.MockObjectSupportTestCase.
 
MockObjectSupportTestCase() - Constructor for class org.jmock.core.MockObjectSupportTestCase
 
MockObjectSupportTestCase(String) - Constructor for class org.jmock.core.MockObjectSupportTestCase
 
MockObjectTestCase - class org.jmock.MockObjectTestCase.
A base class for tests that use Mock Objects.
MockObjectTestCase() - Constructor for class org.jmock.MockObjectTestCase
 
MockObjectTestCase(String) - Constructor for class org.jmock.MockObjectTestCase
 
MockObjectTestCase - class org.jmock.cglib.MockObjectTestCase.
 
MockObjectTestCase() - Constructor for class org.jmock.cglib.MockObjectTestCase
 
match(InvocationMatcher) - Method in class org.jmock.builder.InvocationMockerBuilder
 
match(InvocationMatcher) - Method in interface org.jmock.builder.MatchBuilder
 
matches(Invocation) - Method in interface org.jmock.core.InvocationMatcher
 
matches(Invocation) - Method in class org.jmock.core.InvocationMocker
 
matches(Invocation) - Method in interface org.jmock.core.Invokable
 
matches(Invocation) - Method in class org.jmock.core.matcher.AnyArgumentsMatcher
 
matches(Invocation) - Method in class org.jmock.core.matcher.ArgumentsMatcher
 
matches(Invocation) - Method in class org.jmock.core.matcher.InvokeOnceMatcher
 
matches(Invocation) - Method in class org.jmock.core.matcher.InvokedAfterMatcher
 
matches(Invocation) - Method in class org.jmock.core.matcher.InvokedRecorder
 
matches(Invocation) - Method in class org.jmock.core.matcher.MethodNameMatcher
 
matches(Invocation) - Method in class org.jmock.core.matcher.NoArgumentsMatcher
 
matches(Invocation) - Method in class org.jmock.core.matcher.TestFailureMatcher
 
method(Constraint) - Method in class org.jmock.builder.InvocationMockerBuilder
 
method(String) - Method in class org.jmock.builder.InvocationMockerBuilder
 
method(String) - Method in interface org.jmock.builder.NameMatchBuilder
 
method(Constraint) - Method in interface org.jmock.builder.NameMatchBuilder
 
mock(Class) - Method in class org.jmock.MockObjectTestCase
 
mock(Class, String) - Method in class org.jmock.MockObjectTestCase
 
mockInvocation(Invocation) - Method in class org.jmock.core.AbstractDynamicMock
 
mockNameFromClass(Class) - Static method in class org.jmock.core.AbstractDynamicMock
 
myActualItems - Variable in class org.jmock.expectation.ExpectationList
 
myContents - Variable in class org.jmock.expectation.ReturnValues
 
myExpectedItems - Variable in class org.jmock.expectation.ExpectationList
 
myFailureModeIsImmediate - Variable in class org.jmock.expectation.AbstractExpectation
 
myName - Variable in class org.jmock.expectation.AbstractExpectation
 

N

NOT_NULL - Static variable in class org.jmock.core.MockObjectSupportTestCase
 
NO_EXPECTATIONS_MESSAGE - Static variable in class org.jmock.core.FIFOInvocationDispatcher
 
NO_EXPECTATIONS_MESSAGE - Static variable in class org.jmock.core.LIFOInvocationDispatcher
 
NULL - Static variable in class org.jmock.core.MockObjectSupportTestCase
 
NULL - Static variable in class org.jmock.expectation.Null
A default Null object.
NameMatchBuilder - interface org.jmock.builder.NameMatchBuilder.
 
NoArgumentsMatcher - class org.jmock.core.matcher.NoArgumentsMatcher.
 
NoArgumentsMatcher() - Constructor for class org.jmock.core.matcher.NoArgumentsMatcher
 
NotImplementedException - exception org.jmock.util.NotImplementedException.
 
NotImplementedException() - Constructor for class org.jmock.util.NotImplementedException
NotImplementedException constructor comment.
NotImplementedException(String) - Constructor for class org.jmock.util.NotImplementedException
NotImplementedException constructor comment.
Null - class org.jmock.expectation.Null.
A class that represents the null value.
Null() - Constructor for class org.jmock.expectation.Null
Instantiates a new Null object with the default description.
Null(String) - Constructor for class org.jmock.expectation.Null
Instantiates a new Null object and sets it's description.
never() - Method in class org.jmock.MockObjectTestCase
 
newCoreMock(Class, String) - Method in class org.jmock.MockObjectTestCase
 
newCoreMock(Class, String) - Method in class org.jmock.cglib.MockObjectTestCase
 
newDummy(Class) - Method in class org.jmock.core.MockObjectSupportTestCase
 
newDummy(Class, String) - Method in class org.jmock.core.MockObjectSupportTestCase
 
newDummy(String) - Method in class org.jmock.core.MockObjectSupportTestCase
 
newDummy(Class) - Static method in class org.jmock.util.Dummy
 
newDummy(Class, String) - Static method in class org.jmock.util.Dummy
 
newDummy(String) - Static method in class org.jmock.util.Dummy
 
nextReturnObject() - Method in class org.jmock.expectation.ReturnObjectList
Returns the next object from the list.
not(Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
 
notImplemented(String) - Static method in class org.jmock.expectation.AssertMo
 
notImplemented() - Method in class org.jmock.expectation.MockObject
 
notYetImplemented() - Method in class org.jmock.expectation.MockObject
Deprecated.  
notYetImplemented(String) - Static method in class org.jmock.expectation.MockObject
Deprecated.  

O

Or - class org.jmock.core.constraint.Or.
Calculates the logical disjunction of two constraints.
Or(Constraint, Constraint) - Constructor for class org.jmock.core.constraint.Or
 
onConsecutiveCalls(Stub, Stub) - Method in class org.jmock.MockObjectTestCase
 
onConsecutiveCalls(Stub, Stub, Stub) - Method in class org.jmock.MockObjectTestCase
 
onConsecutiveCalls(Stub, Stub, Stub, Stub) - Method in class org.jmock.MockObjectTestCase
 
once() - Method in class org.jmock.MockObjectTestCase
 
or(Constraint, Constraint) - Method in class org.jmock.core.MockObjectSupportTestCase
 
org.jmock - package org.jmock
 
org.jmock.builder - package org.jmock.builder
 
org.jmock.cglib - package org.jmock.cglib
 
org.jmock.core - package org.jmock.core
 
org.jmock.core.constraint - package org.jmock.core.constraint
 
org.jmock.core.matcher - package org.jmock.core.matcher
 
org.jmock.core.stub - package org.jmock.core.stub
 
org.jmock.expectation - package org.jmock.expectation
 
org.jmock.util - package org.jmock.util
 

P

parameterValues - Variable in class org.jmock.core.Invocation
 
pop() - Method in class org.jmock.expectation.ReturnValues
 
proxy() - Method in class org.jmock.Mock
 
proxy() - Method in class org.jmock.cglib.CGLIBCoreMock
 
proxy() - Method in class org.jmock.core.CoreMock
 
proxy() - Method in interface org.jmock.core.DynamicMock
 
putObjectToReturn(Object, Object) - Method in class org.jmock.expectation.ReturnObjectBag
Places an object into the list of return objects for a particular key
putObjectToReturn(int, Object) - Method in class org.jmock.expectation.ReturnObjectBag
Places an object into the list of return objects for a particular int key
putObjectToReturn(Object, int) - Method in class org.jmock.expectation.ReturnObjectBag
Places an int into the list of return objects for a particular key.
putObjectToReturn(Object, boolean) - Method in class org.jmock.expectation.ReturnObjectBag
Places an boolean into the list of return objects for a particular key.
putReturnValue(Object, Object) - Method in class org.jmock.expectation.ReturnObjectMap
 
putReturnValue(Object, int) - Method in class org.jmock.expectation.ReturnObjectMap
 
putReturnValue(short, Object) - Method in class org.jmock.expectation.ReturnObjectMap
 
putReturnValue(Object, boolean) - Method in class org.jmock.expectation.ReturnObjectMap
 

R

ReturnObjectBag - class org.jmock.expectation.ReturnObjectBag.
The ReturnObjectBag is a map containing instances of ReturnObjectList.
ReturnObjectBag(String) - Constructor for class org.jmock.expectation.ReturnObjectBag
 
ReturnObjectList - class org.jmock.expectation.ReturnObjectList.
This class allows a list of objects to be setup which can be used whilst.The list is check to make sure that all the object in it are used and that none are left over at the end of a test.
ReturnObjectList(String) - Constructor for class org.jmock.expectation.ReturnObjectList
Construct a new empty list
ReturnObjectMap - class org.jmock.expectation.ReturnObjectMap.
 
ReturnObjectMap(String) - Constructor for class org.jmock.expectation.ReturnObjectMap
 
ReturnStub - class org.jmock.core.stub.ReturnStub.
 
ReturnStub(Object) - Constructor for class org.jmock.core.stub.ReturnStub
 
ReturnValue - class org.jmock.expectation.ReturnValue.
The ReturnValue class allows a value to be setup which will then be returned upon a specific invokedMethod call.
ReturnValue(String) - Constructor for class org.jmock.expectation.ReturnValue
 
ReturnValues - class org.jmock.expectation.ReturnValues.
Sequence values as required by MockMaker This is a generic class that should have been introduced to the mockobjects code stream instead of being separately included in org.mockobjects.
ReturnValues() - Constructor for class org.jmock.expectation.ReturnValues
 
ReturnValues(String, boolean) - Constructor for class org.jmock.expectation.ReturnValues
 
ReturnValues(boolean) - Constructor for class org.jmock.expectation.ReturnValues
 
registerMethodName(String, MatchBuilder) - Method in class org.jmock.Mock
 
registerMethodName(String, MatchBuilder) - Method in interface org.jmock.builder.BuilderNamespace
 
registerToVerify(Verifiable) - Method in class org.jmock.core.VerifyingTestCase
 
registerUniqueID(String, MatchBuilder) - Method in class org.jmock.Mock
 
registerUniqueID(String, MatchBuilder) - Method in interface org.jmock.builder.BuilderNamespace
 
reset() - Method in class org.jmock.Mock
 
reset() - Method in class org.jmock.core.AbstractDynamicMock
 
reset() - Method in interface org.jmock.core.DynamicMock
 
returnValue(Object) - Method in class org.jmock.MockObjectTestCase
 
returnValue(boolean) - Method in class org.jmock.MockObjectTestCase
 
returnValue(byte) - Method in class org.jmock.MockObjectTestCase
 
returnValue(char) - Method in class org.jmock.MockObjectTestCase
 
returnValue(short) - Method in class org.jmock.MockObjectTestCase
 
returnValue(int) - Method in class org.jmock.MockObjectTestCase
 
returnValue(long) - Method in class org.jmock.MockObjectTestCase
 
returnValue(float) - Method in class org.jmock.MockObjectTestCase
 
returnValue(double) - Method in class org.jmock.MockObjectTestCase
 
runBare() - Method in class org.jmock.core.VerifyingTestCase
 

S

SelfDescribing - interface org.jmock.core.SelfDescribing.
An object that can describe itself.
StatelessInvocationMatcher - class org.jmock.core.matcher.StatelessInvocationMatcher.
 
StatelessInvocationMatcher() - Constructor for class org.jmock.core.matcher.StatelessInvocationMatcher
 
StringContains - class org.jmock.core.constraint.StringContains.
Tests if the argument is a string that contains a substring.
StringContains(String) - Constructor for class org.jmock.core.constraint.StringContains
 
Stub - interface org.jmock.core.Stub.
An object that stubs the behaviour of a invokedMethod invocation on behalf of an Invokable object.
StubBuilder - interface org.jmock.builder.StubBuilder.
 
StubMatchersCollection - interface org.jmock.core.StubMatchersCollection.
 
StubSequence - class org.jmock.core.stub.StubSequence.
 
StubSequence(Stub[]) - Constructor for class org.jmock.core.stub.StubSequence
 
StubSequence(List) - Constructor for class org.jmock.core.stub.StubSequence
 
same(Object) - Method in class org.jmock.core.MockObjectSupportTestCase
 
setActual(double) - Method in class org.jmock.expectation.ExpectationDoubleValue
 
setActual(String) - Method in class org.jmock.expectation.ExpectationSegment
 
setActual(int) - Method in class org.jmock.expectation.ExpectationValue
 
setActual(long) - Method in class org.jmock.expectation.ExpectationValue
 
setActual(double) - Method in class org.jmock.expectation.ExpectationValue
 
setActual(Object) - Method in class org.jmock.expectation.ExpectationValue
 
setActual(boolean) - Method in class org.jmock.expectation.ExpectationValue
 
setDefaultStub(Stub) - Method in class org.jmock.Mock
 
setDefaultStub(Stub) - Method in class org.jmock.core.AbstractDynamicMock
 
setDefaultStub(Stub) - Method in interface org.jmock.core.DynamicMock
 
setDefaultStub(Stub) - Method in class org.jmock.core.FIFOInvocationDispatcher
 
setDefaultStub(Stub) - Method in interface org.jmock.core.InvocationDispatcher
 
setDefaultStub(Stub) - Method in class org.jmock.core.LIFOInvocationDispatcher
 
setExpectNothing() - Method in class org.jmock.expectation.AbstractExpectationCollection
 
setExpectNothing() - Method in interface org.jmock.expectation.Expectation
Tell the object to expect nothing to happen to it, perhaps because the test is exercising the handling of an error.
setExpectNothing() - Method in class org.jmock.expectation.ExpectationCounter
 
setExpectNothing() - Method in class org.jmock.expectation.ExpectationDoubleValue
 
setExpectNothing() - Method in class org.jmock.expectation.ExpectationMap
 
setExpectNothing() - Method in class org.jmock.expectation.ExpectationSegment
 
setExpectNothing() - Method in class org.jmock.expectation.ExpectationValue
 
setExpected(int) - Method in class org.jmock.expectation.ExpectationCounter
 
setExpected(double, double) - Method in class org.jmock.expectation.ExpectationDoubleValue
 
setExpected(String) - Method in class org.jmock.expectation.ExpectationSegment
 
setExpected(int) - Method in class org.jmock.expectation.ExpectationValue
 
setExpected(long) - Method in class org.jmock.expectation.ExpectationValue
 
setExpected(double) - Method in class org.jmock.expectation.ExpectationValue
 
setExpected(Object) - Method in class org.jmock.expectation.ExpectationValue
 
setExpected(boolean) - Method in class org.jmock.expectation.ExpectationValue
 
setFailOnVerify() - Method in class org.jmock.expectation.AbstractExpectation
 
setFailOnVerify() - Method in interface org.jmock.expectation.Expectation
If an incorrect actual value is set, defer reporting this as a failure until verify() is called on this object.
setFailOnVerify() - Method in class org.jmock.expectation.ExpectationMap
 
setHasExpectations() - Method in class org.jmock.expectation.AbstractExpectation
 
setName(String) - Method in class org.jmock.core.InvocationMocker
 
setName(String) - Method in interface org.jmock.core.StubMatchersCollection
 
setStub(Stub) - Method in class org.jmock.core.InvocationMocker
 
setStub(Stub) - Method in interface org.jmock.core.StubMatchersCollection
 
setValue(Object) - Method in class org.jmock.expectation.MapEntry
 
setValue(Object) - Method in class org.jmock.expectation.ReturnValue
 
setValue(boolean) - Method in class org.jmock.expectation.ReturnValue
 
setValue(int) - Method in class org.jmock.expectation.ReturnValue
 
setValue(long) - Method in class org.jmock.expectation.ReturnValue
 
shouldCheckImmediately() - Method in class org.jmock.expectation.AbstractExpectation
 
stringContains(String) - Method in class org.jmock.core.MockObjectSupportTestCase
 
stubs() - Method in class org.jmock.Mock
 

T

TestFailureMatcher - class org.jmock.core.matcher.TestFailureMatcher.
 
TestFailureMatcher(String) - Constructor for class org.jmock.core.matcher.TestFailureMatcher
 
TestFailureStub - class org.jmock.core.stub.TestFailureStub.
 
TestFailureStub(String) - Constructor for class org.jmock.core.stub.TestFailureStub
 
ThrowStub - class org.jmock.core.stub.ThrowStub.
 
ThrowStub(Throwable) - Constructor for class org.jmock.core.stub.ThrowStub
 
throwException(Throwable) - Method in class org.jmock.MockObjectTestCase
 
toReadableString(Object) - Static method in class org.jmock.core.Formatting
 
toString() - Method in class org.jmock.Mock
 
toString() - Method in class org.jmock.core.AbstractDynamicMock
 
toString() - Method in class org.jmock.core.Invocation
 
toString() - Method in class org.jmock.core.InvocationMocker
 
toString() - Method in class org.jmock.expectation.MapEntry
 
toString() - Method in class org.jmock.expectation.Null
Returns a string representation of this Null object.

U

unregisterToVerify(Verifiable) - Method in class org.jmock.core.VerifyingTestCase
 

V

Verifiable - interface org.jmock.core.Verifiable.
A Verifiable is an object that can confirm at the end of a unit test that the correct behvaiour has occurred.
Verifier - class org.jmock.util.Verifier.
Helper class to verify all Verifiable fields of an object.
Verifier() - Constructor for class org.jmock.util.Verifier
 
VerifyingTestCase - class org.jmock.core.VerifyingTestCase.
A TestCase that verifies Verifiable fields and registered Verifiable objects after the test has run and before the fixture has been torn down.
VerifyingTestCase() - Constructor for class org.jmock.core.VerifyingTestCase
 
VerifyingTestCase(String) - Constructor for class org.jmock.core.VerifyingTestCase
 
VoidReturnValues - class org.jmock.expectation.VoidReturnValues.
Sequence of void values as required by MockMaker This is a generic class that should have been introduced to the mockobjects code stream instead of being separately included in org.mockobjects.
VoidReturnValues(String, boolean) - Constructor for class org.jmock.expectation.VoidReturnValues
 
VoidReturnValues(boolean) - Constructor for class org.jmock.expectation.VoidReturnValues
 
VoidStub - class org.jmock.core.stub.VoidStub.
 
VoidStub() - Constructor for class org.jmock.core.stub.VoidStub
 
verify() - Method in class org.jmock.Mock
 
verify() - Method in class org.jmock.core.AbstractDynamicMock
 
verify() - Method in class org.jmock.core.FIFOInvocationDispatcher
 
verify() - Method in class org.jmock.core.InvocationMocker
 
verify() - Method in class org.jmock.core.LIFOInvocationDispatcher
 
verify() - Method in interface org.jmock.core.Verifiable
Throw an AssertionFailedException if any expectations have not been met.
verify() - Method in class org.jmock.core.VerifyingTestCase
 
verify() - Method in class org.jmock.core.matcher.InvokeAtLeastOnceMatcher
 
verify() - Method in class org.jmock.core.matcher.InvokeOnceMatcher
 
verify() - Method in class org.jmock.core.matcher.InvokedRecorder
 
verify() - Method in class org.jmock.core.matcher.StatelessInvocationMatcher
 
verify() - Method in class org.jmock.core.matcher.TestFailureMatcher
 
verify() - Method in class org.jmock.expectation.AbstractExpectation
 
verify() - Method in class org.jmock.expectation.AbstractExpectationCollection
 
verify() - Method in class org.jmock.expectation.ExpectationCounter
 
verify() - Method in class org.jmock.expectation.ExpectationDoubleValue
 
verify() - Method in class org.jmock.expectation.ExpectationMap
 
verify() - Method in class org.jmock.expectation.ExpectationSegment
 
verify() - Method in class org.jmock.expectation.ExpectationSet
 
verify() - Method in class org.jmock.expectation.ExpectationValue
 
verify() - Method in class org.jmock.expectation.MockObject
 
verify() - Method in class org.jmock.expectation.ReturnObjectBag
Checks each the list for each key to verify that all no objects remain in the list for that key.
verify() - Method in class org.jmock.expectation.ReturnObjectList
Verify that there are no objects left within the list.
verify() - Method in class org.jmock.expectation.ReturnObjectMap
 
verifyHasBeenInvoked() - Method in class org.jmock.core.matcher.InvokedRecorder
 
verifyObject(Object) - Static method in class org.jmock.util.Verifier
Verifies all the fields of type Verifiable in the given object, including those inherited from superclasses.

W

will(Stub) - Method in class org.jmock.builder.InvocationMockerBuilder
 
will(Stub) - Method in interface org.jmock.builder.StubBuilder
 
with(Constraint[]) - Method in interface org.jmock.builder.ArgumentsMatchBuilder
 
with(Constraint) - Method in interface org.jmock.builder.ArgumentsMatchBuilder
 
with(Constraint, Constraint) - Method in interface org.jmock.builder.ArgumentsMatchBuilder
 
with(Constraint, Constraint, Constraint) - Method in interface org.jmock.builder.ArgumentsMatchBuilder
 
with(Constraint, Constraint, Constraint, Constraint) - Method in interface org.jmock.builder.ArgumentsMatchBuilder
 
with(Constraint) - Method in class org.jmock.builder.InvocationMockerBuilder
 
with(Constraint, Constraint) - Method in class org.jmock.builder.InvocationMockerBuilder
 
with(Constraint, Constraint, Constraint) - Method in class org.jmock.builder.InvocationMockerBuilder
 
with(Constraint, Constraint, Constraint, Constraint) - Method in class org.jmock.builder.InvocationMockerBuilder
 
with(Constraint[]) - Method in class org.jmock.builder.InvocationMockerBuilder
 
withAnyArguments() - Method in interface org.jmock.builder.ArgumentsMatchBuilder
 
withAnyArguments() - Method in class org.jmock.builder.InvocationMockerBuilder
 
withNoArguments() - Method in interface org.jmock.builder.ArgumentsMatchBuilder
 
withNoArguments() - Method in class org.jmock.builder.InvocationMockerBuilder
 
writeTo(StringBuffer) - Method in class org.jmock.core.DynamicMockError
 

A B C D E F G H I J L M N O P R S T U V W