diff --git a/spring-context/src/test/java/org/springframework/context/aot/ApplicationContextAotGeneratorTests.java b/spring-context/src/test/java/org/springframework/context/aot/ApplicationContextAotGeneratorTests.java index d6899c7931df..c3970d78bdfd 100644 --- a/spring-context/src/test/java/org/springframework/context/aot/ApplicationContextAotGeneratorTests.java +++ b/spring-context/src/test/java/org/springframework/context/aot/ApplicationContextAotGeneratorTests.java @@ -55,7 +55,7 @@ class ApplicationContextAotGeneratorTests { @Test - void generateApplicationContextWhenHasSimpleBean() { + void processAheadOfTimeWhenHasSimpleBean() { GenericApplicationContext applicationContext = new GenericApplicationContext(); applicationContext.registerBeanDefinition("test", new RootBeanDefinition(SimpleComponent.class)); testCompiledResult(applicationContext, (initializer, compiled) -> { @@ -66,7 +66,7 @@ void generateApplicationContextWhenHasSimpleBean() { } @Test - void generateApplicationContextWhenHasAutowiring() { + void processAheadOfTimeWhenHasAutowiring() { GenericApplicationContext applicationContext = new GenericApplicationContext(); applicationContext.registerBeanDefinition(AnnotationConfigUtils.AUTOWIRED_ANNOTATION_PROCESSOR_BEAN_NAME, BeanDefinitionBuilder @@ -87,7 +87,7 @@ void generateApplicationContextWhenHasAutowiring() { } @Test - void generateApplicationContextWhenHasInitDestroyMethods() { + void processAheadOfTimeWhenHasInitDestroyMethods() { GenericApplicationContext applicationContext = new GenericApplicationContext(); applicationContext.registerBeanDefinition( AnnotationConfigUtils.COMMON_ANNOTATION_PROCESSOR_BEAN_NAME, @@ -107,7 +107,7 @@ void generateApplicationContextWhenHasInitDestroyMethods() { } @Test - void generateApplicationContextWhenHasMultipleInitDestroyMethods() { + void processAheadOfTimeWhenHasMultipleInitDestroyMethods() { GenericApplicationContext applicationContext = new GenericApplicationContext(); applicationContext.registerBeanDefinition( AnnotationConfigUtils.COMMON_ANNOTATION_PROCESSOR_BEAN_NAME, @@ -129,7 +129,7 @@ void generateApplicationContextWhenHasMultipleInitDestroyMethods() { } @Test - void generateApplicationContextWhenHasNoAotContributions() { + void processAheadOfTimeWhenHasNoAotContributions() { GenericApplicationContext applicationContext = new GenericApplicationContext(); testCompiledResult(applicationContext, (initializer, compiled) -> { GenericApplicationContext freshApplicationContext = toFreshApplicationContext(initializer); @@ -140,7 +140,7 @@ void generateApplicationContextWhenHasNoAotContributions() { } @Test - void generateApplicationContextWhenHasBeanFactoryInitializationAotProcessorExcludesProcessor() { + void processAheadOfTimeWhenHasBeanFactoryInitializationAotProcessorExcludesProcessor() { GenericApplicationContext applicationContext = new GenericApplicationContext(); applicationContext.registerBeanDefinition("test", new RootBeanDefinition(NoOpBeanFactoryInitializationAotProcessor.class)); @@ -151,7 +151,7 @@ void generateApplicationContextWhenHasBeanFactoryInitializationAotProcessorExclu } @Test - void generateApplicationContextWhenHasBeanRegistrationAotProcessorExcludesProcessor() { + void processAheadOfTimeWhenHasBeanRegistrationAotProcessorExcludesProcessor() { GenericApplicationContext applicationContext = new GenericApplicationContext(); applicationContext.registerBeanDefinition("test", new RootBeanDefinition(NoOpBeanRegistrationAotProcessor.class));