Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A C E F G H I M N P R S T V

A

AbstractExpectation - class com.mockobjects.AbstractExpectation.
 
AbstractExpectation(String) - Constructor for class com.mockobjects.AbstractExpectation
 
AbstractExpectationCollection - class com.mockobjects.AbstractExpectationCollection.
 
AbstractExpectationCollection(String) - Constructor for class com.mockobjects.AbstractExpectationCollection
 
actualValue - Variable in class com.mockobjects.ExpectationDoubleValue
 
add(Object) - Method in class com.mockobjects.ReturnValues
 
addActual(Object) - Method in class com.mockobjects.AbstractExpectationCollection
 
addActual(int) - Method in class com.mockobjects.AbstractExpectationCollection
 
addActual(Object) - Method in interface com.mockobjects.ExpectationCollection
 
addActualMany(Object[]) - Method in class com.mockobjects.AbstractExpectationCollection
 
addActualMany(Enumeration) - Method in class com.mockobjects.AbstractExpectationCollection
 
addActualMany(Iterator) - Method in class com.mockobjects.AbstractExpectationCollection
 
addActualMany(Object[]) - Method in interface com.mockobjects.ExpectationCollection
 
addActualMany(Enumeration) - Method in interface com.mockobjects.ExpectationCollection
 
addActualMany(Iterator) - Method in interface com.mockobjects.ExpectationCollection
 
addAll(Collection) - Method in class com.mockobjects.ReturnValues
 
addExpected(int) - Method in class com.mockobjects.AbstractExpectationCollection
 
addExpected(Object) - Method in class com.mockobjects.AbstractExpectationCollection
 
addExpected(Object) - Method in interface com.mockobjects.ExpectationCollection
 
addExpected(Object, Object) - Method in class com.mockobjects.ExpectationMap
 
addExpectedMany(Object[]) - Method in class com.mockobjects.AbstractExpectationCollection
 
addExpectedMany(Enumeration) - Method in class com.mockobjects.AbstractExpectationCollection
 
addExpectedMany(Iterator) - Method in class com.mockobjects.AbstractExpectationCollection
 
addExpectedMany(Object[]) - Method in interface com.mockobjects.ExpectationCollection
 
addExpectedMany(Enumeration) - Method in interface com.mockobjects.ExpectationCollection
 
addExpectedMany(Iterator) - Method in interface com.mockobjects.ExpectationCollection
 
addExpectedMissing(Object) - Method in class com.mockobjects.ExpectationMap
 
addObjectToReturn(Object) - Method in class com.mockobjects.ReturnObjectList
Add a next object to the end of the list.
addObjectToReturn(boolean) - Method in class com.mockobjects.ReturnObjectList
Add a next boolean to the end of the list.
addObjectToReturn(int) - Method in class com.mockobjects.ReturnObjectList
Add a next integer to the end of the list.
arrayEquals(Object) - Method in class com.mockobjects.MapEntry
 
assertEquals(String, int, int) - Method in class com.mockobjects.AbstractExpectation
 
assertEquals(String, Object, Object) - Method in class com.mockobjects.AbstractExpectation
Due to junit Assert being a Singleton implemented with static methods, and java's unfortunate implementation of class methods (e.g.
assertEquals(String, int, int) - Method in class com.mockobjects.MockObject
 
assertEquals(String, Object, Object) - Method in class com.mockobjects.MockObject
 
assertTrue(String, boolean) - Method in class com.mockobjects.MockObject
 

C

checkImmediateValues(Object) - Method in class com.mockobjects.AbstractExpectationCollection
 
checkImmediateValues(Object) - Method in class com.mockobjects.ExpectationList
 
checkImmediateValues(Object) - Method in class com.mockobjects.ExpectationSet
 
clearActual() - Method in class com.mockobjects.AbstractExpectation
 
clearActual() - Method in class com.mockobjects.AbstractExpectationCollection
 
clearActual() - Method in class com.mockobjects.ExpectationCounter
 
clearActual() - Method in class com.mockobjects.ExpectationDoubleValue
 
clearActual() - Method in class com.mockobjects.ExpectationSegment
 
clearActual() - Method in class com.mockobjects.ExpectationValue
 
clearExpectation() - Method in class com.mockobjects.AbstractExpectationCollection
 
com.mockobjects - package com.mockobjects
 

E

ExceptionalReturnValue - class com.mockobjects.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 com.mockobjects.ExceptionalReturnValue
 
Expectation - interface com.mockobjects.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 com.mockobjects.ExpectationCollection.
An ExpectationCollection is an expectation that supports multiple values, such as lists and sets.
ExpectationCounter - class com.mockobjects.ExpectationCounter.
 
ExpectationCounter(String) - Constructor for class com.mockobjects.ExpectationCounter
 
ExpectationDoubleValue - class com.mockobjects.ExpectationDoubleValue.
 
ExpectationDoubleValue(String) - Constructor for class com.mockobjects.ExpectationDoubleValue
 
ExpectationList - class com.mockobjects.ExpectationList.
 
ExpectationList(String) - Constructor for class com.mockobjects.ExpectationList
 
ExpectationMap - class com.mockobjects.ExpectationMap.
 
ExpectationMap(String) - Constructor for class com.mockobjects.ExpectationMap
 
ExpectationSegment - class com.mockobjects.ExpectationSegment.
 
ExpectationSegment(String) - Constructor for class com.mockobjects.ExpectationSegment
 
ExpectationSet - class com.mockobjects.ExpectationSet.
 
ExpectationSet(String) - Constructor for class com.mockobjects.ExpectationSet
 
ExpectationValue - class com.mockobjects.ExpectationValue.
 
ExpectationValue(String) - Constructor for class com.mockobjects.ExpectationValue
 
equals(Object) - Method in class com.mockobjects.MapEntry
 
exception - Variable in class com.mockobjects.ExceptionalReturnValue
 
expectNothing - Variable in class com.mockobjects.ExpectationDoubleValue
 
expectedError - Variable in class com.mockobjects.ExpectationDoubleValue
 
expectedValue - Variable in class com.mockobjects.ExpectationDoubleValue
 

F

fail(String) - Method in class com.mockobjects.MockObject
 

G

get(Object) - Method in class com.mockobjects.ExpectationMap
 
getActualCollection() - Method in class com.mockobjects.AbstractExpectationCollection
 
getActualCollection() - Method in class com.mockobjects.ExpectationList
 
getActualCollection() - Method in class com.mockobjects.ExpectationSet
 
getBooleanValue() - Method in class com.mockobjects.ReturnValue
 
getException() - Method in class com.mockobjects.ExceptionalReturnValue
 
getExpectedCollection() - Method in class com.mockobjects.AbstractExpectationCollection
 
getExpectedCollection() - Method in class com.mockobjects.ExpectationList
 
getExpectedCollection() - Method in class com.mockobjects.ExpectationSet
 
getHashTable() - Method in class com.mockobjects.ReturnObjectBag
 
getIntValue() - Method in class com.mockobjects.ReturnValue
 
getKey() - Method in class com.mockobjects.MapEntry
 
getLongValue() - Method in class com.mockobjects.ReturnValue
 
getNext() - Method in class com.mockobjects.ReturnValues
 
getNext() - Method in class com.mockobjects.VoidReturnValues
 
getNextReturnBoolean(Object) - Method in class com.mockobjects.ReturnObjectBag
 
getNextReturnInt(Object) - Method in class com.mockobjects.ReturnObjectBag
 
getNextReturnObject(Object) - Method in class com.mockobjects.ReturnObjectBag
Returns the next object in the ReturnObjectList for a given key.
getNextReturnObject(int) - Method in class com.mockobjects.ReturnObjectBag
Returns the next object in the ReturnObjectList for a given int key.
getValue() - Method in class com.mockobjects.MapEntry
 
getValue() - Method in class com.mockobjects.ReturnValue
 

H

hasExpectations() - Method in class com.mockobjects.AbstractExpectation
 
hasExpectations() - Method in interface com.mockobjects.Expectation
Return true if any expectations have been set on this object.
hasExpectations() - Method in class com.mockobjects.ExpectationMap
 
hashCode() - Method in class com.mockobjects.MapEntry
 

I

inc() - Method in class com.mockobjects.ExpectationCounter
 
isEmpty() - Method in class com.mockobjects.ReturnValues
 

M

MapEntry - class com.mockobjects.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 com.mockobjects.MapEntry
 
MockObject - class com.mockobjects.MockObject.
 
MockObject() - Constructor for class com.mockobjects.MockObject
 
myActualCalls - Variable in class com.mockobjects.ExpectationCounter
 
myActualItems - Variable in class com.mockobjects.ExpectationList
 
myActualItems - Variable in class com.mockobjects.ExpectationSet
 
myActualString - Variable in class com.mockobjects.ExpectationSegment
 
myActualValue - Variable in class com.mockobjects.ExpectationValue
 
myContents - Variable in class com.mockobjects.ReturnValues
 
myEntries - Variable in class com.mockobjects.ExpectationMap
 
myExpectedCalls - Variable in class com.mockobjects.ExpectationCounter
 
myExpectedItems - Variable in class com.mockobjects.ExpectationList
 
myExpectedItems - Variable in class com.mockobjects.ExpectationSet
 
myExpectedSegment - Variable in class com.mockobjects.ExpectationSegment
 
myExpectedValue - Variable in class com.mockobjects.ExpectationValue
 
myFailureModeIsImmediate - Variable in class com.mockobjects.AbstractExpectation
 
myHasExpectations - Variable in class com.mockobjects.AbstractExpectation
 
myKeepUsingLastReturnValue - Variable in class com.mockobjects.ReturnValues
 
myKey - Variable in class com.mockobjects.MapEntry
 
myKeys - Variable in class com.mockobjects.ExpectationMap
 
myName - Variable in class com.mockobjects.AbstractExpectation
 
myName - Variable in class com.mockobjects.ReturnObjectList
 
myName - Variable in class com.mockobjects.ReturnValues
 
myObjects - Variable in class com.mockobjects.ReturnObjectList
 
myValue - Variable in class com.mockobjects.MapEntry
 

N

name - Variable in class com.mockobjects.ReturnObjectBag
 
name - Variable in class com.mockobjects.ReturnValue
 
nextReturnObject() - Method in class com.mockobjects.ReturnObjectList
Returns the next object from the list.
notImplemented() - Method in class com.mockobjects.MockObject
 
notYetImplemented() - Method in class com.mockobjects.MockObject
Deprecated.  
notYetImplemented(String) - Static method in class com.mockobjects.MockObject
Deprecated.  

P

pop() - Method in class com.mockobjects.ReturnValues
 
putObjectToReturn(Object, Object) - Method in class com.mockobjects.ReturnObjectBag
Places an object into the list of return objects for a particular key
putObjectToReturn(int, Object) - Method in class com.mockobjects.ReturnObjectBag
Places an object into the list of return objects for a particular int key
putObjectToReturn(Object, int) - Method in class com.mockobjects.ReturnObjectBag
Places an int into the list of return objects for a particular key.
putObjectToReturn(Object, boolean) - Method in class com.mockobjects.ReturnObjectBag
Places an boolean into the list of return objects for a particular key.

R

ReturnObjectBag - class com.mockobjects.ReturnObjectBag.
The ReturnObjectBag is a map containing instances of ReturnObjectList.
ReturnObjectBag(String) - Constructor for class com.mockobjects.ReturnObjectBag
 
ReturnObjectList - class com.mockobjects.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 com.mockobjects.ReturnObjectList
Construct a new empty list
ReturnValue - class com.mockobjects.ReturnValue.
The ReturnValue class allows a value to be setup which will then be returned upon a specific method call.
ReturnValue(String) - Constructor for class com.mockobjects.ReturnValue
 
ReturnValues - class com.mockobjects.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 com.mockobjects.ReturnValues
 
ReturnValues(String, boolean) - Constructor for class com.mockobjects.ReturnValues
 
ReturnValues(boolean) - Constructor for class com.mockobjects.ReturnValues
 
returnObjectLists - Variable in class com.mockobjects.ReturnObjectBag
 

S

setActual(double) - Method in class com.mockobjects.ExpectationDoubleValue
 
setActual(String) - Method in class com.mockobjects.ExpectationSegment
 
setActual(int) - Method in class com.mockobjects.ExpectationValue
 
setActual(long) - Method in class com.mockobjects.ExpectationValue
 
setActual(double) - Method in class com.mockobjects.ExpectationValue
 
setActual(Object) - Method in class com.mockobjects.ExpectationValue
 
setActual(boolean) - Method in class com.mockobjects.ExpectationValue
 
setExpectNothing() - Method in class com.mockobjects.AbstractExpectationCollection
 
setExpectNothing() - Method in interface com.mockobjects.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 com.mockobjects.ExpectationCounter
 
setExpectNothing() - Method in class com.mockobjects.ExpectationDoubleValue
 
setExpectNothing() - Method in class com.mockobjects.ExpectationMap
 
setExpectNothing() - Method in class com.mockobjects.ExpectationSegment
 
setExpectNothing() - Method in class com.mockobjects.ExpectationValue
 
setExpected(int) - Method in class com.mockobjects.ExpectationCounter
 
setExpected(double, double) - Method in class com.mockobjects.ExpectationDoubleValue
 
setExpected(String) - Method in class com.mockobjects.ExpectationSegment
 
setExpected(int) - Method in class com.mockobjects.ExpectationValue
 
setExpected(long) - Method in class com.mockobjects.ExpectationValue
 
setExpected(double) - Method in class com.mockobjects.ExpectationValue
 
setExpected(Object) - Method in class com.mockobjects.ExpectationValue
 
setExpected(boolean) - Method in class com.mockobjects.ExpectationValue
 
setFailOnVerify() - Method in class com.mockobjects.AbstractExpectation
 
setFailOnVerify() - Method in interface com.mockobjects.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 com.mockobjects.ExpectationMap
 
setHasExpectations() - Method in class com.mockobjects.AbstractExpectation
 
setValue(Object) - Method in class com.mockobjects.MapEntry
 
setValue(Object) - Method in class com.mockobjects.ReturnValue
 
setValue(boolean) - Method in class com.mockobjects.ReturnValue
 
setValue(int) - Method in class com.mockobjects.ReturnValue
 
setValue(long) - Method in class com.mockobjects.ReturnValue
 
shouldCheckImmediately() - Method in class com.mockobjects.AbstractExpectation
 

T

toString() - Method in class com.mockobjects.MapEntry
 

V

Verifiable - interface com.mockobjects.Verifiable.
A Verifiable is an object that can confirm at the end of a unit test that the correct behvaiour has occurred.
VoidReturnValues - class com.mockobjects.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() - Constructor for class com.mockobjects.VoidReturnValues
 
VoidReturnValues(String, boolean) - Constructor for class com.mockobjects.VoidReturnValues
 
VoidReturnValues(boolean) - Constructor for class com.mockobjects.VoidReturnValues
 
value - Variable in class com.mockobjects.ReturnValue
 
verify() - Method in class com.mockobjects.AbstractExpectation
 
verify() - Method in class com.mockobjects.AbstractExpectationCollection
 
verify() - Method in class com.mockobjects.ExpectationCounter
 
verify() - Method in class com.mockobjects.ExpectationDoubleValue
 
verify() - Method in class com.mockobjects.ExpectationMap
 
verify() - Method in class com.mockobjects.ExpectationSegment
 
verify() - Method in class com.mockobjects.ExpectationValue
 
verify() - Method in class com.mockobjects.MockObject
 
verify() - Method in class com.mockobjects.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 com.mockobjects.ReturnObjectList
Verify that there are no objects left within the list.
verify() - Method in interface com.mockobjects.Verifiable
Throw an AssertionFailedException if any expectations have not been met.

A C E F G H I M N P R S T V