Class LoggingSequentialExecutionReporterForGeneration
- java.lang.Object
-
- de.rwth.swc.coffee4j.engine.process.report.sequential.LoggingSequentialExecutionReporter
-
- de.rwth.swc.coffee4j.engine.process.report.sequential.LoggingSequentialExecutionReporterForGeneration
-
- All Implemented Interfaces:
ExecutionReporter,SequentialExecutionReporter
- Direct Known Subclasses:
LoggingSequentialExecutionReporterForGenerationJava
public class LoggingSequentialExecutionReporterForGeneration extends LoggingSequentialExecutionReporter implements SequentialExecutionReporter
-
-
Field Summary
Fields Modifier and Type Field Description protected CombinationFormatterformatter-
Fields inherited from class de.rwth.swc.coffee4j.engine.process.report.sequential.LoggingSequentialExecutionReporter
logger
-
-
Constructor Summary
Constructors Constructor Description LoggingSequentialExecutionReporterForGeneration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfaultCharacterizationStarted(TestInputGroupContext context, FaultCharacterizationAlgorithm algorithm)Called if a fault characterization started for aTestInputGroup.voidfaultCharacterizationTestInputsGenerated(TestInputGroupContext context, List<Combination> testInputs)Called if additional test inputs for the fault characterization process of oneTestInputGrouphave been generated by the algorithm given toSequentialExecutionReporter.faultCharacterizationStarted(TestInputGroupContext, FaultCharacterizationAlgorithm).protected voidprintExceptionInducingCombinations(Map<Combination,Class<? extends Throwable>> exceptionInducingCombinations)template method implemented by sub-classes reporting found exception-inducing combinationsprotected voidprintWarning(Collection<Combination> failureInducingCombinations)template method implemented by sub-classes reporting found exception-inducing combinations-
Methods inherited from class de.rwth.swc.coffee4j.engine.process.report.sequential.LoggingSequentialExecutionReporter
faultCharacterizationFinished, report, testInputExecutionFinished, testInputExecutionStarted, testInputGroupFinished, testInputGroupGenerated
-
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.engine.report.ExecutionReporter
getReportLevel, modelModified, report, testInputExecutionFinished, testInputExecutionStarted
-
Methods inherited from interface de.rwth.swc.coffee4j.engine.report.SequentialExecutionReporter
faultCharacterizationFinished, testInputGroupFinished, testInputGroupGenerated
-
-
-
-
Field Detail
-
formatter
protected CombinationFormatter formatter
-
-
Method Detail
-
faultCharacterizationStarted
public void faultCharacterizationStarted(TestInputGroupContext context, FaultCharacterizationAlgorithm algorithm)
Description copied from interface:SequentialExecutionReporterCalled if a fault characterization started for aTestInputGroup. The process will end again whenSequentialExecutionReporter.faultCharacterizationFinished(TestInputGroupContext, Map, Collection)is called.- Specified by:
faultCharacterizationStartedin interfaceSequentialExecutionReporter- Overrides:
faultCharacterizationStartedin classLoggingSequentialExecutionReporter- Parameters:
context- the context of the group for which fault characterization startedalgorithm- the algorithm which will be used to characterize faults. This is a reference to the real algorithm. Do not modify as this will most likely have unintended side effects
-
printExceptionInducingCombinations
protected void printExceptionInducingCombinations(Map<Combination,Class<? extends Throwable>> exceptionInducingCombinations)
Description copied from class:LoggingSequentialExecutionReportertemplate method implemented by sub-classes reporting found exception-inducing combinations- Overrides:
printExceptionInducingCombinationsin classLoggingSequentialExecutionReporter- Parameters:
exceptionInducingCombinations- exception-inducing combinations to print together with exceptions.
-
faultCharacterizationTestInputsGenerated
public void faultCharacterizationTestInputsGenerated(TestInputGroupContext context, List<Combination> testInputs)
Description copied from interface:SequentialExecutionReporterCalled if additional test inputs for the fault characterization process of oneTestInputGrouphave been generated by the algorithm given toSequentialExecutionReporter.faultCharacterizationStarted(TestInputGroupContext, FaultCharacterizationAlgorithm). This method can only be called (multiple times) between calls toSequentialExecutionReporter.faultCharacterizationStarted(TestInputGroupContext, FaultCharacterizationAlgorithm)andSequentialExecutionReporter.faultCharacterizationFinished(TestInputGroupContext, Map, Collection).- Specified by:
faultCharacterizationTestInputsGeneratedin interfaceSequentialExecutionReporter- Overrides:
faultCharacterizationTestInputsGeneratedin classLoggingSequentialExecutionReporter- Parameters:
context- the context of the group for which additional test inputs were generatedtestInputs- all additionally generated test inputs
-
printWarning
protected void printWarning(Collection<Combination> failureInducingCombinations)
Description copied from class:LoggingSequentialExecutionReportertemplate method implemented by sub-classes reporting found exception-inducing combinations- Overrides:
printWarningin classLoggingSequentialExecutionReporter- Parameters:
failureInducingCombinations- found failure-inducing combinations.
-
-