Interface DiffFuzzGuidance
- All Superinterfaces:
Guidance
- All Known Implementing Classes:
DiffFuzzNoGuidance,DiffFuzzReproGuidance
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidacceptOutcome(Outcome outcome) Accepts the outcome of one trial captured byDiffTrialExecutor.voidsetCompare(Method m) Methods inherited from interface edu.berkeley.cs.jqf.fuzz.guidance.Guidance
beforeRun, generateCallBack, getInput, handleResult, hasInput, observeGeneratedArgs, observeGuidance
-
Method Details
-
setCompare
-
acceptOutcome
Accepts the outcome of one trial captured byDiffTrialExecutor.The default rethrows whatever the trial threw, so an exception counts as a failure.
DiffFuzzReproGuidanceoverrides this to compare the outcome against a reference run instead.- Parameters:
outcome- the captured return value or thrown error- Throws:
Throwable- to fail the trial: a rethrown error or aDiffException
-