Package io.github.achirdlabs.rift.spring
Class RiftContextCustomizerFactory
java.lang.Object
io.github.achirdlabs.rift.spring.RiftContextCustomizerFactory
- All Implemented Interfaces:
org.springframework.test.context.ContextCustomizerFactory
public final class RiftContextCustomizerFactory
extends Object
implements org.springframework.test.context.ContextCustomizerFactory
Detects
EnableRift on a test class and builds the RiftContextCustomizer that
drives the engine and imposter lifecycle for its Spring test context.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.test.context.ContextCustomizercreateContextCustomizer(Class<?> testClass, List<org.springframework.test.context.ContextConfigurationAttributes> configAttributes)
-
Constructor Details
-
RiftContextCustomizerFactory
public RiftContextCustomizerFactory()
-
-
Method Details
-
createContextCustomizer
public org.springframework.test.context.ContextCustomizer createContextCustomizer(Class<?> testClass, List<org.springframework.test.context.ContextConfigurationAttributes> configAttributes) - Specified by:
createContextCustomizerin interfaceorg.springframework.test.context.ContextCustomizerFactory
-