Class InterleavingExecutionReporterToGenerationReporterAdapter
- java.lang.Object
-
- de.rwth.swc.coffee4j.engine.process.phase.interleaving.generation.InterleavingExecutionReporterToGenerationReporterAdapter
-
- All Implemented Interfaces:
InterleavingGenerationReporter,Reporter
public class InterleavingExecutionReporterToGenerationReporterAdapter extends Object implements InterleavingGenerationReporter
Interleaving version ofSequentialExecutionReporterToGenerationReporterAdapter
-
-
Constructor Summary
Constructors Constructor Description InterleavingExecutionReporterToGenerationReporterAdapter(InterleavingExecutionReporter reporter, ArgumentConverter argumentConverter, ModelConverter converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckingFinished(InterleavingCombinatorialTestGroup group, int[] failureInducingCombination, boolean isFailureInducing)called if the feedback-checking-phase finished.voidcheckingStarted(InterleavingCombinatorialTestGroup group, int[] failureInducingCombination)called if the feedback-checking-phase started.voididentificationFinished(InterleavingCombinatorialTestGroup group, Set<int[]> exceptionInducingCombinations, Set<int[]> failureInducingCombinations)called if the identification phase ended for a failing test input.voididentificationStarted(InterleavingCombinatorialTestGroup group, int[] failingTestInput)called if the identification phase started for a failing test input.voididentificationTestInputGenerated(InterleavingCombinatorialTestGroup group, int[] testInput)called if a new test input was generated during identification phase.voidinterleavingGroupFinished(InterleavingCombinatorialTestGroup group, Map<int[],Class<? extends Throwable>> exceptionInducingCombinations, Set<int[]> possibleFailureInducingCombinations)called if Interleaving Combinatorial Testing finished for aInterleavingCombinatorialTestGroup.voidinterleavingGroupGenerated(InterleavingCombinatorialTestGroup group)called if aInterleavingCombinatorialTestGrouphas been generated and the Interleaving Combinatorial Testing started.voidreport(ReportLevel level, Report report)Reports the givenReportat the specified level.voidreport(ReportLevel level, Supplier<Report> reportSupplier)This method has the same intentions asReporter.report(ReportLevel, Report), but a supplier is given.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.rwth.swc.coffee4j.algorithmic.report.Reporter
reportAssumptionSatisfaction, reportAssumptionViolation, reportDebug, reportDebug, reportError, reportError, reportFatal, reportFatal, reportInfo, reportInfo, reportTrace, reportTrace, reportWarn, reportWarn
-
-
-
-
Constructor Detail
-
InterleavingExecutionReporterToGenerationReporterAdapter
public InterleavingExecutionReporterToGenerationReporterAdapter(InterleavingExecutionReporter reporter, ArgumentConverter argumentConverter, ModelConverter converter)
- Parameters:
reporter- execution reporter to use.argumentConverter- argument converter used to convert between internal and external representation.converter- converter used to convert combinations from internal into the external format and vice versa.
-
-
Method Detail
-
report
public void report(ReportLevel level, Report report)
Description copied from interface:Reporter
-
report
public void report(ReportLevel level, Supplier<Report> reportSupplier)
Description copied from interface:ReporterThis method has the same intentions asReporter.report(ReportLevel, Report), but a supplier is given. If any big calculations need to be performed for aReportgeneration this method can be used to guarantee lazy de.rwth.swc.coffee4j.evaluation only if aReporteris really interested in the report of the given level.
-
interleavingGroupGenerated
public void interleavingGroupGenerated(InterleavingCombinatorialTestGroup group)
Description copied from interface:InterleavingGenerationReportercalled if aInterleavingCombinatorialTestGrouphas been generated and the Interleaving Combinatorial Testing started.- Specified by:
interleavingGroupGeneratedin interfaceInterleavingGenerationReporter- Parameters:
group- group which was generated
-
interleavingGroupFinished
public void interleavingGroupFinished(InterleavingCombinatorialTestGroup group, Map<int[],Class<? extends Throwable>> exceptionInducingCombinations, Set<int[]> possibleFailureInducingCombinations)
Description copied from interface:InterleavingGenerationReportercalled if Interleaving Combinatorial Testing finished for aInterleavingCombinatorialTestGroup.- Specified by:
interleavingGroupFinishedin interfaceInterleavingGenerationReporter- Parameters:
group- group which has been finishedexceptionInducingCombinations- all error-combinations that were found together with their type of exception.possibleFailureInducingCombinations- all possibly failure inducing combinations that were found.
-
identificationStarted
public void identificationStarted(InterleavingCombinatorialTestGroup group, int[] failingTestInput)
Description copied from interface:InterleavingGenerationReportercalled if the identification phase started for a failing test input.- Specified by:
identificationStartedin interfaceInterleavingGenerationReporter- Parameters:
group- group for which the identification phase started.failingTestInput- test input for which the identification was started.
-
identificationFinished
public void identificationFinished(InterleavingCombinatorialTestGroup group, Set<int[]> exceptionInducingCombinations, Set<int[]> failureInducingCombinations)
Description copied from interface:InterleavingGenerationReportercalled if the identification phase ended for a failing test input.- Specified by:
identificationFinishedin interfaceInterleavingGenerationReporter- Parameters:
group- group for which the identification phase was started.exceptionInducingCombinations- all error-combinations that were found during the identification phase.failureInducingCombinations- all possibly failure-inducing combinations that were found during the identification phase.
-
identificationTestInputGenerated
public void identificationTestInputGenerated(InterleavingCombinatorialTestGroup group, int[] testInput)
Description copied from interface:InterleavingGenerationReportercalled if a new test input was generated during identification phase.- Specified by:
identificationTestInputGeneratedin interfaceInterleavingGenerationReporter- Parameters:
group- group for which the identification phase is started.testInput- test inputs that was generated.
-
checkingStarted
public void checkingStarted(InterleavingCombinatorialTestGroup group, int[] failureInducingCombination)
Description copied from interface:InterleavingGenerationReportercalled if the feedback-checking-phase started.- Specified by:
checkingStartedin interfaceInterleavingGenerationReporter- Parameters:
group- group for which the feedback-checking-phase is started.failureInducingCombination- the possibly failure-inducing combination that is checked.
-
checkingFinished
public void checkingFinished(InterleavingCombinatorialTestGroup group, int[] failureInducingCombination, boolean isFailureInducing)
Description copied from interface:InterleavingGenerationReportercalled if the feedback-checking-phase finished.- Specified by:
checkingFinishedin interfaceInterleavingGenerationReporter- Parameters:
group- group for which the feedback-checking-phase has benn started.failureInducingCombination- the possibly failure-inducing combination that has been checked.isFailureInducing- true iff the checked combination is failure-inducing.
-
-