public class AssertionProperty extends PropertyListenerAdapter
| Constructor and Description |
|---|
AssertionProperty(Config config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(Search search,
VM vm)
return true if property is NOT violated
|
void |
executeInstruction(VM vm,
ThreadInfo ti,
Instruction insn)
VM is about to execute the next instruction
|
String |
getErrorMessage() |
protected String |
getMessage(String details,
Instruction insn) |
void |
reset() |
choiceGeneratorAdvanced, choiceGeneratorProcessed, choiceGeneratorRegistered, choiceGeneratorSet, classLoaded, exceptionBailout, exceptionHandled, exceptionThrown, gcBegin, gcEnd, instructionExecuted, 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 AssertionProperty(Config config)
public boolean check(Search search, VM vm)
Propertycheck in interface Propertycheck in class PropertyListenerAdapterpublic String getErrorMessage()
getErrorMessage in interface PropertygetErrorMessage in class GenericPropertyprotected String getMessage(String details, Instruction insn)
public void executeInstruction(VM vm, ThreadInfo ti, Instruction insn)
VMListenerexecuteInstruction in interface VMListenerexecuteInstruction in class PropertyListenerAdapterpublic void reset()
reset in interface Propertyreset in class PropertyListenerAdapter