Class DiffTrialExecutor
java.lang.Object
edu.berkeley.cs.jqf.fuzz.difffuzz.DiffTrialExecutor
- All Implemented Interfaces:
TrialExecutor
Wraps a
TrialExecutor to capture each trial's outcome for differential fuzzing.
The delegate runs the trial under its test framework; this decorator records
the return value (or the thrown error) as an Outcome and hands it to the
DiffFuzzGuidance, which decides whether the trial passed, failed, or
differs from a reference run.
-
Constructor Details
-
DiffTrialExecutor
-
-
Method Details
-
runTrial
Description copied from interface:TrialExecutorRuns one trial with the given arguments.Throwables raised by the test body propagate unchanged so the engine can classify them (failure, unmet assumption, timeout). Implementations must not swallow them.
- Specified by:
runTrialin interfaceTrialExecutor- Parameters:
args- the arguments for this trial- Throws:
Throwable- whatever the test body raises
-