Class AbstractIdentificationPhase
- java.lang.Object
-
- de.rwth.swc.coffee4j.engine.process.phase.AbstractPhase<InterleavingGenerationContext,Map<Combination,TestResult>,Combination>
-
- de.rwth.swc.coffee4j.engine.process.phase.interleaving.identification.AbstractIdentificationPhase
-
- All Implemented Interfaces:
Phase<Map<Combination,TestResult>,Combination>
public abstract class AbstractIdentificationPhase extends AbstractPhase<InterleavingGenerationContext,Map<Combination,TestResult>,Combination>
Abstract class which each IdentificationPhase must extend.
-
-
Field Summary
Fields Modifier and Type Field Description protected ModelConverter
converter
protected InterleavingCombinatorialTestManager
testManager
-
Fields inherited from class de.rwth.swc.coffee4j.engine.process.phase.AbstractPhase
context
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractIdentificationPhase(InterleavingGenerationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Combination
initialize(Combination testInput, TestResult result)
initialize identification phase with previously executed failing test inputCombination
reinitialize()
reinitialize identification phase
-
-
-
Field Detail
-
testManager
protected final InterleavingCombinatorialTestManager testManager
-
converter
protected final ModelConverter converter
-
-
Constructor Detail
-
AbstractIdentificationPhase
protected AbstractIdentificationPhase(InterleavingGenerationContext context)
-
-
Method Detail
-
initialize
public Combination initialize(Combination testInput, TestResult result)
initialize identification phase with previously executed failing test input- Parameters:
testInput
- failing test inputresult
-TestResult
of the failing test input.- Returns:
- first test input to test for identification. Null, if no input can be generated.
-
reinitialize
public Combination reinitialize()
reinitialize identification phase- Returns:
- first test input to test for identification. Null, if no input can be generated.
-
-