Class BatchTestContextCustomizer
java.lang.Object
org.springframework.batch.test.context.BatchTestContextCustomizer
- All Implemented Interfaces:
org.springframework.test.context.ContextCustomizer
public class BatchTestContextCustomizer
extends Object
implements org.springframework.test.context.ContextCustomizer
ContextCustomizer implementation that adds batch test utility classes
(JobLauncherTestUtils and JobRepositoryTestUtils) as beans in the test
context.- Since:
- 4.1
- Author:
- Mahmoud Ben Hassine, Alexander Arshavskiy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomizeContext(org.springframework.context.ConfigurableApplicationContext context, org.springframework.test.context.MergedContextConfiguration mergedConfig) booleaninthashCode()
-
Constructor Details
-
BatchTestContextCustomizer
public BatchTestContextCustomizer()
-
-
Method Details
-
customizeContext
public void customizeContext(org.springframework.context.ConfigurableApplicationContext context, org.springframework.test.context.MergedContextConfiguration mergedConfig) - Specified by:
customizeContextin interfaceorg.springframework.test.context.ContextCustomizer
-
equals
-
hashCode
public int hashCode()
-