public interface FaultCharacterizationAlgorithm
| Modifier and Type | Method and Description |
|---|---|
List<int[]> |
computeFailureInducingCombinations()
Computes a list of most likely failure inducing combinations refined
from previous calls to
computeNextTestInputs(Map). |
List<int[]> |
computeNextTestInputs(Map<int[],TestResult> testResults)
Refines the internal list of suspicious of faulty combinations.
|
List<int[]> computeNextTestInputs(Map<int[],TestResult> testResults)
When no combinations are returned any more,
computeFailureInducingCombinations() can be used to compute a
final list of most likely faulty combinations.
testResults - the results of the initial test suite or previous test
inputs generated by this method. Must not be
null or empty.IllegalStateException - if the algorithm has not been initializedNullPointerException - if testResults is nullIllegalArgumentException - if testResults is emptyList<int[]> computeFailureInducingCombinations()
computeNextTestInputs(Map). The
combinations returned by this method are not guaranteed to be faulty,
but it is guaranteed that no test input executed which contained this
combination was successful.IllegalStateException - if the algorithm has not been initializedCopyright © 2019. All rights reserved.