Uses of Interface
org.springframework.test.annotation.ProfileValueSource
Package
Description
Support classes for annotation-driven tests.
-
Uses of ProfileValueSource in org.springframework.test.annotation
Modifier and TypeClassDescriptionfinal class
Implementation ofProfileValueSource
which uses system properties as the underlying source.Modifier and TypeMethodDescriptionstatic ProfileValueSource
ProfileValueUtils.retrieveProfileValueSource
(Class<?> testClass) Retrieves theProfileValueSource
type for the specifiedtest class
as configured via the@ProfileValueSourceConfiguration
annotation and instantiates a new instance of that type.Modifier and TypeMethodDescriptionstatic boolean
ProfileValueUtils.isTestEnabledInThisEnvironment
(ProfileValueSource profileValueSource, Method testMethod, Class<?> testClass) Determine if the suppliedtestMethod
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.