55
55
class ApplicationContextAotGeneratorTests {
56
56
57
57
@ Test
58
- void generateApplicationContextWhenHasSimpleBean () {
58
+ void processAheadOfTimeWhenHasSimpleBean () {
59
59
GenericApplicationContext applicationContext = new GenericApplicationContext ();
60
60
applicationContext .registerBeanDefinition ("test" , new RootBeanDefinition (SimpleComponent .class ));
61
61
testCompiledResult (applicationContext , (initializer , compiled ) -> {
@@ -66,7 +66,7 @@ void generateApplicationContextWhenHasSimpleBean() {
66
66
}
67
67
68
68
@ Test
69
- void generateApplicationContextWhenHasAutowiring () {
69
+ void processAheadOfTimeWhenHasAutowiring () {
70
70
GenericApplicationContext applicationContext = new GenericApplicationContext ();
71
71
applicationContext .registerBeanDefinition (AnnotationConfigUtils .AUTOWIRED_ANNOTATION_PROCESSOR_BEAN_NAME ,
72
72
BeanDefinitionBuilder
@@ -87,7 +87,7 @@ void generateApplicationContextWhenHasAutowiring() {
87
87
}
88
88
89
89
@ Test
90
- void generateApplicationContextWhenHasInitDestroyMethods () {
90
+ void processAheadOfTimeWhenHasInitDestroyMethods () {
91
91
GenericApplicationContext applicationContext = new GenericApplicationContext ();
92
92
applicationContext .registerBeanDefinition (
93
93
AnnotationConfigUtils .COMMON_ANNOTATION_PROCESSOR_BEAN_NAME ,
@@ -107,7 +107,7 @@ void generateApplicationContextWhenHasInitDestroyMethods() {
107
107
}
108
108
109
109
@ Test
110
- void generateApplicationContextWhenHasMultipleInitDestroyMethods () {
110
+ void processAheadOfTimeWhenHasMultipleInitDestroyMethods () {
111
111
GenericApplicationContext applicationContext = new GenericApplicationContext ();
112
112
applicationContext .registerBeanDefinition (
113
113
AnnotationConfigUtils .COMMON_ANNOTATION_PROCESSOR_BEAN_NAME ,
@@ -129,7 +129,7 @@ void generateApplicationContextWhenHasMultipleInitDestroyMethods() {
129
129
}
130
130
131
131
@ Test
132
- void generateApplicationContextWhenHasNoAotContributions () {
132
+ void processAheadOfTimeWhenHasNoAotContributions () {
133
133
GenericApplicationContext applicationContext = new GenericApplicationContext ();
134
134
testCompiledResult (applicationContext , (initializer , compiled ) -> {
135
135
GenericApplicationContext freshApplicationContext = toFreshApplicationContext (initializer );
@@ -140,7 +140,7 @@ void generateApplicationContextWhenHasNoAotContributions() {
140
140
}
141
141
142
142
@ Test
143
- void generateApplicationContextWhenHasBeanFactoryInitializationAotProcessorExcludesProcessor () {
143
+ void processAheadOfTimeWhenHasBeanFactoryInitializationAotProcessorExcludesProcessor () {
144
144
GenericApplicationContext applicationContext = new GenericApplicationContext ();
145
145
applicationContext .registerBeanDefinition ("test" ,
146
146
new RootBeanDefinition (NoOpBeanFactoryInitializationAotProcessor .class ));
@@ -151,7 +151,7 @@ void generateApplicationContextWhenHasBeanFactoryInitializationAotProcessorExclu
151
151
}
152
152
153
153
@ Test
154
- void generateApplicationContextWhenHasBeanRegistrationAotProcessorExcludesProcessor () {
154
+ void processAheadOfTimeWhenHasBeanRegistrationAotProcessorExcludesProcessor () {
155
155
GenericApplicationContext applicationContext = new GenericApplicationContext ();
156
156
applicationContext .registerBeanDefinition ("test" ,
157
157
new RootBeanDefinition (NoOpBeanRegistrationAotProcessor .class ));
0 commit comments