Class IdentificationPhase
- 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.IdentificationPhase
-
- All Implemented Interfaces:
Phase<Map<Combination,TestResult>,Combination>
public class IdentificationPhase extends AbstractPhase<InterleavingGenerationContext,Map<Combination,TestResult>,Combination>
Default implementation ofIdentificationPhase
for Interleaving Combinatorial Testing.
-
-
Field Summary
-
Fields inherited from class de.rwth.swc.coffee4j.engine.process.phase.AbstractPhase
context
-
-
Constructor Summary
Constructors Constructor Description IdentificationPhase(InterleavingGenerationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Combination
execute(Map<Combination,TestResult> previouslyExecutedTests)
Executes the phase.Combination
initialize(Combination testInput, TestResult result)
initialize identification phase with previously executed failing test inputCombination
reinitialize()
reinitialize identification phase
-
-
-
Constructor Detail
-
IdentificationPhase
public IdentificationPhase(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.
-
execute
public Combination execute(Map<Combination,TestResult> previouslyExecutedTests)
Description copied from interface:Phase
Executes the phase. Transform some input int some output- Parameters:
previouslyExecutedTests
- the input of the phase- Returns:
- the output of the phase
-
-