Package org.springframework.test.annotation

Support classes for annotation-driven tests.

See:
          Description

Interface Summary
ProfileValueSource Strategy interface for retrieving profile values for a given testing environment.
 

Class Summary
AbstractAnnotationAwareTransactionalTests Java 5 specific subclass of AbstractTransactionalDataSourceSpringContextTests, exposing a SimpleJdbcTemplate and obeying annotations for transaction control.
ProfileValueUtils General utility methods for working with profile values.
SystemProfileValueSource Implementation of ProfileValueSource which uses system properties as the underlying source.
 

Annotation Types Summary
DirtiesContext Test annotation to indicate that a test method dirties the context for the current test.
ExpectedException Test annotation to indicate that a test method is required to throw the specified exception.
IfProfileValue Test annotation to indicate that a test is enabled for a specific testing profile or environment.
NotTransactional Test annotation to indicate that a method is not transactional.
ProfileValueSourceConfiguration ProfileValueSourceConfiguration is a class-level annotation which is used to specify what type of ProfileValueSource to use when retrieving profile values configured via the @IfProfileValue annotation.
Repeat Test annotation to indicate that a test method should be invoked repeatedly.
Rollback Test annotation to indicate whether or not the transaction for the annotated test method should be rolled back after the test method has completed.
Timed Test-specific annotation to indicate that a test method has to finish execution in a specified time period.
 

Package org.springframework.test.annotation Description

Support classes for annotation-driven tests.



Copyright © 2002-2008 The Spring Framework.