接口的使用
org.springframework.test.context.ActiveProfilesResolver
使用ActiveProfilesResolver的程序包 程序包 说明 org.springframework.test.context This package contains the Spring TestContext Framework which provides annotation-driven unit and integration testing support that is agnostic of the actual testing framework in use.org.springframework.test.context.support Support classes for the Spring TestContext Framework.org.springframework.test.context中ActiveProfilesResolver的使用
返回变量类型为ActiveProfilesResolver的类型的org.springframework.test.context中的方法 修饰符和类型 方法 说明 Class<? extends ActiveProfilesResolver>
resolver()
The type ofActiveProfilesResolver
to use for resolving the active bean definition profiles programmatically.org.springframework.test.context.support中ActiveProfilesResolver的使用
实现ActiveProfilesResolver的org.springframework.test.context.support中的类 修饰符和类型 类 说明 class
DefaultActiveProfilesResolver
Default implementation of theActiveProfilesResolver
strategy that resolves active bean definition profiles based solely on profiles configured declaratively viaActiveProfiles.profiles()
orActiveProfiles.value()
.