Package de.rwth.swc.coffee4j.junit.engine.annotation.configuration.interleaving.execution.configuration
Class MethodBasedInterleavingConfigurationProvider
- java.lang.Object
-
- de.rwth.swc.coffee4j.junit.engine.annotation.configuration.interleaving.execution.configuration.MethodBasedInterleavingConfigurationProvider
-
- All Implemented Interfaces:
AnnotationConsumer<EnableInterleavingGeneration>
,InterleavingConfigurationProvider
,MethodBasedProvider<InterleavingExecutionConfiguration>
,Consumer<EnableInterleavingGeneration>
public class MethodBasedInterleavingConfigurationProvider extends Object implements InterleavingConfigurationProvider, AnnotationConsumer<EnableInterleavingGeneration>
A provider loading anInterleavingExecutionConfiguration
from a method as described inEnableInterleavingGeneration
.This is a more or less direct copy of org.junit.jupiter.params.provider.MethodArgumentsProvider from the junit-jupiter-params project.
-
-
Constructor Summary
Constructors Constructor Description MethodBasedInterleavingConfigurationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(EnableInterleavingGeneration configurationFromMethod)
InterleavingExecutionConfiguration
provide(Method method)
Loads a T based on the method
-
-
-
Method Detail
-
accept
public void accept(EnableInterleavingGeneration configurationFromMethod)
- Specified by:
accept
in interfaceConsumer<EnableInterleavingGeneration>
-
provide
public InterleavingExecutionConfiguration provide(Method method)
Description copied from interface:MethodBasedProvider
Loads a T based on the method- Specified by:
provide
in interfaceMethodBasedProvider<InterleavingExecutionConfiguration>
- Parameters:
method
- the method from which the information should be loaded- Returns:
- the loaded object
-
-