类 DefaultActiveProfilesResolver
java.lang.Object
cn.taketoday.test.context.support.DefaultActiveProfilesResolver
- 所有已实现的接口:
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().- 从以下版本开始:
- 4.0
- 作者:
- Sam Brannen, Harry Yang
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明String[]Resolve the bean definition profiles for the given test class based on profiles configured declaratively viaActiveProfiles.profiles()orActiveProfiles.value().
-
字段详细资料
-
EMPTY_STRING_ARRAY
-
log
private static final cn.taketoday.logging.Logger log
-
-
构造器详细资料
-
DefaultActiveProfilesResolver
public DefaultActiveProfilesResolver()
-
-
方法详细资料
-
resolve
Resolve the bean definition profiles for the given test class based on profiles configured declaratively viaActiveProfiles.profiles()orActiveProfiles.value().- 指定者:
resolve在接口中ActiveProfilesResolver- 参数:
testClass- the test class for which the profiles should be resolved; nevernull- 返回:
- the array of bean definition profiles to use when loading the
ApplicationContext; nevernull - 另请参阅:
-