From 87d37a21aa79837895378bb5bbf36bc178e61e07 Mon Sep 17 00:00:00 2001 From: Per Lundberg Date: Thu, 30 Nov 2023 11:38:29 +0200 Subject: [PATCH] Link to spring.factories used in the TestContext framework in the ref docs Closes gh-31723 --- .../ctx-management/context-customizers.adoc | 8 ++++---- .../pages/testing/testcontext-framework/tel-config.adoc | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/testing/testcontext-framework/ctx-management/context-customizers.adoc b/framework-docs/modules/ROOT/pages/testing/testcontext-framework/ctx-management/context-customizers.adoc index 9a5e920b4eed..e30a962de5b0 100644 --- a/framework-docs/modules/ROOT/pages/testing/testcontext-framework/ctx-management/context-customizers.adoc +++ b/framework-docs/modules/ROOT/pages/testing/testcontext-framework/ctx-management/context-customizers.adoc @@ -45,10 +45,10 @@ issue is addressed through support for automatic discovery of default Specifically, the modules that make up the testing support in Spring Framework and Spring Boot declare all core default `ContextCustomizerFactory` implementations under the `org.springframework.test.context.ContextCustomizerFactory` key in their -`META-INF/spring.factories` properties files. Third-party frameworks and developers can -contribute their own `ContextCustomizerFactory` implementations to the list of default -factories in the same manner through their own `META-INF/spring.factories` properties -files. +{spring-framework-code}/spring-test/src/main/resources/META-INF/spring.factories[`META-INF/spring.factories`] +properties files. Third-party frameworks and developers can contribute their own +`ContextCustomizerFactory` implementations to the list of default factories in the same +manner through their own `META-INF/spring.factories` properties files. [[testcontext-context-customizers-merging]] diff --git a/framework-docs/modules/ROOT/pages/testing/testcontext-framework/tel-config.adoc b/framework-docs/modules/ROOT/pages/testing/testcontext-framework/tel-config.adoc index 754d490563b0..358f305b0f9d 100644 --- a/framework-docs/modules/ROOT/pages/testing/testcontext-framework/tel-config.adoc +++ b/framework-docs/modules/ROOT/pages/testing/testcontext-framework/tel-config.adoc @@ -82,8 +82,9 @@ issue is addressed through support for automatic discovery of default Specifically, the `spring-test` module declares all core default `TestExecutionListener` implementations under the `org.springframework.test.context.TestExecutionListener` key in -its `META-INF/spring.factories` properties file. Third-party frameworks and developers -can contribute their own `TestExecutionListener` implementations to the list of default +{spring-framework-code}/spring-test/src/main/resources/META-INF/spring.factories[its +`META-INF/spring.factories` properties file]. Third-party frameworks and developers can +contribute their own `TestExecutionListener` implementations to the list of default listeners in the same manner through their own `META-INF/spring.factories` properties file. @@ -207,4 +208,3 @@ Kotlin:: } ---- ====== -