Uses of Interface
org.springframework.test.annotation.ProfileValueSource
Packages that use ProfileValueSource
Package
Description
Support classes for annotation-driven tests.
-
Uses of ProfileValueSource in org.springframework.test.annotation
Classes in org.springframework.test.annotation that implement ProfileValueSourceModifier and TypeClassDescriptionfinal class
Implementation ofProfileValueSource
which uses system properties as the underlying source.Methods in org.springframework.test.annotation that return ProfileValueSourceModifier 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.Methods in org.springframework.test.annotation with parameters of type ProfileValueSourceModifier 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.