public class TestInputGroup extends Object
FaultCharacterizationConfiguration should
always be in the same test group as this makes applying the fault
characterization process less time consuming.
If fault characterization should not be used/can not be used for a group
of test inputs the FaultCharacterizationConfiguration must not
be present.TestInputGroupGenerator| Constructor and Description |
|---|
TestInputGroup(Object identifier,
Collection<int[]> testInputs)
Creates a new group of combinatorial test inputs without a configuration
for fault characterization via a
FaultCharacterizationAlgorithm. |
TestInputGroup(Object identifier,
Collection<int[]> testInputs,
FaultCharacterizationConfiguration faultCharacterizationConfiguration)
Creates a new group of combinatorial test inputs.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Optional<FaultCharacterizationConfiguration> |
getFaultCharacterizationConfiguration() |
Object |
getIdentifier() |
List<int[]> |
getTestInputs() |
int |
hashCode() |
String |
toString() |
public TestInputGroup(Object identifier, Collection<int[]> testInputs)
FaultCharacterizationAlgorithm.identifier - a name which can be display to describe the test input
group. Should be short and descriptive. Must not be
nulltestInputs - the test inputs in this group. In every test input all
parameters should be set. Otherwise correct behaviour
cannot be guaranteed. Must not be null but may
be emptyNullPointerException - if one of the arguments is nullpublic TestInputGroup(Object identifier, Collection<int[]> testInputs, FaultCharacterizationConfiguration faultCharacterizationConfiguration)
identifier - a name which can be display to describe the test input
group. Should be short and descriptive. Must not be
nulltestInputs - the test inputs in this group. In every test input all
parameters should be set. Otherwise correct behaviour
cannot be guaranteed. Must not be null but may
be emptyfaultCharacterizationConfiguration - the configuration for using
fault characterization on the test
inputs after execution. If no fault
characterization should be used this
can be null.NullPointerException - if identifier or testInputs
is nullpublic Object getIdentifier()
public List<int[]> getTestInputs()
public Optional<FaultCharacterizationConfiguration> getFaultCharacterizationConfiguration()
Copyright © 2019. All rights reserved.