|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.virtualmock.call.Call
org.virtualmock.call.InvokedCall
Represents a method invocation of an invoked call (which was invoked by the Class Under Test). This is a subclass of Call which only contains information which is specific to invoked calls.
| Constructor Summary | |
InvokedCall(Signature signature)
Creates a new InvokedCall object with no args, return value, or exception. |
|
InvokedCall(Signature signature,
java.lang.Object[] argValues)
Creates a new InvokedCall object. |
|
InvokedCall(Signature signature,
java.lang.Object[] argValues,
java.lang.Object returnValue)
Creates a new InvokedCall object which has a return value. |
|
InvokedCall(Signature signature,
java.lang.Object[] argValues,
java.lang.Throwable throwable)
Creates a new InvokedCall object which throws an exception. |
|
| Method Summary | |
int |
getVerificationCount()
DOCUMENT ME! (Method) |
void |
incrementVerificationCount()
Increments the internal verification count for this call by one. |
boolean |
isVerified()
returns true if verification count is greater than zero. |
| Methods inherited from class org.virtualmock.call.Call |
getArgTypes, getArgValues, getCallId, getClassName, getMethodName, getReturnType, getReturnValue, getSignature, getSignatureSequence, getThrowable, hasArguments, hasMatchingSignature, hasMatchingSignature, hasReturnValue, isReturnTypePrimitive, setReturnValue, setSignatureSequence, setThrowable, toString, validateArguments, validateReturnValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public InvokedCall(Signature signature)
signature - the signature of the call
public InvokedCall(Signature signature,
java.lang.Object[] argValues)
signature - the signature of the callargValues - an array representing the values of the arguments
passed to (or expected by) the call.
public InvokedCall(Signature signature,
java.lang.Object[] argValues,
java.lang.Object returnValue)
signature - the method signature for the callargValues - an array representing the values of the arguments
passed to (or expected by) the call.returnValue - the value the call will return
public InvokedCall(Signature signature,
java.lang.Object[] argValues,
java.lang.Throwable throwable)
signature - the method signature for the callargValues - an array representing the values of the arguments
passed to (or expected by) the call.throwable - the exception the call will throw| Method Detail |
public int getVerificationCount()
public boolean isVerified()
public void incrementVerificationCount()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||