mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 04:09:04 +00:00
This commit introduces support in the Spring TestContext Framework (TCF) to query whether the test's ApplicationContext is available. Specifically, this commit introduces the following two `default` methods along with corresponding implementations in DefaultTestContext and DefaultCacheAwareContextLoaderDelegate. - `boolean hasApplicationContext()` in the TestContext API - `boolean isContextLoaded(MergedContextConfiguration)` in the CacheAwareContextLoaderDelegate API Closes gh-22756