Package | Description |
---|---|
org.springframework.test.annotation |
Support classes for annotation-driven tests.
|
org.springframework.test.context.junit38 |
Support classes for ApplicationContext-based and transactional
tests run with JUnit 3.8 and the Spring TestContext Framework.
|
Modifier and Type | Class and Description |
---|---|
class |
SystemProfileValueSource
Implementation of
ProfileValueSource which uses system properties as
the underlying source. |
Modifier and Type | Field and Description |
---|---|
protected ProfileValueSource |
AbstractAnnotationAwareTransactionalTests.profileValueSource
Deprecated.
ProfileValueSource available to subclasses but primarily intended
for use in AbstractAnnotationAwareTransactionalTests.isDisabledInThisEnvironment(Method) . |
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. |
Modifier and Type | Field and Description |
---|---|
protected ProfileValueSource |
AbstractJUnit38SpringContextTests.profileValueSource
Deprecated.
ProfileValueSource available to subclasses but primarily intended
for internal use to provide support for @IfProfileValue . |
Copyright © 2015. All rights reserved.