contextWhenHasAddConversionServiceFalseUsesRegularConversionService() — spring-boot Function Reference
Architecture documentation for the contextWhenHasAddConversionServiceFalseUsesRegularConversionService() function in SpringApplicationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 61d64757_b6de_f465_f818_96c1373017c8["contextWhenHasAddConversionServiceFalseUsesRegularConversionService()"] 628606c2_0428_9936_bf14_bce3d90d512e["setAddConversionService()"] 61d64757_b6de_f465_f818_96c1373017c8 -->|calls| 628606c2_0428_9936_bf14_bce3d90d512e b51c2a0a_c091_ca23_6e06_a954e1fee03d["getEnvironment()"] 61d64757_b6de_f465_f818_96c1373017c8 -->|calls| b51c2a0a_c091_ca23_6e06_a954e1fee03d 3613e214_49bf_015b_c43f_7f8a1274fb0b["run()"] 61d64757_b6de_f465_f818_96c1373017c8 -->|calls| 3613e214_49bf_015b_c43f_7f8a1274fb0b style 61d64757_b6de_f465_f818_96c1373017c8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java lines 590–599
@Test
void contextWhenHasAddConversionServiceFalseUsesRegularConversionService() {
SpringApplication application = new SpringApplication(ExampleConfig.class);
application.setWebApplicationType(WebApplicationType.NONE);
application.setAddConversionService(false);
this.context = application.run();
assertThat(this.context.getBeanFactory().getConversionService()).isNull();
assertThat(this.context.getEnvironment().getConversionService())
.isNotInstanceOf(ApplicationConversionService.class);
}
Domain
Subdomains
Calls
- getEnvironment()
- run()
- setAddConversionService()
Source
Frequently Asked Questions
What does contextWhenHasAddConversionServiceFalseUsesRegularConversionService() do?
contextWhenHasAddConversionServiceFalseUsesRegularConversionService() is a function in the spring-boot codebase.
What does contextWhenHasAddConversionServiceFalseUsesRegularConversionService() call?
contextWhenHasAddConversionServiceFalseUsesRegularConversionService() calls 3 function(s): getEnvironment, run, setAddConversionService.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free