createTestProfiles() — spring-boot Function Reference
Architecture documentation for the createTestProfiles() function in ConfigDataPropertiesTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 7785d98a_1ccf_9b09_91bd_465da4d9bce1["createTestProfiles()"] 92b02234_901d_d416_2ff1_ba5070317cc4["isActiveWhenNullProfilesAgainstSpecificProfiles()"] 92b02234_901d_d416_2ff1_ba5070317cc4 -->|calls| 7785d98a_1ccf_9b09_91bd_465da4d9bce1 ab61bba0_f143_7128_c52a_d12872383acc["isActiveWhenSpecificProfilesAgainstMatchingSpecificProfiles()"] ab61bba0_f143_7128_c52a_d12872383acc -->|calls| 7785d98a_1ccf_9b09_91bd_465da4d9bce1 70aba6c3_1832_7410_5aff_b542746605b8["isActiveWhenSpecificProfilesAgainstMissingSpecificProfiles()"] 70aba6c3_1832_7410_5aff_b542746605b8 -->|calls| 7785d98a_1ccf_9b09_91bd_465da4d9bce1 3fb1d3d3_7598_2982_0c60_778fe11a4ca5["isActiveWhenProfileExpressionAgainstSpecificProfiles()"] 3fb1d3d3_7598_2982_0c60_778fe11a4ca5 -->|calls| 7785d98a_1ccf_9b09_91bd_465da4d9bce1 716b0958_01c0_e3c2_6e8d_4ecda3fa819f["isActiveWhenActivateIsNull()"] 716b0958_01c0_e3c2_6e8d_4ecda3fa819f -->|calls| 7785d98a_1ccf_9b09_91bd_465da4d9bce1 941bf771_f029_da7b_4be5_55fb4bc2b196["isActiveAgainstBoundData()"] 941bf771_f029_da7b_4be5_55fb4bc2b196 -->|calls| 7785d98a_1ccf_9b09_91bd_465da4d9bce1 59391cfd_2949_56f6_d41d_fb24ade8f1cb["isActiveAgainstBoundDataWhenProfilesDontMatch()"] 59391cfd_2949_56f6_d41d_fb24ade8f1cb -->|calls| 7785d98a_1ccf_9b09_91bd_465da4d9bce1 dbdcb1be_e1db_8c6f_9a25_0f7d3be39d9c["isActiveAgainstBoundDataWhenCloudPlatformDoesntMatch()"] dbdcb1be_e1db_8c6f_9a25_0f7d3be39d9c -->|calls| 7785d98a_1ccf_9b09_91bd_465da4d9bce1 362ccb3a_31cf_c13e_ed68_668aa1edbd60["isActiveAgainstBoundDataWhenProfilesMatchCommaSeparatedList()"] 362ccb3a_31cf_c13e_ed68_668aa1edbd60 -->|calls| 7785d98a_1ccf_9b09_91bd_465da4d9bce1 c90d60de_6e4d_b157_5121_acbc78d427f0["get()"] 7785d98a_1ccf_9b09_91bd_465da4d9bce1 -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0 style 7785d98a_1ccf_9b09_91bd_465da4d9bce1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataPropertiesTests.java lines 243–249
private Profiles createTestProfiles() {
MockEnvironment environment = new MockEnvironment();
environment.setActiveProfiles("a", "b", "c");
environment.setDefaultProfiles("d", "e", "f");
Binder binder = Binder.get(environment);
return new Profiles(environment, binder, null);
}
Domain
Subdomains
Calls
Called By
- isActiveAgainstBoundData()
- isActiveAgainstBoundDataWhenCloudPlatformDoesntMatch()
- isActiveAgainstBoundDataWhenProfilesDontMatch()
- isActiveAgainstBoundDataWhenProfilesMatchCommaSeparatedList()
- isActiveWhenActivateIsNull()
- isActiveWhenNullProfilesAgainstSpecificProfiles()
- isActiveWhenProfileExpressionAgainstSpecificProfiles()
- isActiveWhenSpecificProfilesAgainstMatchingSpecificProfiles()
- isActiveWhenSpecificProfilesAgainstMissingSpecificProfiles()
Source
Frequently Asked Questions
What does createTestProfiles() do?
createTestProfiles() is a function in the spring-boot codebase.
What does createTestProfiles() call?
createTestProfiles() calls 1 function(s): get.
What calls createTestProfiles()?
createTestProfiles() is called by 9 function(s): isActiveAgainstBoundData, isActiveAgainstBoundDataWhenCloudPlatformDoesntMatch, isActiveAgainstBoundDataWhenProfilesDontMatch, isActiveAgainstBoundDataWhenProfilesMatchCommaSeparatedList, isActiveWhenActivateIsNull, isActiveWhenNullProfilesAgainstSpecificProfiles, isActiveWhenProfileExpressionAgainstSpecificProfiles, isActiveWhenSpecificProfilesAgainstMatchingSpecificProfiles, and 1 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free