Class GeneratorLoader
- java.lang.Object
-
- de.rwth.swc.coffee4j.junit.engine.annotation.configuration.sequential.generation.GeneratorLoader
-
- All Implemented Interfaces:
Loader<List<TestInputGroupGenerator>>
public class GeneratorLoader extends Object implements Loader<List<TestInputGroupGenerator>>
Class for loading multipleTestInputGroupGenerator
s viaGeneratorProvider
. These providers are discovered using theGeneratorSource
repeatable annotations. As such, multipleTestInputGroupGenerator
provided by eachGeneratorSource
are aggregated into one single list in this loader.If no
GeneratorSource
is registered, the default of oneIpog
is loaded.
-
-
Constructor Summary
Constructors Constructor Description GeneratorLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TestInputGroupGenerator>
load(Method method)
Loads a T based on the class
-
-
-
Method Detail
-
load
public List<TestInputGroupGenerator> 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<List<TestInputGroupGenerator>>
- Parameters:
method
- the method from which the information should be loaded- Returns:
- the loaded object
-
-