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 ModelConverter
modelConverter
protected GeneratingInterleavingCombinatorialTestManager
testManager
-
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 Combination
execute(Map<Combination,TestResult> input)
Executes the phase.Combination
initialize(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 anErrorConstraintException
during the identification.- Returns:
- first test input needed for classification if needed.
-
execute
public Combination execute(Map<Combination,TestResult> input)
Description copied from interface:Phase
Executes the phase. Transform some input int some output- Parameters:
input
- the input of the phase- Returns:
- the output of the phase
-
-