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

shouldNotMarkDbcp2UsernameOrPasswordAsDeprecated() — spring-boot Function Reference

Architecture documentation for the shouldNotMarkDbcp2UsernameOrPasswordAsDeprecated() function in ConfigurationMetadataAnnotationProcessorTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  80f54603_b967_1727_be48_42582c27e74e["shouldNotMarkDbcp2UsernameOrPasswordAsDeprecated()"]
  4e7738f0_ea94_abd8_5384_e7be1344cace["compile()"]
  80f54603_b967_1727_be48_42582c27e74e -->|calls| 4e7738f0_ea94_abd8_5384_e7be1344cace
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  80f54603_b967_1727_be48_42582c27e74e -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  4524fd47_2a72_6baf_3673_e349f9d0b371["withNoDeprecation()"]
  80f54603_b967_1727_be48_42582c27e74e -->|calls| 4524fd47_2a72_6baf_3673_e349f9d0b371
  style 80f54603_b967_1727_be48_42582c27e74e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataAnnotationProcessorTests.java lines 594–599

	@Test
	void shouldNotMarkDbcp2UsernameOrPasswordAsDeprecated() {
		ConfigurationMetadata metadata = compile(Dbcp2Configuration.class);
		assertThat(metadata).has(Metadata.withProperty("spring.datasource.dbcp2.username").withNoDeprecation());
		assertThat(metadata).has(Metadata.withProperty("spring.datasource.dbcp2.password").withNoDeprecation());
	}

Domain

Subdomains

Frequently Asked Questions

What does shouldNotMarkDbcp2UsernameOrPasswordAsDeprecated() do?
shouldNotMarkDbcp2UsernameOrPasswordAsDeprecated() is a function in the spring-boot codebase.
What does shouldNotMarkDbcp2UsernameOrPasswordAsDeprecated() call?
shouldNotMarkDbcp2UsernameOrPasswordAsDeprecated() calls 3 function(s): compile, withNoDeprecation, withProperty.

Analyze Your Own Codebase

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

Try Supermodel Free