public class NumericValueChecker extends PropertyListenerAdapter
| Constructor and Description |
|---|
NumericValueChecker(Config conf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(Search search,
VM vm)
return true if property is NOT violated
|
String |
getErrorMessage() |
void |
instructionExecuted(VM vm,
ThreadInfo ti,
Instruction nextInsn,
Instruction executedInsn)
VM has executed the next instruction
(can be used to analyze branches, monitor PUTFIELD / GETFIELD and
INVOKExx / RETURN instructions)
|
void |
reset() |
choiceGeneratorAdvanced, choiceGeneratorProcessed, choiceGeneratorRegistered, choiceGeneratorSet, classLoaded, exceptionBailout, exceptionHandled, exceptionThrown, executeInstruction, gcBegin, gcEnd, loadClass, methodEntered, methodExited, objectCreated, objectLocked, objectNotify, objectNotifyAll, objectReleased, objectUnlocked, objectWait, propertyViolated, publishConstraintHit, publishFinished, publishPropertyViolation, publishStart, publishTransition, searchConstraintHit, searchFinished, searchStarted, stateAdvanced, stateBacktracked, stateProcessed, statePurged, stateRestored, stateStored, threadBlocked, threadInterrupted, threadNotified, threadScheduled, threadStarted, threadTerminated, threadWaiting, vmInitializedgetExplanation, printOnpublic NumericValueChecker(Config conf)
public void instructionExecuted(VM vm, ThreadInfo ti, Instruction nextInsn, Instruction executedInsn)
VMListenerinstructionExecuted in interface VMListenerinstructionExecuted in class PropertyListenerAdapterpublic boolean check(Search search, VM vm)
Propertycheck in interface Propertycheck in class PropertyListenerAdapterpublic void reset()
reset in interface Propertyreset in class PropertyListenerAdapterpublic String getErrorMessage()
getErrorMessage in interface PropertygetErrorMessage in class GenericProperty