Class InterleavingClassificationPhase
- java.lang.Object
-
- de.rwth.swc.coffee4j.engine.process.phase.AbstractPhase<InterleavingGenerationContext,Map<Combination,TestResult>,Combination>
-
- de.rwth.swc.coffee4j.engine.process.phase.interleaving.classification.InterleavingClassificationPhase
-
- All Implemented Interfaces:
Phase<Map<Combination,TestResult>,Combination>
- Direct Known Subclasses:
DefaultInterleavingClassificationPhase
public class InterleavingClassificationPhase extends AbstractPhase<InterleavingGenerationContext,Map<Combination,TestResult>,Combination>
Abstract Class for Classification Phase providing general functionality.
-
-
Field Summary
Fields Modifier and Type Field Description protected ModelConvertermodelConverterprotected GeneratingInterleavingCombinatorialTestManagertestManager-
Fields inherited from class de.rwth.swc.coffee4j.engine.process.phase.AbstractPhase
context
-
-
Constructor Summary
Constructors Constructor Description InterleavingClassificationPhase(InterleavingGenerationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Combinationexecute(Map<Combination,TestResult> input)Executes the phase.Combinationinitialize(Map<Combination,TestResult> errorConstraintExceptionCausingTestInputs)
-
-
-
Field Detail
-
testManager
protected final GeneratingInterleavingCombinatorialTestManager testManager
-
modelConverter
protected final ModelConverter modelConverter
-
-
Constructor Detail
-
InterleavingClassificationPhase
public InterleavingClassificationPhase(InterleavingGenerationContext context)
-
-
Method Detail
-
initialize
public Combination initialize(Map<Combination,TestResult> errorConstraintExceptionCausingTestInputs)
- Parameters:
errorConstraintExceptionCausingTestInputs- all test inputs that triggered anErrorConstraintExceptionduring the identification.- Returns:
- first test input needed for classification if needed.
-
execute
public Combination execute(Map<Combination,TestResult> input)
Description copied from interface:PhaseExecutes the phase. Transform some input int some output- Parameters:
input- the input of the phase- Returns:
- the output of the phase
-
-