程序包 cn.taketoday.test.context.aot
@NonNullApi
@NonNullFields
package cn.taketoday.test.context.aot
Ahead-of-time (AOT) support for the Infra TestContext Framework.
-
类说明Strategy interface for loading an
ApplicationContextfor build-time AOT processing as well as run-time AOT execution for an integration test managed by the Infra TestContext Framework.Holder for metadata specific to ahead-of-time (AOT) support in the Infra TestContext Framework.Internal code generator forAotTestAttributes.Factory forAotTestAttributes.AotTestContextInitializersprovides mappings from test classes to AOT-optimized context initializers.Internal code generator for mappings used byAotTestContextInitializers.Factory forAotTestContextInitializers.AotTestExecutionListeneris an extension of theTestExecutionListenerSPI that allows a listener to optionally provide ahead-of-time (AOT) support.Default implementation ofAotTestAttributesbacked by aMap.@DisabledInAotModesignals that an annotated test class is disabled in Infra AOT (ahead-of-time) mode, which means that theApplicationContextfor the test class will not be processed for AOT optimizations at build time.ExecutionConditionimplementation forDisabledInAotMode.Utilities for loading generated maps.MergedContextConfigurationRuntimeHintsregisters run-time hints for standard functionality in the Infra TestContext Framework based onMergedContextConfiguration.Filesystem-based ahead-of-time (AOT) processing base implementation that scans the provided classpath roots for Infra integration test classes and then generates AOT artifacts for those test classes in the configured output directories.TestClassScannerscans provided classpath roots for Infra integration test classes using the JUnit PlatformLauncherAPI which allows all registeredTestEnginesto discover tests according to their own rules.Thrown if an error occurs during AOT build-time processing or AOT run-time execution in the Infra TestContext Framework.TestContextAotGeneratorgenerates AOT artifacts for integration tests that depend on support from the Infra TestContext Framework.Extension ofDefaultGenerationContextwith a custom implementation ofTestContextGenerationContext.withName(String)that is specific to the Infra TestContext Framework.Contract for registeringRuntimeHintsfor integration tests run with the Infra TestContext Framework based on theClassLoaderof the deployment unit.