站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

org.springframework.test (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

Package org.springframework.test

Superclasses for tests requiring Spring application contexts, including support for transactional execution of test cases, with automatic rollback on completion.

See:
          Description

Class Summary
AbstractDependencyInjectionSpringContextTests Convenient superclass for tests depending on a Spring context.
AbstractSingleSpringContextTests Abstract JUnit test class that holds and exposes a single Spring ApplicationContext.
AbstractSpringContextTests Superclass for JUnit test cases using Spring ApplicationContexts.
AbstractTransactionalDataSourceSpringContextTests Subclass of AbstractTransactionalSpringContextTests that adds some convenience functionality for JDBC access.
AbstractTransactionalSpringContextTests Convenient base class for tests that should occur in a transaction, but normally will roll the transaction back on the completion of each test.
AssertThrows Simple method object encapsulation of the 'test-for-Exception' scenario (for JUnit).
ConditionalTestCase Superclass for tests that allows conditional test execution at individual test method level.
 

Package org.springframework.test Description

Superclasses for tests requiring Spring application contexts, including support for transactional execution of test cases, with automatic rollback on completion. Useful as base classes for application-specific tests.

The superclasses in this package are ideal for integration testing. Unit testing should not normally involve the Spring container, but should test classes in isolation.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.