Home / Function/ failsWithInvalidCreatedDate() — spring-boot Function Reference

failsWithInvalidCreatedDate() — spring-boot Function Reference

Architecture documentation for the failsWithInvalidCreatedDate() function in BootBuildImageIntegrationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  04e73694_82e4_117e_63d4_4fd6ce4850fb["failsWithInvalidCreatedDate()"]
  f965ce7e_2357_c125_a1d3_24069c68ecf8["writeMainClass()"]
  04e73694_82e4_117e_63d4_4fd6ce4850fb -->|calls| f965ce7e_2357_c125_a1d3_24069c68ecf8
  66ac0fbc_cfc2_1ca0_5597_62584de5d0fb["writeLongNameResource()"]
  04e73694_82e4_117e_63d4_4fd6ce4850fb -->|calls| 66ac0fbc_cfc2_1ca0_5597_62584de5d0fb
  style 04e73694_82e4_117e_63d4_4fd6ce4850fb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/dockerTest/java/org/springframework/boot/gradle/tasks/bundling/BootBuildImageIntegrationTests.java lines 511–520

	@TestTemplate
	void failsWithInvalidCreatedDate() throws IOException {
		writeMainClass();
		writeLongNameResource();
		BuildResult result = this.gradleBuild.buildAndFail("bootBuildImage");
		BuildTask task = result.task(":bootBuildImage");
		assertThat(task).isNotNull();
		assertThat(task.getOutcome()).isEqualTo(TaskOutcome.FAILED);
		assertThat(result.getOutput()).contains("Error parsing 'invalid date' as an image created date");
	}

Subdomains

Frequently Asked Questions

What does failsWithInvalidCreatedDate() do?
failsWithInvalidCreatedDate() is a function in the spring-boot codebase.
What does failsWithInvalidCreatedDate() call?
failsWithInvalidCreatedDate() calls 2 function(s): writeLongNameResource, writeMainClass.

Analyze Your Own Codebase

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

Try Supermodel Free