Home / Type/ WithTestYamlResource Type — spring-boot Architecture

WithTestYamlResource Type — spring-boot Architecture

Architecture documentation for the WithTestYamlResource type/interface in OriginTrackedYamlLoaderTests.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/test/java/org/springframework/boot/env/OriginTrackedYamlLoaderTests.java lines 267–310

	@Retention(RetentionPolicy.RUNTIME)
	@Target(ElementType.METHOD)
	@WithResource(name = "test-yaml.yml", content = """
			# https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html

			name: Martin D'vloper
			job: Developer
			skill: Elite
			employed: True
			foods:
			    - Apple
			    - Orange
			    - Strawberry
			    - Mango
			languages:
			    perl: Elite
			    python: Elite
			    pascal: Lame
			education: |
			    4 GCSEs
			    3 A-Levels
			    BSc in the Internet of Things
			example:
			    foo:
			      - name: springboot
			        url: https://springboot.example.com/
			        bar:
			          - bar1: baz
			          - bar2: bling
			empty: ""
			null-value: null
			emptylist: []
			emptymap: {}
			---

			spring:
			  profiles: development
			name: Test Name

			---
			""")
	private @interface WithTestYamlResource {

	}

Analyze Your Own Codebase

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

Try Supermodel Free