Relocate @PropertyMapping to spring-boot-test

Move `@PropertyMapping` and supporting code from the
`spring-boot-test-autoconfigure` module to `spring-boot-test`
since it's generally applicable.

See gh-46356
See gh-47322
This commit is contained in:
Phillip Webb
2025-10-01 21:41:03 -07:00
parent 2b3a8ff647
commit 17e655b7e5
25 changed files with 72 additions and 116 deletions
@@ -25,7 +25,7 @@ import java.lang.annotation.Target;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.cache.CacheType;
import org.springframework.boot.test.autoconfigure.properties.PropertyMapping;
import org.springframework.boot.test.context.PropertyMapping;
import org.springframework.cache.CacheManager;
import org.springframework.cache.support.NoOpCacheManager;