abstract class ProfileValueUtils
General utility methods for working with profile values.
Author
Sam Brannen
Author
Juergen Hoeller
Since
2.5
See Also
ProfileValueSourceProfileValueSourceConfigurationIfProfileValue
ProfileValueUtils()
General utility methods for working with profile values. |
open static fun isTestEnabledInThisEnvironment(testClass: Class<*>): Boolean
Determine if the supplied Defaults to open static fun isTestEnabledInThisEnvironment(testMethod: Method, testClass: Class<*>): Booleanopen static fun isTestEnabledInThisEnvironment(profileValueSource: ProfileValueSource, testMethod: Method, testClass: Class<*>): Boolean
Determine if the supplied Defaults to |
|
open static fun retrieveProfileValueSource(testClass: Class<*>): ProfileValueSource
Retrieves the ProfileValueSource type for the specified Class as configured via the ProfileValueSourceConfiguration annotation and instantiates a new instance of that type. If ProfileValueSourceConfiguration is not present on the specified class or if a custom ProfileValueSource is not declared, the default SystemProfileValueSource will be returned instead. |