You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deprecate support for custom, default ContextLoader class name in the TestContext framework [SPR-11682] #16305
#14588 introduces a new bootstrap strategy for the TestContext framework. Thus as of Spring Framework 4.1, a TestContextBootstrapper will assume the responsibility for determining what ContextLoader to use as the default. Consequently, previous support for supplying the class name for a custom, defaultContextLoader will no longer be applicable.
Deliverables
Officially deprecate support for custom, default ContextLoader class names in the 4.0.x line for the following:
The TestContextManager(Class, String) constructor
The getDefaultContextLoaderClassName(Class) method in SpringJUnit4ClassRunner
Once the new bootstrap strategy for the TestContext framework (TCF) is
introduced in Spring Framework 4.1, a TestContextBootstrapper will
assume full responsibility for determining what ContextLoader to use as
the default. Consequently, the previous support for supplying the class
name for a custom, default ContextLoader will no longer be applicable.
This commit therefore officially deprecates support for custom, default
ContextLoader class names via the following mechanisms:
The TestContextManager(Class, String) constructor
The getDefaultContextLoaderClassName(Class) method in
SpringJUnit4ClassRunner
Activity
spring-projects-issues commentedon Apr 10, 2014
Sam Brannen commented
Completed as described in the comments for GitHub commit d5ce30f: