|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.virtualmock.rule.AllRecordedCallsMustBeInvokedRule
Implementation of the Rule: ALL_RECORDED_CALLS_MUST_BE_INVOKED.
| Field Summary |
| Fields inherited from interface org.virtualmock.rule.Rule |
FAIL, IGNORE, WARN |
| Constructor Summary | |
AllRecordedCallsMustBeInvokedRule(java.lang.String key,
int enforcementLevel,
CallManager callManager,
ResourceManager resourceManager)
Constructor. |
|
| Method Summary | |
int |
getEnforcementLevel()
Accessor. |
java.lang.String |
getKey()
Accessor. |
protected java.lang.String |
getViolationMessage(RecordedCall recordedCall)
Get a single violation message. |
java.lang.String[] |
getViolationMessages()
Gets violation messages for this rule. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AllRecordedCallsMustBeInvokedRule(java.lang.String key,
int enforcementLevel,
CallManager callManager,
ResourceManager resourceManager)
key - the key for this ruleenforcementLevel - the enforcementLevel for this rulecallManager - the CallManager, which will be used internally by
this ruleresourceManager - the ResourceManager, which will be used
internally by this rule| Method Detail |
public int getEnforcementLevel()
getEnforcementLevel in interface Rulepublic java.lang.String getKey()
getKey in interface Rulepublic java.lang.String[] getViolationMessages()
getViolationMessages in interface Ruleprotected java.lang.String getViolationMessage(RecordedCall recordedCall)
recordedCall - the recorded call to which the message applies
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||