public static final class IpogConfiguration.Builder extends Object
IpogConfiguration.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
IpogConfiguration |
build() |
IpogConfiguration.Builder |
checker(ConstraintChecker checker) |
IpogConfiguration.Builder |
factory(ParameterCombinationFactory factory) |
IpogConfiguration.Builder |
model(InputParameterModel model) |
IpogConfiguration.Builder |
order(ParameterOrder order) |
IpogConfiguration.Builder |
reporter(Reporter reporter) |
public IpogConfiguration.Builder model(InputParameterModel model)
model - used to generate the test suite. As this contains all main information and the algorithm cannot
work without it, this parameter is required. If it is not set before build() is called, a
NullPointerException will be thrownpublic IpogConfiguration.Builder checker(ConstraintChecker checker)
checker - used to check whether a test input generated by ipog is valid. This is an optional field. If it
is not set, the default NoConstraintChecker will be usedpublic IpogConfiguration.Builder factory(ParameterCombinationFactory factory)
factory - used to generate all parameter combinations which IPOG needs to cover. This is an optional
field. If it is not set, the default TWiseParameterCombinationFactory will be usedpublic IpogConfiguration.Builder order(ParameterOrder order)
order - used to determine in which order the parameters are included into the test suite during the
horizontal expansion of IPOG. This is an optional field. If not set, the default of
StrengthBasedParameterOrder is used for a more optimal generation time and test suite sizepublic IpogConfiguration.Builder reporter(Reporter reporter)
reporter - a reporter which should be used to carry important information to the outside. This is an
optional field. If not set, the default of a no operation reporter is usedpublic IpogConfiguration build()
IpogNullPointerException - if any parameter has been set to null or if the model has not been setCopyright © 2019. All rights reserved.