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
 
ANY_NON_NULL_ARGUMENT - Static variable in class test.jmock.core.constraint.AbstractConstraintsTest
 
ARGUMENT_IGNORED - Static variable in class test.jmock.core.constraint.AbstractConstraintsTest
 
AbstractConstraintsTest - class test.jmock.core.constraint.AbstractConstraintsTest.
 
AbstractConstraintsTest() - Constructor for class test.jmock.core.constraint.AbstractConstraintsTest
 
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
 
AbstractDynamicMockTest - class test.jmock.core.AbstractDynamicMockTest.
 
AbstractDynamicMockTest() - Constructor for class test.jmock.core.AbstractDynamicMockTest
 
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
 
AbstractTestExpectationCollection - class test.jmock.expectation.AbstractTestExpectationCollection.
 
AbstractTestExpectationCollection() - Constructor for class test.jmock.expectation.AbstractTestExpectationCollection
 
AlwaysFalse - class test.jmock.core.testsupport.AlwaysFalse.
 
AlwaysFalse() - Constructor for class test.jmock.core.testsupport.AlwaysFalse
 
AlwaysTrue - class test.jmock.core.testsupport.AlwaysTrue.
 
AlwaysTrue() - Constructor for class test.jmock.core.testsupport.AlwaysTrue
 
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
 
AndTest - class test.jmock.core.constraint.AndTest.
 
AndTest() - Constructor for class test.jmock.core.constraint.AndTest
 
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
 
ArgumentsMatcherTest - class test.jmock.core.matcher.ArgumentsMatcherTest.
 
ArgumentsMatcherTest() - Constructor for class test.jmock.core.matcher.ArgumentsMatcherTest
 
AssertMo - class org.jmock.expectation.AssertMo.
 
AssertMo() - Constructor for class org.jmock.expectation.AssertMo
 
AssertMoTest - class test.jmock.expectation.AssertMoTest.
 
AssertMoTest() - Constructor for class test.jmock.expectation.AssertMoTest
 
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
 
add(Invokable) - Method in class test.jmock.core.testsupport.MockInvocationDispatcher
 
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
 
addExpectation(InvocationMatcher) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
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
 
addInvokable - Variable in class test.jmock.core.testsupport.MockDynamicMock
 
addInvokable(Invokable) - Method in class test.jmock.core.testsupport.MockDynamicMock
 
addInvokable - Variable in class test.jmock.core.testsupport.MockInvocationDispatcher
 
addInvokableCalls - Variable in class test.jmock.core.testsupport.MockDynamicMock
 
addMatcher(InvocationMatcher) - Method in class org.jmock.core.InvocationMocker
 
addMatcher(InvocationMatcher) - Method in interface org.jmock.core.StubMatchersCollection
 
addMatcher(InvocationMatcher) - Method in class test.jmock.builder.testsupport.MockStubMatchersCollection
 
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
 
addedMatcher - Variable in class test.jmock.builder.testsupport.MockStubMatchersCollection
 
addedMatcherType - Variable in class test.jmock.builder.testsupport.MockStubMatchersCollection
 
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
 
after(String) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
after(BuilderNamespace, String) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
afterMock - Variable in class test.jmock.builder.testsupport.MockMatchBuilder
 
afterPreviousCallID - Variable in class test.jmock.builder.testsupport.MockMatchBuilder
 
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
 
assertHasNotRegisteredReturnType(DefaultResultStub, Class) - Method in class test.jmock.core.stub.DefaultResultStubTest
 
assertHasRegisteredValue(DefaultResultStub, Class, Object) - Method in class test.jmock.core.stub.DefaultResultStubTest
 
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
 
CGLIBCoreMockTest - class test.jmock.cglib.CGLIBCoreMockTest.
 
CGLIBCoreMockTest() - Constructor for class test.jmock.cglib.CGLIBCoreMockTest
 
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
 
CoreMockTest - class test.jmock.core.CoreMockTest.
 
CoreMockTest() - Constructor for class test.jmock.core.CoreMockTest
 
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
 
CustomStubTest - class test.jmock.core.stub.CustomStubTest.
 
CustomStubTest() - Constructor for class test.jmock.core.stub.CustomStubTest
 
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
 
clear() - Method in class test.jmock.core.testsupport.MockInvocationDispatcher
 
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
 
clearCalls - Variable in class test.jmock.core.testsupport.MockInvocationDispatcher
 
clearExpectation() - Method in class org.jmock.expectation.AbstractExpectationCollection
 
createDefaultResults() - Method in class org.jmock.core.stub.DefaultResultStub
 
createDynamicMock(String, InvocationDispatcher) - Method in class test.jmock.cglib.CGLIBCoreMockTest
 
createDynamicMock(String, InvocationDispatcher) - Method in class test.jmock.core.AbstractDynamicMockTest
 
createDynamicMock(String, InvocationDispatcher) - Method in class test.jmock.core.CoreMockTest
 
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
 
DefaultResultStubTest - class test.jmock.core.stub.DefaultResultStubTest.
 
DefaultResultStubTest(String) - Constructor for class test.jmock.core.stub.DefaultResultStubTest
 
DefaultResultStubTest.InterfaceType - interface test.jmock.core.stub.DefaultResultStubTest.InterfaceType.
 
Dummy - class org.jmock.util.Dummy.
 
DummyInterface - interface test.jmock.core.DummyInterface.
 
DummyTest - class test.jmock.util.DummyTest.
 
DummyTest() - Constructor for class test.jmock.util.DummyTest
 
DummyThrowable - class test.jmock.core.DummyThrowable.
 
DummyThrowable() - Constructor for class test.jmock.core.DummyThrowable
 
DummyThrowable(String) - Constructor for class test.jmock.core.DummyThrowable
 
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
 
describeTo(StringBuffer, List, Stub, String) - Method in class test.jmock.core.MockDescriber
 
describeTo(StringBuffer) - Method in class test.jmock.core.testsupport.AlwaysFalse
 
describeTo(StringBuffer) - Method in class test.jmock.core.testsupport.AlwaysTrue
 
describeTo(StringBuffer) - Method in class test.jmock.core.testsupport.MockConstraint
 
describeTo(StringBuffer) - Method in class test.jmock.core.testsupport.MockInvocationDispatcher
 
describeTo(StringBuffer) - Method in class test.jmock.core.testsupport.MockInvocationMatcher
 
describeTo(StringBuffer) - Method in class test.jmock.core.testsupport.MockInvokable
 
describeTo(StringBuffer) - Method in class test.jmock.core.testsupport.MockStub
 
describeToBuf - Variable in class test.jmock.core.MockDescriber
 
describeToBuffer - Variable in class test.jmock.core.testsupport.MockInvocationMatcher
 
describeToBuffer - Variable in class test.jmock.core.testsupport.MockStub
 
describeToMatchers - Variable in class test.jmock.core.MockDescriber
 
describeToName - Variable in class test.jmock.core.MockDescriber
 
describeToOutput - Variable in class test.jmock.core.testsupport.MockInvocationMatcher
 
describeToOutput - Variable in class test.jmock.core.testsupport.MockStub
 
describeToStub - Variable in class test.jmock.core.MockDescriber
 
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
 
dispatch(Invocation) - Method in class test.jmock.core.testsupport.MockInvocationDispatcher
 
dispatchInvocation - Variable in class test.jmock.core.testsupport.MockInvocationDispatcher
 
dispatchResult - Variable in class test.jmock.core.testsupport.MockInvocationDispatcher
 
dispatchThrowable - Variable in class test.jmock.core.testsupport.MockInvocationDispatcher
 
dispatcher - Variable in class org.jmock.core.DynamicMockError
 
dummyMethod() - Method in class test.jmock.core.FIFOInvocationDispatcherTest
 
dummyMethod() - Method in class test.jmock.core.LIFOInvocationDispatcherTest
 
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
 
ExpectationCounterTest - class test.jmock.expectation.ExpectationCounterTest.
 
ExpectationCounterTest() - Constructor for class test.jmock.expectation.ExpectationCounterTest
 
ExpectationDoubleValue - class org.jmock.expectation.ExpectationDoubleValue.
 
ExpectationDoubleValue(String) - Constructor for class org.jmock.expectation.ExpectationDoubleValue
 
ExpectationDoubleValueTest - class test.jmock.expectation.ExpectationDoubleValueTest.
 
ExpectationDoubleValueTest() - Constructor for class test.jmock.expectation.ExpectationDoubleValueTest
 
ExpectationList - class org.jmock.expectation.ExpectationList.
 
ExpectationList(String) - Constructor for class org.jmock.expectation.ExpectationList
 
ExpectationListTest - class test.jmock.expectation.ExpectationListTest.
 
ExpectationListTest() - Constructor for class test.jmock.expectation.ExpectationListTest
 
ExpectationMap - class org.jmock.expectation.ExpectationMap.
 
ExpectationMap(String) - Constructor for class org.jmock.expectation.ExpectationMap
 
ExpectationMapTest - class test.jmock.expectation.ExpectationMapTest.
 
ExpectationMapTest() - Constructor for class test.jmock.expectation.ExpectationMapTest
 
ExpectationSegment - class org.jmock.expectation.ExpectationSegment.
 
ExpectationSegment(String) - Constructor for class org.jmock.expectation.ExpectationSegment
 
ExpectationSegmentTest - class test.jmock.expectation.ExpectationSegmentTest.
 
ExpectationSegmentTest() - Constructor for class test.jmock.expectation.ExpectationSegmentTest
 
ExpectationSet - class org.jmock.expectation.ExpectationSet.
 
ExpectationSet(String) - Constructor for class org.jmock.expectation.ExpectationSet
 
ExpectationSetTest - class test.jmock.expectation.ExpectationSetTest.
 
ExpectationSetTest() - Constructor for class test.jmock.expectation.ExpectationSetTest
 
ExpectationValue - class org.jmock.expectation.ExpectationValue.
 
ExpectationValue(String) - Constructor for class org.jmock.expectation.ExpectationValue
 
ExpectationValueTest - class test.jmock.expectation.ExpectationValueTest.
 
ExpectationValueTest() - Constructor for class test.jmock.expectation.ExpectationValueTest
 
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
 
eval(Object) - Method in class test.jmock.core.testsupport.AlwaysFalse
 
eval(Object) - Method in class test.jmock.core.testsupport.AlwaysTrue
 
eval(Object) - Method in class test.jmock.core.testsupport.MockConstraint
 
expect(InvocationMatcher) - Method in class org.jmock.builder.InvocationMockerBuilder
 
expect(InvocationMatcher) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
expectAfter(IdentityBuilder) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
expectAtLeastOnce() - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
expectNotCalled() - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
expectNotCalledCalls - Variable in class test.jmock.builder.testsupport.MockMatchBuilder
 
expectOnce() - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
expects(InvocationMatcher) - Method in class org.jmock.Mock
 

F

FALSE_CONSTRAINT - Static variable in class test.jmock.core.constraint.AbstractConstraintsTest
 
FIFOInvocationDispatcher - class org.jmock.core.FIFOInvocationDispatcher.
 
FIFOInvocationDispatcher() - Constructor for class org.jmock.core.FIFOInvocationDispatcher
 
FIFOInvocationDispatcherTest - class test.jmock.core.FIFOInvocationDispatcherTest.
 
FIFOInvocationDispatcherTest() - Constructor for class test.jmock.core.FIFOInvocationDispatcherTest
 
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
 
getMockedType() - Method in class test.jmock.core.testsupport.MockDynamicMock
 
getMockedTypeCalls - Variable in class test.jmock.core.testsupport.MockDynamicMock
 
getMockedTypeResult - Variable in class test.jmock.core.testsupport.MockDynamicMock
 
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
 
hasDescription() - Method in class test.jmock.core.MockDescriber
 
hasDescription() - Method in class test.jmock.core.testsupport.MockInvocationMatcher
 
hasDescription() - Method in class test.jmock.core.testsupport.MockInvokable
 
hasDescriptionCalls - Variable in class test.jmock.core.MockDescriber
 
hasDescriptionResult - Variable in class test.jmock.core.MockDescriber
 
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
 
INSTANCE - Static variable in class test.jmock.core.testsupport.AlwaysFalse
 
INSTANCE - Static variable in class test.jmock.core.testsupport.AlwaysTrue
 
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
 
InvocationMockerBuilderTest - class test.jmock.builder.InvocationMockerBuilderTest.
 
InvocationMockerBuilderTest() - Constructor for class test.jmock.builder.InvocationMockerBuilderTest
 
InvocationMockerBuilderTest.MockedInterface - interface test.jmock.builder.InvocationMockerBuilderTest.MockedInterface.
 
InvocationMockerDescriber - class org.jmock.builder.InvocationMockerDescriber.
 
InvocationMockerDescriber() - Constructor for class org.jmock.builder.InvocationMockerDescriber
 
InvocationMockerDescriberTest - class test.jmock.builder.InvocationMockerDescriberTest.
 
InvocationMockerDescriberTest() - Constructor for class test.jmock.builder.InvocationMockerDescriberTest
 
InvocationMockerTest - class test.jmock.core.InvocationMockerTest.
 
InvocationMockerTest() - Constructor for class test.jmock.core.InvocationMockerTest
 
InvocationTest - class test.jmock.core.InvocationTest.
 
InvocationTest(String) - Constructor for class test.jmock.core.InvocationTest
 
Invokable - interface org.jmock.core.Invokable.
 
InvokeAtLeastOnceMatcher - class org.jmock.core.matcher.InvokeAtLeastOnceMatcher.
 
InvokeAtLeastOnceMatcher() - Constructor for class org.jmock.core.matcher.InvokeAtLeastOnceMatcher
 
InvokeAtLeastOnceMatcherTest - class test.jmock.core.matcher.InvokeAtLeastOnceMatcherTest.
 
InvokeAtLeastOnceMatcherTest() - Constructor for class test.jmock.core.matcher.InvokeAtLeastOnceMatcherTest
 
InvokeOnceMatcher - class org.jmock.core.matcher.InvokeOnceMatcher.
 
InvokeOnceMatcher() - Constructor for class org.jmock.core.matcher.InvokeOnceMatcher
 
InvokeOnceMatcherTest - class test.jmock.core.matcher.InvokeOnceMatcherTest.
 
InvokeOnceMatcherTest() - Constructor for class test.jmock.core.matcher.InvokeOnceMatcherTest
 
InvokedAfterMatcher - class org.jmock.core.matcher.InvokedAfterMatcher.
 
InvokedAfterMatcher(InvokedRecorder, String) - Constructor for class org.jmock.core.matcher.InvokedAfterMatcher
 
InvokedAfterMatcherTest - class test.jmock.core.matcher.InvokedAfterMatcherTest.
 
InvokedAfterMatcherTest() - Constructor for class test.jmock.core.matcher.InvokedAfterMatcherTest
 
InvokedRecorder - class org.jmock.core.matcher.InvokedRecorder.
 
InvokedRecorder() - Constructor for class org.jmock.core.matcher.InvokedRecorder
 
InvokedRecorderTest - class test.jmock.core.matcher.InvokedRecorderTest.
 
InvokedRecorderTest() - Constructor for class test.jmock.core.matcher.InvokedRecorderTest
 
IsAnything - class org.jmock.core.constraint.IsAnything.
A constraint that always returns true.
IsAnything() - Constructor for class org.jmock.core.constraint.IsAnything
 
IsAnythingTest - class test.jmock.core.constraint.IsAnythingTest.
 
IsAnythingTest() - Constructor for class test.jmock.core.constraint.IsAnythingTest
 
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
 
IsCloseToTest - class test.jmock.core.constraint.IsCloseToTest.
 
IsCloseToTest() - Constructor for class test.jmock.core.constraint.IsCloseToTest
 
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
 
IsEqualTest - class test.jmock.core.constraint.IsEqualTest.
 
IsEqualTest() - Constructor for class test.jmock.core.constraint.IsEqualTest
 
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.
IsEventFromTest - class test.jmock.core.constraint.IsEventFromTest.
 
IsEventFromTest() - Constructor for class test.jmock.core.constraint.IsEventFromTest
 
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
 
IsGreaterThanTest - class test.jmock.core.constraint.IsGreaterThanTest.
 
IsGreaterThanTest() - Constructor for class test.jmock.core.constraint.IsGreaterThanTest
 
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
IsInstanceOfTest - class test.jmock.core.constraint.IsInstanceOfTest.
 
IsInstanceOfTest() - Constructor for class test.jmock.core.constraint.IsInstanceOfTest
 
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
 
IsLessThanTest - class test.jmock.core.constraint.IsLessThanTest.
 
IsLessThanTest() - Constructor for class test.jmock.core.constraint.IsLessThanTest
 
IsNot - class org.jmock.core.constraint.IsNot.
Calculates the logical negation of a constraint.
IsNot(Constraint) - Constructor for class org.jmock.core.constraint.IsNot
 
IsNotTest - class test.jmock.core.constraint.IsNotTest.
 
IsNotTest() - Constructor for class test.jmock.core.constraint.IsNotTest
 
IsNull - class org.jmock.core.constraint.IsNull.
Is the value null?
IsNull() - Constructor for class org.jmock.core.constraint.IsNull
 
IsNullTest - class test.jmock.core.constraint.IsNullTest.
 
IsNullTest() - Constructor for class test.jmock.core.constraint.IsNullTest
 
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
IsSameTest - class test.jmock.core.constraint.IsSameTest.
 
IsSameTest() - Constructor for class test.jmock.core.constraint.IsSameTest
 
id(String) - Method in interface org.jmock.builder.IdentityBuilder
 
id(String) - Method in class org.jmock.builder.InvocationMockerBuilder
 
id - Variable in class test.jmock.builder.testsupport.MockMatchBuilder
 
id(String) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
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
 
invoke(Object, Method, Object[]) - Method in class test.jmock.core.testsupport.MockDynamicMock
 
invoke(Invocation) - Method in class test.jmock.core.testsupport.MockInvokable
 
invoke(Invocation) - Method in class test.jmock.core.testsupport.MockStub
 
invokeInvocation - Variable in class test.jmock.core.testsupport.MockInvokable
 
invokeInvocation - Variable in class test.jmock.core.testsupport.MockStub
 
invokeResult - Variable in class test.jmock.core.testsupport.MockInvokable
 
invokeResult - Variable in class test.jmock.core.testsupport.MockStub
 
invokeThrow - Variable in class test.jmock.core.testsupport.MockInvokable
 
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
 
invoked(Invocation) - Method in class test.jmock.core.testsupport.MockInvocationMatcher
 
invokedInvocation - Variable in class test.jmock.core.testsupport.MockInvocationMatcher
 
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
 
isVoid() - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 

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
 
LIFOInvocationDispatcherTest - class test.jmock.core.LIFOInvocationDispatcherTest.
 
LIFOInvocationDispatcherTest() - Constructor for class test.jmock.core.LIFOInvocationDispatcherTest
 
lookupID(String) - Method in class org.jmock.Mock
 
lookupID(String) - Method in interface org.jmock.builder.BuilderNamespace
 
lookupID - Variable in class test.jmock.builder.testsupport.MockBuilderIdentityTable
 
lookupID(String) - Method in class test.jmock.builder.testsupport.MockBuilderIdentityTable
 
lookupIDError - Variable in class test.jmock.builder.testsupport.MockBuilderIdentityTable
 
lookupIDResult - Variable in class test.jmock.builder.testsupport.MockBuilderIdentityTable
 

M

METHOD_NOARGVOID_ARGS - Static variable in interface test.jmock.core.DummyInterface
 
METHOD_NOARGVOID_NAME - Static variable in interface test.jmock.core.DummyInterface
 
METHOD_NOARG_ARGS - Static variable in interface test.jmock.core.DummyInterface
 
METHOD_NOARG_NAME - Static variable in interface test.jmock.core.DummyInterface
 
METHOD_NOARG_RESULT - Static variable in interface test.jmock.core.DummyInterface
 
METHOD_ONEARG_ARGS - Static variable in interface test.jmock.core.DummyInterface
 
METHOD_ONEARG_NAME - Static variable in interface test.jmock.core.DummyInterface
 
METHOD_ONEARG_RESULT - Static variable in interface test.jmock.core.DummyInterface
 
METHOD_TWOARG_ARGS - Static variable in interface test.jmock.core.DummyInterface
 
METHOD_TWOARG_NAME - Static variable in interface test.jmock.core.DummyInterface
 
METHOD_TWOARG_RESULT - Static variable in interface test.jmock.core.DummyInterface
 
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
 
MapEntryTest - class test.jmock.expectation.MapEntryTest.
 
MapEntryTest() - Constructor for class test.jmock.expectation.MapEntryTest
 
MatchBuilder - interface org.jmock.builder.MatchBuilder.
 
MethodFactory - class test.jmock.core.testsupport.MethodFactory.
 
MethodFactory() - Constructor for class test.jmock.core.testsupport.MethodFactory
 
MethodFactoryTest - class test.jmock.core.testsupport.MethodFactoryTest.
 
MethodFactoryTest() - Constructor for class test.jmock.core.testsupport.MethodFactoryTest
 
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
 
MethodNameMatcherTest - class test.jmock.core.matcher.MethodNameMatcherTest.
 
MethodNameMatcherTest() - Constructor for class test.jmock.core.matcher.MethodNameMatcherTest
 
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
 
MockBuilderIdentityTable - class test.jmock.builder.testsupport.MockBuilderIdentityTable.
 
MockBuilderIdentityTable() - Constructor for class test.jmock.builder.testsupport.MockBuilderIdentityTable
 
MockConstraint - class test.jmock.core.testsupport.MockConstraint.
 
MockConstraint(String) - Constructor for class test.jmock.core.testsupport.MockConstraint
 
MockConstraint(String, Object, boolean) - Constructor for class test.jmock.core.testsupport.MockConstraint
 
MockDescriber - class test.jmock.core.MockDescriber.
 
MockDescriber() - Constructor for class test.jmock.core.MockDescriber
 
MockDynamicMock - class test.jmock.core.testsupport.MockDynamicMock.
 
MockDynamicMock() - Constructor for class test.jmock.core.testsupport.MockDynamicMock
 
MockInvocationDispatcher - class test.jmock.core.testsupport.MockInvocationDispatcher.
 
MockInvocationDispatcher() - Constructor for class test.jmock.core.testsupport.MockInvocationDispatcher
 
MockInvocationMatcher - class test.jmock.core.testsupport.MockInvocationMatcher.
 
MockInvocationMatcher(String) - Constructor for class test.jmock.core.testsupport.MockInvocationMatcher
 
MockInvocationMatcher() - Constructor for class test.jmock.core.testsupport.MockInvocationMatcher
 
MockInvokable - class test.jmock.core.testsupport.MockInvokable.
 
MockInvokable() - Constructor for class test.jmock.core.testsupport.MockInvokable
 
MockMatchBuilder - class test.jmock.builder.testsupport.MockMatchBuilder.
 
MockMatchBuilder() - Constructor for class test.jmock.builder.testsupport.MockMatchBuilder
 
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
 
MockObjectSupportTestCaseTest - class test.jmock.core.MockObjectSupportTestCaseTest.
 
MockObjectSupportTestCaseTest() - Constructor for class test.jmock.core.MockObjectSupportTestCaseTest
 
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
 
MockObjectTestCaseTest - class test.jmock.MockObjectTestCaseTest.
 
MockObjectTestCaseTest() - Constructor for class test.jmock.MockObjectTestCaseTest
 
MockStub - class test.jmock.core.testsupport.MockStub.
 
MockStub() - Constructor for class test.jmock.core.testsupport.MockStub
 
MockStub(String) - Constructor for class test.jmock.core.testsupport.MockStub
 
MockStubMatchersCollection - class test.jmock.builder.testsupport.MockStubMatchersCollection.
 
MockStubMatchersCollection() - Constructor for class test.jmock.builder.testsupport.MockStubMatchersCollection
 
MockTest - class test.jmock.MockTest.
 
MockTest() - Constructor for class test.jmock.MockTest
 
MockVerifiable - class test.jmock.core.testsupport.MockVerifiable.
 
MockVerifiable() - Constructor for class test.jmock.core.testsupport.MockVerifiable
 
match(InvocationMatcher) - Method in class org.jmock.builder.InvocationMockerBuilder
 
match(InvocationMatcher) - Method in interface org.jmock.builder.MatchBuilder
 
match(InvocationMatcher) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
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
 
matches(Invocation) - Method in class test.jmock.core.testsupport.MockInvocationMatcher
 
matches(Invocation) - Method in class test.jmock.core.testsupport.MockInvokable
 
matchesInvocation - Variable in class test.jmock.core.testsupport.MockInvocationMatcher
 
matchesInvocation - Variable in class test.jmock.core.testsupport.MockInvokable
 
matchesResult - Variable in class test.jmock.core.testsupport.MockInvocationMatcher
 
matchesResult - Variable in class test.jmock.core.testsupport.MockInvokable
 
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
 
method() - Method in interface test.jmock.builder.InvocationMockerBuilderTest.MockedInterface
 
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
 
mockedType() - Method in class test.jmock.cglib.CGLIBCoreMockTest
 
mockedType() - Method in class test.jmock.core.AbstractDynamicMockTest
 
mockedType() - Method in class test.jmock.core.CoreMockTest
 
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

NEVER_EVALUATED - Static variable in class test.jmock.core.constraint.AbstractConstraintsTest
 
NOT_NULL - Static variable in class org.jmock.core.MockObjectSupportTestCase
 
NO_ARGUMENTS - Static variable in class test.jmock.core.testsupport.MethodFactory
 
NO_EXCEPTIONS - Static variable in class test.jmock.core.testsupport.MethodFactory
 
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.
NullTest - class test.jmock.expectation.NullTest.
 
NullTest() - Constructor for class test.jmock.expectation.NullTest
 
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
 
newMethod(String, Class[], Class, Class[]) - Method in class test.jmock.core.testsupport.MethodFactory
 
newMethodReturning(Class) - Method in class test.jmock.core.testsupport.MethodFactory
 
nextReturnObject() - Method in class org.jmock.expectation.ReturnObjectList
Returns the next object from the list.
noArgMethod() - Method in interface test.jmock.core.DummyInterface
 
noArgVoidMethod() - Method in interface test.jmock.core.DummyInterface
 
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
 
OrTest - class test.jmock.core.constraint.OrTest.
 
OrTest() - Constructor for class test.jmock.core.constraint.OrTest
 
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
 
oneArgMethod(String) - Method in interface test.jmock.core.DummyInterface
 
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
 
proxy() - Method in class test.jmock.core.AbstractDynamicMockTest
 
proxy() - Method in class test.jmock.core.testsupport.MockDynamicMock
 
proxyResult - Variable in class test.jmock.core.testsupport.MockDynamicMock
 
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
 
ReturnObjectBagTest - class test.jmock.expectation.ReturnObjectBagTest.
 
ReturnObjectBagTest() - Constructor for class test.jmock.expectation.ReturnObjectBagTest
 
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
ReturnObjectListTest - class test.jmock.expectation.ReturnObjectListTest.
 
ReturnObjectListTest() - Constructor for class test.jmock.expectation.ReturnObjectListTest
 
ReturnObjectMap - class org.jmock.expectation.ReturnObjectMap.
 
ReturnObjectMap(String) - Constructor for class org.jmock.expectation.ReturnObjectMap
 
ReturnObjectMapTest - class test.jmock.expectation.ReturnObjectMapTest.
 
ReturnObjectMapTest() - Constructor for class test.jmock.expectation.ReturnObjectMapTest
 
ReturnStub - class org.jmock.core.stub.ReturnStub.
 
ReturnStub(Object) - Constructor for class org.jmock.core.stub.ReturnStub
 
ReturnStubTest - class test.jmock.core.stub.ReturnStubTest.
 
ReturnStubTest() - Constructor for class test.jmock.core.stub.ReturnStubTest
 
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
 
ReturnValueTest - class test.jmock.expectation.ReturnValueTest.
 
ReturnValueTest() - Constructor for class test.jmock.expectation.ReturnValueTest
 
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
 
registerMethodName - Variable in class test.jmock.builder.testsupport.MockBuilderIdentityTable
 
registerMethodName(String, MatchBuilder) - Method in class test.jmock.builder.testsupport.MockBuilderIdentityTable
 
registerMethodNameBuilder - Variable in class test.jmock.builder.testsupport.MockBuilderIdentityTable
 
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
 
registerUniqueID - Variable in class test.jmock.builder.testsupport.MockBuilderIdentityTable
 
registerUniqueID(String, MatchBuilder) - Method in class test.jmock.builder.testsupport.MockBuilderIdentityTable
 
registerUniqueIDBuilder - Variable in class test.jmock.builder.testsupport.MockBuilderIdentityTable
 
reset() - Method in class org.jmock.Mock
 
reset() - Method in class org.jmock.core.AbstractDynamicMock
 
reset() - Method in interface org.jmock.core.DynamicMock
 
reset() - Method in class test.jmock.core.testsupport.MockDynamicMock
 
resetCalls - Variable in class test.jmock.core.testsupport.MockDynamicMock
 
returnInt() - Method in interface test.jmock.core.stub.DefaultResultStubTest.InterfaceType
 
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
 
StringContainsTest - class test.jmock.core.constraint.StringContainsTest.
 
StringContainsTest() - Constructor for class test.jmock.core.constraint.StringContainsTest
 
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
 
StubSequenceTest - class test.jmock.core.stub.StubSequenceTest.
 
StubSequenceTest() - Constructor for class test.jmock.core.stub.StubSequenceTest
 
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
 
setDefaultStub - Variable in class test.jmock.core.testsupport.MockDynamicMock
 
setDefaultStub(Stub) - Method in class test.jmock.core.testsupport.MockDynamicMock
 
setDefaultStub - Variable in class test.jmock.core.testsupport.MockInvocationDispatcher
 
setDefaultStub(Stub) - Method in class test.jmock.core.testsupport.MockInvocationDispatcher
 
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
 
setExpectedVerifyCalls(int) - Method in class test.jmock.core.VerifyingTestCaseTest.ExampleTestCase
 
setExpectedVerifyCalls(int) - Method in class test.jmock.core.testsupport.MockVerifiable
 
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
 
setName - Variable in class test.jmock.builder.testsupport.MockStubMatchersCollection
 
setName(String) - Method in class test.jmock.builder.testsupport.MockStubMatchersCollection
 
setStub(Stub) - Method in class org.jmock.core.InvocationMocker
 
setStub(Stub) - Method in interface org.jmock.core.StubMatchersCollection
 
setStub - Variable in class test.jmock.builder.testsupport.MockStubMatchersCollection
 
setStub(Stub) - Method in class test.jmock.builder.testsupport.MockStubMatchersCollection
 
setStubReturnValue - Variable in class test.jmock.builder.testsupport.MockStubMatchersCollection
 
setStubType - Variable in class test.jmock.builder.testsupport.MockStubMatchersCollection
 
setUp() - Method in class test.jmock.MockObjectTestCaseTest
 
setUp() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
setUp() - Method in class test.jmock.builder.InvocationMockerDescriberTest
 
setUp() - Method in class test.jmock.core.AbstractDynamicMockTest
 
setUp() - Method in class test.jmock.core.FIFOInvocationDispatcherTest
 
setUp() - Method in class test.jmock.core.InvocationMockerTest
 
setUp() - Method in class test.jmock.core.InvocationTest
 
setUp() - Method in class test.jmock.core.LIFOInvocationDispatcherTest
 
setUp() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
setUp() - Method in class test.jmock.core.constraint.StringContainsTest
 
setUp() - Method in class test.jmock.core.matcher.ArgumentsMatcherTest
 
setUp() - Method in class test.jmock.core.matcher.InvokeAtLeastOnceMatcherTest
 
setUp() - Method in class test.jmock.core.matcher.InvokeOnceMatcherTest
 
setUp() - Method in class test.jmock.core.matcher.InvokedAfterMatcherTest
 
setUp() - Method in class test.jmock.core.matcher.InvokedRecorderTest
 
setUp() - Method in class test.jmock.core.matcher.MethodNameMatcherTest
 
setUp() - Method in class test.jmock.core.matcher.TestFailureMatcherTest
 
setUp() - Method in class test.jmock.core.stub.DefaultResultStubTest
 
setUp() - Method in class test.jmock.core.stub.ReturnStubTest
 
setUp() - Method in class test.jmock.core.stub.TestFailureStubTest
 
setUp() - Method in class test.jmock.core.stub.ThrowStubTest
 
setUp() - Method in class test.jmock.core.stub.VoidStubTest
 
setUp() - Method in class test.jmock.core.testsupport.MethodFactoryTest
 
setUp() - Method in class test.jmock.expectation.ExpectationListTest
 
setUp() - Method in class test.jmock.expectation.ExpectationSegmentTest
 
setUp() - Method in class test.jmock.expectation.ExpectationSetTest
 
setUp() - Method in class test.jmock.expectation.ReturnObjectBagTest
 
setUp() - Method in class test.jmock.expectation.ReturnObjectMapTest
 
setUp() - Method in class test.jmock.expectation.ReturnValueTest
 
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
 
stub(Stub) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
stubs() - Method in class org.jmock.Mock
 

T

TRUE_CONSTRAINT - Static variable in class test.jmock.core.constraint.AbstractConstraintsTest
 
TestFailureMatcher - class org.jmock.core.matcher.TestFailureMatcher.
 
TestFailureMatcher(String) - Constructor for class org.jmock.core.matcher.TestFailureMatcher
 
TestFailureMatcherTest - class test.jmock.core.matcher.TestFailureMatcherTest.
 
TestFailureMatcherTest() - Constructor for class test.jmock.core.matcher.TestFailureMatcherTest
 
TestFailureStub - class org.jmock.core.stub.TestFailureStub.
 
TestFailureStub(String) - Constructor for class org.jmock.core.stub.TestFailureStub
 
TestFailureStubTest - class test.jmock.core.stub.TestFailureStubTest.
 
TestFailureStubTest() - Constructor for class test.jmock.core.stub.TestFailureStubTest
 
ThrowStub - class org.jmock.core.stub.ThrowStub.
 
ThrowStub(Throwable) - Constructor for class org.jmock.core.stub.ThrowStub
 
ThrowStubTest - class test.jmock.core.stub.ThrowStubTest.
 
ThrowStubTest() - Constructor for class test.jmock.core.stub.ThrowStubTest
 
ThrowStubTest.ExpectedExceptionType1 - exception test.jmock.core.stub.ThrowStubTest.ExpectedExceptionType1.
 
ThrowStubTest.ExpectedExceptionType1() - Constructor for class test.jmock.core.stub.ThrowStubTest.ExpectedExceptionType1
 
ThrowStubTest.ExpectedExceptionType2 - exception test.jmock.core.stub.ThrowStubTest.ExpectedExceptionType2.
 
ThrowStubTest.ExpectedExceptionType2() - Constructor for class test.jmock.core.stub.ThrowStubTest.ExpectedExceptionType2
 
ToDo - class test.jmock.ToDo.
 
ToDo() - Constructor for class test.jmock.ToDo
 
test.jmock - package test.jmock
 
test.jmock.builder - package test.jmock.builder
 
test.jmock.builder.testsupport - package test.jmock.builder.testsupport
 
test.jmock.cglib - package test.jmock.cglib
 
test.jmock.core - package test.jmock.core
 
test.jmock.core.constraint - package test.jmock.core.constraint
 
test.jmock.core.matcher - package test.jmock.core.matcher
 
test.jmock.core.stub - package test.jmock.core.stub
 
test.jmock.core.testsupport - package test.jmock.core.testsupport
 
test.jmock.expectation - package test.jmock.expectation
 
test.jmock.util - package test.jmock.util
 
testAddsInvokablesToDispatcher() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testAddsSeparatorAfterMethodNameIfNoArgumentsMatcher() - Method in class test.jmock.builder.InvocationMockerDescriberTest
 
testAllowsVerifiableObjectsToBeUnregistered() - Method in class test.jmock.core.VerifyingTestCaseTest
 
testAlwaysEvaluatesToTrue() - Method in class test.jmock.core.constraint.IsAnythingTest
 
testAlwaysMatches() - Method in class test.jmock.core.matcher.InvokeAtLeastOnceMatcherTest
 
testAlwaysMatches() - Method in class test.jmock.core.matcher.InvokedRecorderTest
 
testAlwaysMatches() - Method in class test.jmock.core.matcher.TestFailureMatcherTest
 
testAlwaysVerifies() - Method in class test.jmock.core.matcher.InvokedRecorderTest
 
testAlwaysVerifies() - Method in class test.jmock.core.matcher.TestFailureMatcherTest
 
testAnExplicitlyRegisteredResultOverridesThePreviousResultForTheSameType() - Method in class test.jmock.core.stub.DefaultResultStubTest
 
testAnyParamsAddsAnyArgumentMatcher() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testAppendsEmphasisedName() - Method in class test.jmock.builder.InvocationMockerDescriberTest
 
testArgumentsMatchWhenAllArgumentsMatch() - Method in class test.jmock.core.matcher.ArgumentsMatcherTest
 
testAssertExcludes() - Method in class test.jmock.expectation.AssertMoTest
 
testAssertExcludesFails() - Method in class test.jmock.expectation.AssertMoTest
 
testAssertIncludes() - Method in class test.jmock.expectation.AssertMoTest
 
testAssertIncludesFails() - Method in class test.jmock.expectation.AssertMoTest
 
testAssertStartsWith() - Method in class test.jmock.expectation.AssertMoTest
 
testAssertStartsWithFails() - Method in class test.jmock.expectation.AssertMoTest
 
testAutomaticallyVerifiesAnyObjectsRegisteredAsRequiringVerificatin() - Method in class test.jmock.core.VerifyingTestCaseTest
 
testAutomaticallyVerifiesVerifiableFieldsAfterTheTestRunAndBeforeTearDown() - Method in class test.jmock.core.VerifyingTestCaseTest
 
testBooleanFail() - Method in class test.jmock.expectation.ExpectationValueTest
 
testBooleanPass() - Method in class test.jmock.expectation.ExpectationValueTest
 
testByDefaultInvokeFailsWhenNoInvokablesMatch() - Method in class test.jmock.core.FIFOInvocationDispatcherTest
 
testByDefaultInvokeFailsWhenNoInvokablesMatch() - Method in class test.jmock.core.LIFOInvocationDispatcherTest
 
testCalculatesHashCodeForProxy() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testCanAddCustomMatcher() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testCanAddMatchers() - Method in class test.jmock.core.InvocationMockerTest
 
testCanBeConstructedFromAMethodObject() - Method in class test.jmock.core.InvocationTest
 
testCanBeConstructedWithAName() - Method in class test.jmock.MockObjectTestCaseTest
 
testCanBeConstructedWithAName() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testCanBeConstructedWithAName() - Method in class test.jmock.core.VerifyingTestCaseTest
 
testCanBeGivenAnExplicitNameThatIsReturnedByToString() - Method in class test.jmock.util.DummyTest
 
testCanBeNamed() - Method in class test.jmock.core.InvocationMockerTest
 
testCanCompareNullValues() - Method in class test.jmock.core.constraint.IsEqualTest
 
testCanCreateDummyObjectsThatReturnANameFromString() - Method in class test.jmock.util.DummyTest
 
testCanCreateNamedDummyObjects() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testCanCreateNamedDummyObjectsThatImplementASpecificInterface() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testCanExplicitlyVerifyThatItHasBeenInvoked() - Method in class test.jmock.core.matcher.InvokedRecorderTest
 
testCanOverrideEqualsForProxyBySettingAStub() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testCanOverrideHashCodeForProxyBySettingAStub() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testCanReturnNullReference() - Method in class test.jmock.core.stub.ReturnStubTest
 
testCanSetCustomStub() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testCanTestForSpecificEventClasses() - Method in class test.jmock.core.constraint.IsEventFromTest
 
testChanginHashcodeImediateCheck() - Method in class test.jmock.expectation.ExpectationSetTest
 
testChangingHashcode() - Method in class test.jmock.expectation.ExpectationSetTest
 
testClearRemovesAllInvokables() - Method in class test.jmock.core.FIFOInvocationDispatcherTest
 
testClearRemovesAllInvokables() - Method in class test.jmock.core.LIFOInvocationDispatcherTest
 
testClonesConstraintListDuringConstructor() - Method in class test.jmock.core.matcher.ArgumentsMatcherTest
 
testComparesObjectsUsingEqualsMethod() - Method in class test.jmock.core.constraint.IsEqualTest
 
testComparesTheElementsOfAnArrayOfPrimitiveTypes() - Method in class test.jmock.core.constraint.IsEqualTest
 
testComparesTheElementsOfAnObjectArray() - Method in class test.jmock.core.constraint.IsEqualTest
 
testConstructorInterpretsNullParameterValueArrayAsZeroArguments() - Method in class test.jmock.core.InvocationTest
 
testConvenienceMethodForCreatingIsEqualConstraintsIsOverloadedForPrimitiveTypes() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testCreatesMethodInNewNamedClass() - Method in class test.jmock.core.testsupport.MethodFactoryTest
 
testCreatesMethodThatReturnsAType() - Method in class test.jmock.core.testsupport.MethodFactoryTest
 
testDefaultResultsCanBeExplicitlyOverriddenByType() - Method in class test.jmock.core.stub.DefaultResultStubTest
 
testDelegatesAddInvokableToCoreMock() - Method in class test.jmock.MockTest
 
testDelegatesInvocationToStubObject() - Method in class test.jmock.core.InvocationMockerTest
 
testDelegatesMethodNameMatchToConstraint() - Method in class test.jmock.core.matcher.MethodNameMatcherTest
 
testDelegatesRequestForDescriptionDescriberObject() - Method in class test.jmock.core.InvocationMockerTest
 
testDelegatesVerifyToInvocationMatchers() - Method in class test.jmock.core.InvocationMockerTest
 
testDelegatgesResetToCoreMock() - Method in class test.jmock.MockTest
 
testDescribesAdditionalMatchersWithAppropriatePunctuation() - Method in class test.jmock.builder.InvocationMockerDescriberTest
 
testDescribesItselfAsSequenceOfStubs() - Method in class test.jmock.core.stub.StubSequenceTest
 
testDescribesLeadingExpectation() - Method in class test.jmock.builder.InvocationMockerDescriberTest
 
testDescribesLeadingStub() - Method in class test.jmock.builder.InvocationMockerDescriberTest
 
testDescription() - Method in class test.jmock.expectation.NullTest
 
testDifferentArrays() - Method in class test.jmock.expectation.AssertMoTest
 
testDifferentLengthArrays() - Method in class test.jmock.expectation.AssertMoTest
 
testDifferentObjectArrays() - Method in class test.jmock.expectation.AssertMoTest
 
testDoesNotCheckTypeCompatiblityOfErrors() - Method in class test.jmock.core.stub.ThrowStubTest
 
testDoesNotCheckTypeCompatiblityOfUncheckedExceptions() - Method in class test.jmock.core.stub.ThrowStubTest
 
testDoesNotMatchIfAnyMatcherDoesNotMatch() - Method in class test.jmock.core.InvocationMockerTest
 
testDoesNotMatchIfConstraintFails() - Method in class test.jmock.core.matcher.MethodNameMatcherTest
 
testDoesNotWriteDescription() - Method in class test.jmock.core.matcher.InvokedRecorderTest
 
testDoubleFail() - Method in class test.jmock.expectation.ExpectationValueTest
 
testDoublePass() - Method in class test.jmock.expectation.ExpectationValueTest
 
testDuplicateMethodNameOverridesPreviousMapping() - Method in class test.jmock.MockTest
 
testDuplicateUniqueIDCausesTestFailure() - Method in class test.jmock.MockTest
 
testEarlierInvokablesOverrideLaterInvokables() - Method in class test.jmock.core.FIFOInvocationDispatcherTest
 
testEmpty() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testEmptyList() - Method in class test.jmock.expectation.ReturnObjectBagTest
 
testEmptyList() - Method in class test.jmock.expectation.ReturnObjectListTest
 
testEmptyList() - Method in class test.jmock.expectation.ReturnObjectMapTest
 
testEqualArrays() - Method in class test.jmock.expectation.AssertMoTest
 
testEqualEmptyArrays() - Method in class test.jmock.expectation.AssertMoTest
 
testEquals() - Method in class test.jmock.expectation.MapEntryTest
 
testEquals() - Method in class test.jmock.expectation.NullTest
 
testEvaluatesArgumentsLeftToRightAndShortCircuitsEvaluation() - Method in class test.jmock.core.constraint.AndTest
 
testEvaluatesArgumentsLeftToRightAndShortCircuitsEvaluation() - Method in class test.jmock.core.constraint.OrTest
 
testEvaluatesToTheTheLogicalConjunctionOfTwoOtherConstraints() - Method in class test.jmock.core.constraint.AndTest
 
testEvaluatesToTheTheLogicalDisjunctionOfTwoOtherConstraint() - Method in class test.jmock.core.constraint.OrTest
 
testEvaluatesToTheTheLogicalNegationOfAnotherConstraint() - Method in class test.jmock.core.constraint.IsNotTest
 
testEvaluatesToTrueIfArgumentContainsSpecifiedSubstring() - Method in class test.jmock.core.constraint.StringContainsTest
 
testEvaluatesToTrueIfArgumentIsAnEventObjectFiredByASpecifiedSource() - Method in class test.jmock.core.constraint.IsEventFromTest
 
testEvaluatesToTrueIfArgumentIsEqualToADoubleValueWithinSomeError() - Method in class test.jmock.core.constraint.IsCloseToTest
 
testEvaluatesToTrueIfArgumentIsEqualToSubstring() - Method in class test.jmock.core.constraint.StringContainsTest
 
testEvaluatesToTrueIfArgumentIsGreaterThanAComparableObject() - Method in class test.jmock.core.constraint.IsGreaterThanTest
 
testEvaluatesToTrueIfArgumentIsInstanceOfASpecificClass() - Method in class test.jmock.core.constraint.IsInstanceOfTest
 
testEvaluatesToTrueIfArgumentIsLessThanAComparableObject() - Method in class test.jmock.core.constraint.IsLessThanTest
 
testEvaluatesToTrueIfArgumentIsNull() - Method in class test.jmock.core.constraint.IsNullTest
 
testEvaluatesToTrueIfArgumentIsReferenceToASpecifiedObject() - Method in class test.jmock.core.constraint.IsSameTest
 
testExceptionsPropagatedThroughProxy() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testExpectAddsInvocationMockerAndAddsExpectationAndReturnsBuilder() - Method in class test.jmock.MockTest
 
testExpectMissingEntry() - Method in class test.jmock.expectation.ExpectationMapTest
 
testExpectNothing() - Method in class test.jmock.expectation.ExpectationCounterTest
 
testExpectNothing() - Method in class test.jmock.expectation.ExpectationDoubleValueTest
 
testExpectNothing() - Method in class test.jmock.expectation.ExpectationSegmentTest
 
testExpectNothing() - Method in class test.jmock.expectation.ExpectationValueTest
 
testExpectNothingFail() - Method in class test.jmock.expectation.ExpectationDoubleValueTest
 
testExpectNothingFail() - Method in class test.jmock.expectation.ExpectationSegmentTest
 
testExpectNothingFail() - Method in class test.jmock.expectation.ExpectationValueTest
 
testExpectNothingFailure() - Method in class test.jmock.expectation.ExpectationCounterTest
 
testExpectNullEntry() - Method in class test.jmock.expectation.ExpectationMapTest
 
testExpectOneEntry() - Method in class test.jmock.expectation.ExpectationMapTest
 
testExpectTwoEntries() - Method in class test.jmock.expectation.ExpectationMapTest
 
testExpectingALong() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testExposesDefaultStubOfDispatcher() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testFailImmediately() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testFailImmediately() - Method in class test.jmock.expectation.ExpectationCounterTest
 
testFailImmediatelyAddingTooMany() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testFailOnSizes() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testFailOnVerify() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testFailOnVerify() - Method in class test.jmock.expectation.ExpectationCounterTest
 
testFailOnVerify() - Method in class test.jmock.expectation.ExpectationDoubleValueTest
 
testFailOnVerify() - Method in class test.jmock.expectation.ExpectationMapTest
 
testFailOnVerify() - Method in class test.jmock.expectation.ExpectationSegmentTest
 
testFailOnVerify() - Method in class test.jmock.expectation.ExpectationValueTest
 
testFailOneEntry() - Method in class test.jmock.expectation.ExpectationMapTest
 
testFailOutsideError() - Method in class test.jmock.expectation.ExpectationDoubleValueTest
 
testFailsIfInvokedOutOfOrder() - Method in class test.jmock.core.matcher.InvokedAfterMatcherTest
 
testFailsImmediately() - Method in class test.jmock.expectation.ExpectationSegmentTest
 
testFailsOnLookingUpUnregisteredID() - Method in class test.jmock.MockTest
 
testFailure() - Method in class test.jmock.expectation.ExpectationCounterTest
 
testFailureCheckerWithFailure() - Method in class test.jmock.expectation.AssertMoTest
 
testFailureCheckerWithoutFailure() - Method in class test.jmock.expectation.AssertMoTest
 
testFlushActual() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testFlushActual() - Method in class test.jmock.expectation.ExpectationCounterTest
 
testFlushActual() - Method in class test.jmock.expectation.ExpectationDoubleValueTest
 
testFlushActual() - Method in class test.jmock.expectation.ExpectationSegmentTest
 
testFlushActual() - Method in class test.jmock.expectation.ExpectationValueTest
 
testFollowsEqualsHashcodeProtocol() - Method in class test.jmock.core.InvocationTest
 
testGeneratesMockNameFromInterfaceNameIfNoNameSpecified() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testGeneratesUsefulNamesForDummiesFromTheDummiedInterface() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testGetBooleanValue() - Method in class test.jmock.expectation.ReturnValueTest
 
testGetNull() - Method in class test.jmock.expectation.ReturnValueTest
 
testGetValue() - Method in class test.jmock.expectation.ReturnValueTest
 
testGetsAUsefulDefaultName() - Method in class test.jmock.util.DummyTest
 
testGivesInformativeErrorMessageIfAttemptToThrowCheckedExceptionFromMethodWithNoExceptions() - Method in class test.jmock.core.stub.ThrowStubTest
 
testHasConvenienceConstantForIsAnything() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testHasConvenienceConstantForIsNull() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testHasConvenienceConstantForNotNull() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testHasConvenienceMethodForCreatingIsAConstraints() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testHasConvenienceMethodForCreatingIsEqualConstraints() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testHasConvenienceMethodForCreatingIsSameConstraints() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testHasConvenienceMethodForCreatingStringContainsConstraints() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testHasConvenienceMethodForLogicalConjunctionOfConstraints() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testHasConvenienceMethodForLogicalDisjunctionOfConstraints() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testHasConvenienceMethodForLogicalNegationOfConstraints() - Method in class test.jmock.core.MockObjectSupportTestCaseTest
 
testHasExpectations() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testHasExpectationsForAddingManyArray() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testHasExpectationsForAddingManyVector() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testHasNoExpectations() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testHasNoExpectations() - Method in class test.jmock.expectation.ExpectationCounterTest
 
testHasNoExpectations() - Method in class test.jmock.expectation.ExpectationDoubleValueTest
 
testHasNoExpectations() - Method in class test.jmock.expectation.ExpectationSegmentTest
 
testHasNoExpectations() - Method in class test.jmock.expectation.ExpectationValueTest
 
testHashCode() - Method in class test.jmock.expectation.MapEntryTest
 
testIdentifiesPriorCallInDescription() - Method in class test.jmock.core.matcher.InvokedAfterMatcherTest
 
testIgnoresHiddenMatchers() - Method in class test.jmock.builder.InvocationMockerDescriberTest
 
testImplementsAGivenInterface() - Method in class test.jmock.util.DummyTest
 
testImplementsEqualsByComparingObjectReferences() - Method in class test.jmock.util.DummyTest
 
testIncludesDetailsOfThrowableInDescription() - Method in class test.jmock.core.stub.ThrowStubTest
 
testIncludesErrorMessageInDescription() - Method in class test.jmock.core.stub.TestFailureStubTest
 
testIncludesTheResultOfCallingToStringOnItsArgumentInTheDescription() - Method in class test.jmock.core.constraint.IsEqualTest
 
testIncludesValueInDescription() - Method in class test.jmock.core.stub.ReturnStubTest
 
testIncludesVoidInDescription() - Method in class test.jmock.core.stub.VoidStubTest
 
testIncludesWhetherPriorCallHasOccurredInDescription() - Method in class test.jmock.core.matcher.InvokedAfterMatcherTest
 
testInheritVerifiableFails() - Method in class test.jmock.util.VerifierTest
 
testInheritVerifiablePasses() - Method in class test.jmock.util.VerifierTest
 
testIntFail() - Method in class test.jmock.expectation.ExpectationValueTest
 
testIntPass() - Method in class test.jmock.expectation.ExpectationValueTest
 
testIntValue() - Method in class test.jmock.expectation.ReturnValueTest
 
testInvocationWithAnUnregisteredReturnTypeCausesAnAssertionFailedError() - Method in class test.jmock.core.stub.DefaultResultStubTest
 
testInvokeFailsWhenEmpty() - Method in class test.jmock.core.FIFOInvocationDispatcherTest
 
testInvokeFailsWhenEmpty() - Method in class test.jmock.core.LIFOInvocationDispatcherTest
 
testInvokesDefaultStubWhenNoInvokablesMatch() - Method in class test.jmock.core.FIFOInvocationDispatcherTest
 
testInvokesDefaultStubWhenNoInvokablesMatch() - Method in class test.jmock.core.LIFOInvocationDispatcherTest
 
testInvokesInvokableThatMatches() - Method in class test.jmock.core.FIFOInvocationDispatcherTest
 
testInvokesInvokableThatMatches() - Method in class test.jmock.core.LIFOInvocationDispatcherTest
 
testInvokesStubsInOrder() - Method in class test.jmock.core.stub.StubSequenceTest
 
testIsVoidSetsVoidStub() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testLaterInvokablesOverrideEarlierInvokables() - Method in class test.jmock.core.LIFOInvocationDispatcherTest
 
testLeftoverObjectFails() - Method in class test.jmock.expectation.ReturnObjectBagTest
 
testLeftoverObjectFails() - Method in class test.jmock.expectation.ReturnObjectListTest
 
testLeftoverObjectFails() - Method in class test.jmock.expectation.ReturnObjectMapTest
 
testLongFail() - Method in class test.jmock.expectation.ExpectationValueTest
 
testLongPass() - Method in class test.jmock.expectation.ExpectationValueTest
 
testLongValue() - Method in class test.jmock.expectation.ReturnValueTest
 
testManyFromEnumeration() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testManyFromIterator() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testManyReturns() - Method in class test.jmock.expectation.ReturnObjectMapTest
 
testMatchWhenNoArgumentsOrConstraints() - Method in class test.jmock.core.matcher.ArgumentsMatcherTest
 
testMatchesIfAllMatchersMatch() - Method in class test.jmock.core.InvocationMockerTest
 
testMatchesInvocationBeforeCallingStub() - Method in class test.jmock.core.InvocationMockerTest
 
testMethod() - Method in class test.jmock.core.VerifyingTestCaseTest.ExampleTestCase
 
testMethodNameNotInMockedTypeCausesTestFailure() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testMethodNamesCanBeUsedToNameBuildersInAdditionToUniqueID() - Method in class test.jmock.MockTest
 
testMethodToStringWithNullArg() - Method in class test.jmock.core.InvocationTest
 
testMethodToStringWithObjectArg() - Method in class test.jmock.core.InvocationTest
 
testMockAnnotatesAssertionFailedError() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testMockVerifies() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testMultiFailureFromEnumeration() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testMultiFailureFromIterator() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testMultiFailureSizes() - Method in class test.jmock.expectation.AbstractTestExpectationCollection
 
testMultiUnsorted() - Method in class test.jmock.expectation.ExpectationSetTest
 
testMultiUnsortedSet() - Method in class test.jmock.expectation.ExpectationSetTest
 
testNoListForKey() - Method in class test.jmock.expectation.ReturnObjectBagTest
 
testNoListForKey() - Method in class test.jmock.expectation.ReturnObjectMapTest
 
testNoLoopVerifyMultiLevel() - Method in class test.jmock.util.VerifierTest
 
testNoLoopVerifySingleLevel() - Method in class test.jmock.util.VerifierTest
 
testNoMatchWhenAnyArgumentDoesNotConform() - Method in class test.jmock.core.matcher.ArgumentsMatcherTest
 
testNoMatchWhenTooFewArguments() - Method in class test.jmock.core.matcher.ArgumentsMatcherTest
 
testNoMatchWhenTooManyArguments() - Method in class test.jmock.core.matcher.ArgumentsMatcherTest
 
testNoParamsAddsNoArgumentMatcher() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testNoVerifiables() - Method in class test.jmock.util.VerifierTest
 
testNullFail() - Method in class test.jmock.expectation.ExpectationValueTest
 
testNullKey() - Method in class test.jmock.expectation.ReturnObjectBagTest
 
testNullKey() - Method in class test.jmock.expectation.ReturnObjectMapTest
 
testNullPass() - Method in class test.jmock.expectation.ExpectationValueTest
 
testObject() - Method in class test.jmock.expectation.ExpectationValueTest
 
testObjectFail() - Method in class test.jmock.expectation.ExpectationValueTest
 
testOneVerifiableFails() - Method in class test.jmock.util.VerifierTest
 
testOneVerifiablePasses() - Method in class test.jmock.util.VerifierTest
 
testOnlyMatchesWhenInvokedAfterPriorInvocation() - Method in class test.jmock.core.matcher.InvokedAfterMatcherTest
 
testOverridingRunTestDoesNotAffectVerification() - Method in class test.jmock.core.VerifyingTestCaseTest
 
testOverridingSetUpAndTearDownDoesNotAffectVerification() - Method in class test.jmock.core.VerifyingTestCaseTest
 
testOverwriteEntry() - Method in class test.jmock.expectation.ExpectationMapTest
 
testPassOnError() - Method in class test.jmock.expectation.ExpectationDoubleValueTest
 
testPassWithinError() - Method in class test.jmock.expectation.ExpectationDoubleValueTest
 
testPasses() - Method in class test.jmock.expectation.ExpectationSegmentTest
 
testPassesDefaultStubToCoreMock() - Method in class test.jmock.MockTest
 
testPassesExplicitNameToCoreMock() - Method in class test.jmock.MockTest
 
testPropagatesExceptionFromInvokable() - Method in class test.jmock.core.FIFOInvocationDispatcherTest
 
testPropagatesExceptionFromInvokable() - Method in class test.jmock.core.LIFOInvocationDispatcherTest
 
testProxyReturnsConfiguredResult() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testRecursivelyTestsElementsOfArrays() - Method in class test.jmock.core.constraint.IsEqualTest
 
testRegistersAllMocksItCreatesForVerification() - Method in class test.jmock.MockObjectTestCaseTest
 
testReportsIfHasBeenInvoked() - Method in class test.jmock.core.matcher.InvokedRecorderTest
 
testReportsMockedType() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testReportsTypesMockedByUnderlyingMock() - Method in class test.jmock.MockTest
 
testReportsWhetherCalledInDescription() - Method in class test.jmock.core.matcher.InvokeOnceMatcherTest
 
testReportsWhetherInvokedInDescription() - Method in class test.jmock.core.matcher.InvokeAtLeastOnceMatcherTest
 
testResetsDispatcher() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testReturnBoolean() - Method in class test.jmock.expectation.ReturnObjectBagTest
 
testReturnBoolean() - Method in class test.jmock.expectation.ReturnObjectMapTest
 
testReturnInt() - Method in class test.jmock.expectation.ReturnObjectBagTest
 
testReturnInt() - Method in class test.jmock.expectation.ReturnObjectMapTest
 
testReturnSucceeds() - Method in class test.jmock.expectation.ReturnObjectBagTest
 
testReturnSucceeds() - Method in class test.jmock.expectation.ReturnObjectListTest
 
testReturnSucceeds() - Method in class test.jmock.expectation.ReturnObjectMapTest
 
testReturnsAnObviousDescriptionIfCreatedWithANestedConstraintByMistake() - Method in class test.jmock.core.constraint.IsEqualTest
 
testReturnsEmptyArrayForAllArrayTypes() - Method in class test.jmock.core.stub.DefaultResultStubTest
 
testReturnsGoodDescriptionIfCreatedWithNullReference() - Method in class test.jmock.core.constraint.IsEqualTest
 
testReturnsNameFromToString() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testReturnsNullWhenInvoked() - Method in class test.jmock.core.stub.VoidStubTest
 
testReturnsProxyOfNewMockObjectWithSameDefaultResultStubForInterfaceTypes() - Method in class test.jmock.core.stub.DefaultResultStubTest
 
testReturnsReadableDescriptionFromToString() - Method in class test.jmock.core.constraint.IsSameTest
 
testReturnsReadableDescriptionFromToStringWhenInitialisedWithNull() - Method in class test.jmock.core.constraint.IsSameTest
 
testReturnsUsefulDefaultResultsForBasicTypes() - Method in class test.jmock.core.stub.DefaultResultStubTest
 
testReturnsValueFromInvokable() - Method in class test.jmock.core.FIFOInvocationDispatcherTest
 
testReturnsValueFromInvokable() - Method in class test.jmock.core.LIFOInvocationDispatcherTest
 
testReturnsValuePassedToConstructor() - Method in class test.jmock.core.stub.ReturnStubTest
 
testSearchesForMatchInFIFOOrder() - Method in class test.jmock.core.FIFOInvocationDispatcherTest
 
testSearchesForMatchInLIFOOrder() - Method in class test.jmock.core.LIFOInvocationDispatcherTest
 
testSetsStackTraceWhenExceptionIsThrown() - Method in class test.jmock.core.stub.ThrowStubTest
 
testShortKey() - Method in class test.jmock.expectation.ReturnObjectBagTest
 
testShortKey() - Method in class test.jmock.expectation.ReturnObjectMapTest
 
testSorted() - Method in class test.jmock.expectation.ExpectationListTest
 
testSpecifyingMethodNameNameAddsMethodNameMatcherAndAddsSelfToIdentityTable() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testSpecifyingMethodWithConstraintAddsMethodNameMatcherButDoesNotAddSelfToIdentityTable() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testSpecifyingMethodWithIllegalNameThrowsIllegalArgumentError() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testStoresExpectationBuildersByID() - Method in class test.jmock.MockTest
 
testStubAddsInvocationMockerAndReturnsBuilder() - Method in class test.jmock.MockTest
 
testSuccess() - Method in class test.jmock.expectation.ExpectationCounterTest
 
testTestsEqualityForProxy() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testTestsForEqualityOnTargetAndMethodSignatureAndArguments() - Method in class test.jmock.core.InvocationTest
 
testTestsMethodNameForEqualityToString() - Method in class test.jmock.core.matcher.MethodNameMatcherTest
 
testThrowsAssertionFailedErrorIfInvokedMoreTimesThanThereAreStubs() - Method in class test.jmock.core.stub.StubSequenceTest
 
testThrowsAssertionFailedErrorIfTriesToReturnNullFromMethodWithPrimitiveReturnType() - Method in class test.jmock.core.stub.ReturnStubTest
 
testThrowsAssertionFailedErrorIfTriesToReturnValueFromVoidMethod() - Method in class test.jmock.core.stub.ReturnStubTest
 
testThrowsAssertionFailedErrorIfTriesToReturnValueOfIncompatibleType() - Method in class test.jmock.core.stub.ReturnStubTest
 
testThrowsAssertionFailedErrorIfTriesToThrowIncompatibleCheckedException() - Method in class test.jmock.core.stub.ThrowStubTest
 
testThrowsAssertionFailedErrorWhenInvoked() - Method in class test.jmock.core.matcher.TestFailureMatcherTest
 
testThrowsAssertionFailedErrorWhenInvoked() - Method in class test.jmock.core.stub.TestFailureStubTest
 
testThrowsNotImplementedExceptionFromEveryMethod() - Method in class test.jmock.util.DummyTest
 
testThrowsThrowableObjectPassedToConstructorWhenInvoked() - Method in class test.jmock.core.stub.ThrowStubTest
 
testToStringComesFromUnderlyingDynamicMock() - Method in class test.jmock.MockTest
 
testToStringWithPrimitiveArray() - Method in class test.jmock.core.InvocationTest
 
testToStringWithStringArray() - Method in class test.jmock.core.InvocationTest
 
testToStringWithTwoArguments() - Method in class test.jmock.core.InvocationTest
 
testTooManyReturns() - Method in class test.jmock.expectation.ReturnObjectBagTest
 
testTooManyReturns() - Method in class test.jmock.expectation.ReturnObjectListTest
 
testUniquelyIdentifyInvocationMockerAndRegisterItselfInBuilderIdentityTable() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testUnsorted() - Method in class test.jmock.expectation.ExpectationSetTest
 
testUnsortedSet() - Method in class test.jmock.expectation.ExpectationSetTest
 
testUsesErrorMessageAsDescription() - Method in class test.jmock.core.matcher.TestFailureMatcherTest
 
testValueNotSet() - Method in class test.jmock.expectation.ReturnValueTest
 
testVerificationCanBeOverridden() - Method in class test.jmock.core.VerifyingTestCaseTest
 
testVerifiesAllInvokables() - Method in class test.jmock.core.FIFOInvocationDispatcherTest
 
testVerifiesAllInvokables() - Method in class test.jmock.core.LIFOInvocationDispatcherTest
 
testVerifyCallsUnderlyingMock() - Method in class test.jmock.MockTest
 
testVerifyFailsIfNotYetInvoked() - Method in class test.jmock.core.matcher.InvokeAtLeastOnceMatcherTest
 
testVerifyFailsIfNotYetInvoked() - Method in class test.jmock.core.matcher.InvokeOnceMatcherTest
 
testVerifyFailuresIncludeMockName() - Method in class test.jmock.core.AbstractDynamicMockTest
 
testVerifyPassesAfterInvocation() - Method in class test.jmock.core.matcher.InvokeAtLeastOnceMatcherTest
 
testVerifyPassesAfterInvocation() - Method in class test.jmock.core.matcher.InvokeOnceMatcherTest
 
testVerifyPassesAfterMultipleInvocations() - Method in class test.jmock.core.matcher.InvokeAtLeastOnceMatcherTest
 
testWillMatchIfNotYetInvoked() - Method in class test.jmock.core.matcher.InvokeOnceMatcherTest
 
testWillNotMatchAfterInvocation() - Method in class test.jmock.core.matcher.InvokeOnceMatcherTest
 
testWithMethodAddsArgumentsMatcher() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testWithMethodWithOneObjectArgumentAddsArgumentsMatcher() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testWithMethodWithTwoObjectArgumentsAddsArgumentsMatcher() - Method in class test.jmock.builder.InvocationMockerBuilderTest
 
testWritesDescriptionOfMatch() - Method in class test.jmock.core.matcher.InvokeAtLeastOnceMatcherTest
 
testWritesDescriptionOfMatch() - Method in class test.jmock.core.matcher.InvokeOnceMatcherTest
 
testWritesDescriptionToStringBuffer() - Method in class test.jmock.core.stub.CustomStubTest
 
testWritesDescritionToStringBuffer() - Method in class test.jmock.core.stub.DefaultResultStubTest
 
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.
toString() - Method in class test.jmock.core.testsupport.MockDynamicMock
 
toString() - Method in class test.jmock.core.testsupport.MockInvocationMatcher
 
toString() - Method in class test.jmock.core.testsupport.MockStub
 
toStringResult - Variable in class test.jmock.core.testsupport.MockDynamicMock
 
twoArgMethod(String, String) - Method in interface test.jmock.core.DummyInterface
 

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
 
VerifierTest - class test.jmock.util.VerifierTest.
 
VerifierTest() - Constructor for class test.jmock.util.VerifierTest
 
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
 
VerifyingTestCaseTest - class test.jmock.core.VerifyingTestCaseTest.
 
VerifyingTestCaseTest() - Constructor for class test.jmock.core.VerifyingTestCaseTest
 
VerifyingTestCaseTest.ExampleTestCase - class test.jmock.core.VerifyingTestCaseTest.ExampleTestCase.
 
VerifyingTestCaseTest.ExampleTestCase() - Constructor for class test.jmock.core.VerifyingTestCaseTest.ExampleTestCase
 
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
 
VoidStubTest - class test.jmock.core.stub.VoidStubTest.
 
VoidStubTest() - Constructor for class test.jmock.core.stub.VoidStubTest
 
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
 
verify() - Method in class test.jmock.builder.testsupport.MockBuilderIdentityTable
 
verify() - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
verify() - Method in class test.jmock.core.MockDescriber
 
verify() - Method in class test.jmock.core.testsupport.MockConstraint
 
verify() - Method in class test.jmock.core.testsupport.MockStub
 
verify() - Method in class test.jmock.core.testsupport.MockVerifiable
Deprecated. Use verifyExpectations to verify this object
verifyCalls - Variable in class test.jmock.core.testsupport.MockVerifiable
 
verifyExpectations() - Method in class test.jmock.builder.testsupport.MockStubMatchersCollection
 
verifyExpectations() - Method in class test.jmock.core.VerifyingTestCaseTest.ExampleTestCase
 
verifyExpectations() - Method in class test.jmock.core.testsupport.MockVerifiable
 
verifyFailure - Variable in class test.jmock.core.testsupport.MockVerifiable
 
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
 
will(Stub) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
willReturn(boolean) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
willReturn(byte) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
willReturn(char) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
willReturn(double) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
willReturn(float) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
willReturn(int) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
willReturn(long) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
willReturn(Object) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
willReturn(short) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
willThrow(Throwable) - Method in class test.jmock.builder.testsupport.MockMatchBuilder
 
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
 
writeToOutput - Variable in class test.jmock.core.testsupport.MockInvocationDispatcher
 

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