Class DefaultActiveProfilesResolver
java.lang.Object
org.springframework.test.context.support.DefaultActiveProfilesResolver
- All Implemented Interfaces:
- ActiveProfilesResolver
Default implementation of the 
ActiveProfilesResolver strategy that
 resolves active bean definition profiles based solely on profiles
 configured declaratively via ActiveProfiles.profiles() or
 ActiveProfiles.value().- Since:
- 4.1
- Author:
- Sam Brannen
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionString[]Resolve the bean definition profiles for the given test class based on profiles configured declaratively viaActiveProfiles.profiles()orActiveProfiles.value().
- 
Constructor Details- 
DefaultActiveProfilesResolverpublic DefaultActiveProfilesResolver()
 
- 
- 
Method Details- 
resolveResolve the bean definition profiles for the given test class based on profiles configured declaratively viaActiveProfiles.profiles()orActiveProfiles.value().- Specified by:
- resolvein interface- ActiveProfilesResolver
- Parameters:
- testClass- the test class for which the profiles should be resolved; never- null
- Returns:
- the bean definition profiles to use when loading the
 ApplicationContext; nevernull
- See Also:
 
 
-