Package | Description |
---|---|
org.springframework.test.annotation |
Support classes for annotation-driven tests.
|
Modifier and Type | Class and Description |
---|---|
class |
SystemProfileValueSource
Implementation of
ProfileValueSource which uses system properties as
the underlying source. |
Modifier and Type | Method and Description |
---|---|
static ProfileValueSource |
ProfileValueUtils.retrieveProfileValueSource(Class<?> testClass)
Retrieves the
ProfileValueSource type for the specified
test class as configured via the
@ProfileValueSourceConfiguration annotation and instantiates a new
instance of that type. |
Modifier and Type | Method and Description |
---|---|
static boolean |
ProfileValueUtils.isTestEnabledInThisEnvironment(ProfileValueSource profileValueSource,
Method testMethod,
Class<?> testClass)
Determine if the supplied
testMethod is enabled in
the current environment, as specified by the @IfProfileValue annotation, which may be declared on the test
method itself or at the class level. |