public final class CombinatorialTestModel extends Object implements InputParameterModel
| Constructor and Description |
|---|
CombinatorialTestModel(int strength,
int[] parameterSizes)
Defines a new model without any constraints.
|
CombinatorialTestModel(int strength,
int[] parameterSizes,
Collection<TupleList> forbiddenTupleLists)
Defines a new model with just forbidden constraints but no error constraints.
|
CombinatorialTestModel(int strength,
int[] parameterSizes,
Collection<TupleList> forbiddenTupleLists,
Collection<TupleList> errorTupleLists) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
List<TupleList> |
getErrorTupleLists() |
List<TupleList> |
getForbiddenTupleLists() |
int[] |
getParameterSizes() |
int |
getStrength() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNumberOfParameters, getSizeOfParameterpublic CombinatorialTestModel(int strength,
int[] parameterSizes)
strength - the desired testing strength. Must be at least one and at most the number of parametersparameterSizes - the sizes of all parameters. [2, 3, 5] means the first parameter has 2 values, the second
one 3 and the last one 5. All parameters need to have at least two values. Must not be
nullpublic CombinatorialTestModel(int strength,
int[] parameterSizes,
Collection<TupleList> forbiddenTupleLists)
strength - the desired testing strength. Must be at least one and at most the number of parametersparameterSizes - the sizes of all parameters. [2, 3, 5] means the first parameter has 2 values, the second
one 3 and the last one 5. All parameters need to have at least two values. Must not be
nullforbiddenTupleLists - all forbidden combinations. Must not be null. The sizes of the corresponding
parameters must be respectedpublic CombinatorialTestModel(int strength,
int[] parameterSizes,
Collection<TupleList> forbiddenTupleLists,
Collection<TupleList> errorTupleLists)
strength - the desired testing strength. Must be at least one and at most the number of parametersparameterSizes - the sizes of all parameters. [2, 3, 5] means the first parameter has 2 values, the second
one 3 and the last one 5. All parameters need to have at least two values. Must not be
nullforbiddenTupleLists - all forbidden combinations. Must not be null. The sizes of the corresponding
parameters must be respected. Must not contain duplicate idserrorTupleLists - all error combinations. Must not be null. The sizes of the corresponding
parameters must be respected. Must not contain duplicate ids or ids contained in
the forbiddenTupleListspublic int getStrength()
getStrength in interface InputParameterModelpublic int[] getParameterSizes()
getParameterSizes in interface InputParameterModelpublic List<TupleList> getForbiddenTupleLists()
public List<TupleList> getErrorTupleLists()
Copyright © 2019. All rights reserved.