Class TestInputPrioritizerLoader
- java.lang.Object
-
- de.rwth.swc.coffee4j.junit.engine.annotation.configuration.sequential.prioritization.TestInputPrioritizerLoader
-
- All Implemented Interfaces:
Loader<TestInputPrioritizer>
public class TestInputPrioritizerLoader extends Object implements Loader<TestInputPrioritizer>
Class for loading the definedTestInputPrioritizer
for aCombinatorialTest
.At most one annotation of
TestInputPrioritizerSource
is allowed per test method. SinceTestInputPrioritizerSource
is inherited, any inheriting annotation such asEnableTestInputPrioritization
is also found by this loader.If no annotation is found, the
NoOpTestInputPrioritizer
is returned. This means that the test inputs in the annotationCombinatorialTest
will not be prioritized in any way.
-
-
Constructor Summary
Constructors Constructor Description TestInputPrioritizerLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestInputPrioritizer
load(Method method)
Loads a T based on the class
-
-
-
Method Detail
-
load
public TestInputPrioritizer load(Method method)
Description copied from interface:Loader
Loads a T based on the classInitializes the provider with the necessary annotation located somewhere on the class beforehand
- Specified by:
load
in interfaceLoader<TestInputPrioritizer>
- Parameters:
method
- the method from which the information should be loaded- Returns:
- the loaded object
-
-