Uses of Interface
org.springframework.test.annotation.ProfileValueSource
Packages that use ProfileValueSource Package Description org.springframework.test.annotation Support classes for annotation-driven tests.Uses of ProfileValueSource in org.springframework.test.annotation
Classes in org.springframework.test.annotation that implement ProfileValueSource Modifier and Type Class Description class
SystemProfileValueSource
Implementation ofProfileValueSource
which uses system properties as the underlying source.Methods in org.springframework.test.annotation that return ProfileValueSource Modifier and Type Method Description static 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 that return types with arguments of type ProfileValueSource Modifier and Type Method Description Class<? extends ProfileValueSource>
value()
The type ofProfileValueSource
to use when retrieving profile values.Methods in org.springframework.test.annotation with parameters of type ProfileValueSource Modifier and Type Method Description static 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.