• S
    [SPR-7960][SPR-8386] Supporting declarative configuration of bean definition... · 2913964b
    Sam Brannen 提交于
    [SPR-7960][SPR-8386] Supporting declarative configuration of bean definition profiles in the TestContext framework:
    - TextContext now works with MergedContextConfiguration instead of locations and loader
    - TextContext now builds context caching key from MergedContextConfiguration
    - Test context caching is now based on locations, classes, active profiles, and context loader
    - TextContext now delegates to SmartContextLoader or ContextLoader as appropriate
    - AbstractContextLoader now implements SmartContextLoader
    - AbstractGenericContextLoader now sets active profiles in the GenericApplicationContext 
    - Introduced integration tests for profile support in the TCF for both XML and annotation config
    2913964b
AbstractGenericContextLoader.java 8.5 KB