Class CombinatorialTestConsumerManagerConfiguration
- java.lang.Object
-
- de.rwth.swc.coffee4j.model.manager.CombinatorialTestConsumerManagerConfiguration
-
public final class CombinatorialTestConsumerManagerConfiguration extends java.lang.ObjectThe complete reusable part of the configuration for a combinatorial test input. This means that multiple combinatorial tests can be executed with the sameCombinatorialTestConsumerManagerConfiguration, as generally only the testModel changes. Includes a factory for creating aCombinatorialTestManager,ModelConverter,FaultCharacterizationAlgorithms, generators for initial test inputs, reporters and converters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCombinatorialTestConsumerManagerConfiguration.BuilderThe realization of the builder pattern for a quick and readable construction of a new configuration.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CombinatorialTestConsumerManagerConfiguration.BuilderconsumerManagerConfiguration()booleanequals(java.lang.Object o)java.util.List<de.rwth.swc.coffee4j.engine.report.ArgumentConverter>getArgumentConverters()java.util.Optional<de.rwth.swc.coffee4j.engine.characterization.FaultCharacterizationAlgorithmFactory>getCharacterizationAlgorithmFactory()de.rwth.swc.coffee4j.engine.conflict.ConflictDetectionConfigurationgetConflictDetectionConfiguration()java.util.List<ExecutionReporter>getExecutionReporters()java.util.List<de.rwth.swc.coffee4j.engine.generator.TestInputGroupGenerator>getGenerators()CombinatorialTestManagerFactorygetManagerFactory()ModelConverterFactorygetModelConverterFactory()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getManagerFactory
public CombinatorialTestManagerFactory getManagerFactory()
- Returns:
- the factory used to create a new manager for a combinatorial test
-
getModelConverterFactory
public ModelConverterFactory getModelConverterFactory()
- Returns:
- the factory used to create a new manager for an input parameter testModel
-
getConflictDetectionConfiguration
public de.rwth.swc.coffee4j.engine.conflict.ConflictDetectionConfiguration getConflictDetectionConfiguration()
-
getCharacterizationAlgorithmFactory
public java.util.Optional<de.rwth.swc.coffee4j.engine.characterization.FaultCharacterizationAlgorithmFactory> getCharacterizationAlgorithmFactory()
- Returns:
- an optional containing the factory for creating new characterization algorithms if one is configured,
otherwise and empty
Optionalis returned
-
getGenerators
public java.util.List<de.rwth.swc.coffee4j.engine.generator.TestInputGroupGenerator> getGenerators()
- Returns:
- all generators which should be used for generating initial test inputs. May be empty
-
getExecutionReporters
public java.util.List<ExecutionReporter> getExecutionReporters()
- Returns:
- all reporter for listening to interesting events during the generating and execution. May be empty
-
getArgumentConverters
public java.util.List<de.rwth.swc.coffee4j.engine.report.ArgumentConverter> getArgumentConverters()
- Returns:
- all argument converter for converting reports and identifiers for test input groups. May be empty
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
consumerManagerConfiguration
public static CombinatorialTestConsumerManagerConfiguration.Builder consumerManagerConfiguration()
-
-