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 anInterleavingExecutionConfigurationfrom 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 voidaccept(EnableInterleavingGeneration configurationFromMethod)InterleavingExecutionConfigurationprovide(Method method)Loads a T based on the method
-
-
-
Method Detail
-
accept
public void accept(EnableInterleavingGeneration configurationFromMethod)
- Specified by:
acceptin interfaceConsumer<EnableInterleavingGeneration>
-
provide
public InterleavingExecutionConfiguration provide(Method method)
Description copied from interface:MethodBasedProviderLoads a T based on the method- Specified by:
providein interfaceMethodBasedProvider<InterleavingExecutionConfiguration>- Parameters:
method- the method from which the information should be loaded- Returns:
- the loaded object
-
-