shouldBeLenientIfAotEnvironmentPostProcessorDoesNotExist() — spring-boot Function Reference
Architecture documentation for the shouldBeLenientIfAotEnvironmentPostProcessorDoesNotExist() function in EnvironmentPostProcessorApplicationListenerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 3aa2334a_1a67_964b_f9ce_8653af68163e["shouldBeLenientIfAotEnvironmentPostProcessorDoesNotExist()"] 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3["SpringApplication()"] 3aa2334a_1a67_964b_f9ce_8653af68163e -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3 9fc735d3_f2de_a77c_c1a1_abf218992bd6["setWebApplicationType()"] 3aa2334a_1a67_964b_f9ce_8653af68163e -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6 c1a74346_ef62_6212_4608_7adb7cdc920b["setMainApplicationClass()"] 3aa2334a_1a67_964b_f9ce_8653af68163e -->|calls| c1a74346_ef62_6212_4608_7adb7cdc920b 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7["getEnvironment()"] 3aa2334a_1a67_964b_f9ce_8653af68163e -->|calls| 4baf3fc6_621e_dcfc_aa6f_e5b082e8d6d7 89cfa04a_3922_680e_945d_5b4338252cc7["run()"] 3aa2334a_1a67_964b_f9ce_8653af68163e -->|calls| 89cfa04a_3922_680e_945d_5b4338252cc7 style 3aa2334a_1a67_964b_f9ce_8653af68163e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/support/EnvironmentPostProcessorApplicationListenerTests.java lines 277–291
@Test
void shouldBeLenientIfAotEnvironmentPostProcessorDoesNotExist() {
SpringApplication application = new SpringApplication(ExampleAotProcessedNoProfileApp.class);
application.setWebApplicationType(WebApplicationType.NONE);
application.setMainApplicationClass(ExampleAotProcessedNoProfileApp.class);
System.setProperty(AotDetector.AOT_ENABLED, "true");
try {
ApplicationContext context = application.run();
assertThat(context.getEnvironment().getActiveProfiles()).isEmpty();
assertThat(context.getBean("test")).isEqualTo("test");
}
finally {
System.clearProperty(AotDetector.AOT_ENABLED);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does shouldBeLenientIfAotEnvironmentPostProcessorDoesNotExist() do?
shouldBeLenientIfAotEnvironmentPostProcessorDoesNotExist() is a function in the spring-boot codebase.
What does shouldBeLenientIfAotEnvironmentPostProcessorDoesNotExist() call?
shouldBeLenientIfAotEnvironmentPostProcessorDoesNotExist() calls 5 function(s): SpringApplication, getEnvironment, run, setMainApplicationClass, setWebApplicationType.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free