Home / Class/ FailureAnalyzersIntegrationTests Class — spring-boot Architecture

FailureAnalyzersIntegrationTests Class — spring-boot Architecture

Architecture documentation for the FailureAnalyzersIntegrationTests class in FailureAnalyzersIntegrationTests.java from the spring-boot codebase.

Entity Profile

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/diagnostics/FailureAnalyzersIntegrationTests.java lines 38–58

@ExtendWith(OutputCaptureExtension.class)
class FailureAnalyzersIntegrationTests {

	@Test
	void analysisIsPerformed(CapturedOutput output) {
		assertThatException()
			.isThrownBy(() -> new SpringApplicationBuilder(TestConfiguration.class).web(WebApplicationType.NONE).run());
		assertThat(output).contains("APPLICATION FAILED TO START");
	}

	@Configuration(proxyBeanMethods = false)
	static class TestConfiguration {

		@PostConstruct
		void fail() {
			new PathPatternParser().parse("{ }");
		}

	}

}

Domain

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free