validateEmptyGroup() — spring-boot Function Reference
Architecture documentation for the validateEmptyGroup() function in ConfigurationMetadataRepositoryJsonBuilderTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 98b9dad0_f3a8_c971_f00c_7911af375efc["validateEmptyGroup()"] 3717ff9e_abb4_75fc_0e79_e247793b936f["emptyGroups()"] 3717ff9e_abb4_75fc_0e79_e247793b936f -->|calls| 98b9dad0_f3a8_c971_f00c_7911af375efc 03e76805_67f6_02dc_71cd_4fb3e6172301["contains()"] 98b9dad0_f3a8_c971_f00c_7911af375efc -->|calls| 03e76805_67f6_02dc_71cd_4fb3e6172301 4051c253_3fde_9138_3c31_037826ff1535["validatePropertyHints()"] 98b9dad0_f3a8_c971_f00c_7911af375efc -->|calls| 4051c253_3fde_9138_3c31_037826ff1535 style 98b9dad0_f3a8_c971_f00c_7911af375efc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-metadata/src/test/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataRepositoryJsonBuilderTests.java lines 249–260
private void validateEmptyGroup(ConfigurationMetadataRepository repo) {
ConfigurationMetadataGroup group = repo.getAllGroups().get("");
contains(group.getSources(), "org.acme.Foo", "org.acme.Bar");
ConfigurationMetadataSource source = group.getSources().get("org.acme.Foo");
contains(source.getProperties(), "name");
assertThat(source.getProperties()).hasSize(1);
ConfigurationMetadataSource source2 = group.getSources().get("org.acme.Bar");
contains(source2.getProperties(), "title");
assertThat(source2.getProperties()).hasSize(1);
validatePropertyHints(repo.getAllProperties().get("name"), 0, 0);
validatePropertyHints(repo.getAllProperties().get("title"), 0, 0);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does validateEmptyGroup() do?
validateEmptyGroup() is a function in the spring-boot codebase.
What does validateEmptyGroup() call?
validateEmptyGroup() calls 2 function(s): contains, validatePropertyHints.
What calls validateEmptyGroup()?
validateEmptyGroup() is called by 1 function(s): emptyGroups.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free