Class TestContextAotGenerator
java.lang.Object
org.springframework.test.context.aot.TestContextAotGenerator
TestContextAotGenerator generates AOT artifacts for integration tests
 that depend on support from the Spring TestContext Framework.- Since:
 - 6.0
 - Author:
 - Sam Brannen
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionTestContextAotGenerator(GeneratedFiles generatedFiles) Create a newTestContextAotGeneratorthat uses the suppliedGeneratedFiles.TestContextAotGenerator(GeneratedFiles generatedFiles, RuntimeHints runtimeHints)  - 
Method Summary
Modifier and TypeMethodDescriptionfinal RuntimeHintsGet theRuntimeHintsgathered during AOT processing.voidprocessAheadOfTime(Stream<Class<?>> testClasses) Process each of the supplied Spring integration test classes and generate AOT artifacts. 
- 
Constructor Details
- 
TestContextAotGenerator
Create a newTestContextAotGeneratorthat uses the suppliedGeneratedFiles.- Parameters:
 generatedFiles- theGeneratedFilesto use
 - 
TestContextAotGenerator
- Parameters:
 generatedFiles- theGeneratedFilesto useruntimeHints- theRuntimeHintsto use
 
 - 
 - 
Method Details
- 
getRuntimeHints
Get theRuntimeHintsgathered during AOT processing. - 
processAheadOfTime
Process each of the supplied Spring integration test classes and generate AOT artifacts.- Throws:
 TestContextAotException- if an error occurs during AOT processing
 
 -