Introduce StandardTestRuntimeHints in the TestContext framework

This commit introduces StandardTestRuntimeHints and migrates existing
hint registration from TestContextAotGenerator to this new class.

In addition, this commit removes a package cycle between context.aot and
context.web that was introduced in commit dc7c7ac22a.

See gh-29026, gh-29069
This commit is contained in:
Sam Brannen
2022-09-04 17:44:19 +02:00
parent bf0ac84a05
commit cbb30153fb
4 changed files with 110 additions and 51 deletions

View File

@@ -1,2 +1,5 @@
org.springframework.aot.hint.RuntimeHintsRegistrar=\
org.springframework.test.context.aot.hint.TestContextRuntimeHints
org.springframework.test.context.aot.TestRuntimeHintsRegistrar=\
org.springframework.test.context.aot.hint.StandardTestRuntimeHints