程序包的使用
org.springframework.test.context.support
使用org.springframework.test.context.support的程序包 程序包 说明 org.springframework.test.context.event Test event support classes for the Spring TestContext Framework.org.springframework.test.context.jdbc JDBC support classes for the Spring TestContext Framework, including support for declarative SQL script execution via@Sql
.org.springframework.test.context.support Support classes for the Spring TestContext Framework.org.springframework.test.context.transaction Transactional support classes for the Spring TestContext Framework.org.springframework.test.context.web Web support classes for the Spring TestContext Framework.org.springframework.test.context.event使用的org.springframework.test.context.support中的类 类 说明 AbstractTestExecutionListener Abstract ordered implementation of theTestExecutionListener
API.org.springframework.test.context.jdbc使用的org.springframework.test.context.support中的类 类 说明 AbstractTestExecutionListener Abstract ordered implementation of theTestExecutionListener
API.org.springframework.test.context.support使用的org.springframework.test.context.support中的类 类 说明 AbstractContextLoader Abstract application context loader that provides a basis for all concrete implementations of theContextLoader
SPI.AbstractDelegatingSmartContextLoader AbstractDelegatingSmartContextLoader
serves as an abstract base class for implementations of theSmartContextLoader
SPI that delegate to a set of candidate SmartContextLoaders (i.e., one that supports XML configuration files or Groovy scripts and one that supports annotated classes) to determine which context loader is appropriate for a given test class's configuration.AbstractDirtiesContextTestExecutionListener Abstract base class forTestExecutionListener
implementations that provide support for marking theApplicationContext
associated with a test as dirty for both test classes and test methods annotated with the@DirtiesContext
annotation.AbstractGenericContextLoader Abstract, generic extension ofAbstractContextLoader
that loads aGenericApplicationContext
.AbstractTestContextBootstrapper Abstract implementation of theTestContextBootstrapper
interface which provides most of the behavior required by a bootstrapper.AbstractTestExecutionListener Abstract ordered implementation of theTestExecutionListener
API.DefaultTestContext Default implementation of theTestContext
interface.GenericXmlContextLoader Concrete implementation ofAbstractGenericContextLoader
that reads bean definitions from XML resources.org.springframework.test.context.transaction使用的org.springframework.test.context.support中的类 类 说明 AbstractTestExecutionListener Abstract ordered implementation of theTestExecutionListener
API.org.springframework.test.context.web使用的org.springframework.test.context.support中的类 类 说明 AbstractContextLoader Abstract application context loader that provides a basis for all concrete implementations of theContextLoader
SPI.AbstractDelegatingSmartContextLoader AbstractDelegatingSmartContextLoader
serves as an abstract base class for implementations of theSmartContextLoader
SPI that delegate to a set of candidate SmartContextLoaders (i.e., one that supports XML configuration files or Groovy scripts and one that supports annotated classes) to determine which context loader is appropriate for a given test class's configuration.AbstractTestContextBootstrapper Abstract implementation of theTestContextBootstrapper
interface which provides most of the behavior required by a bootstrapper.AbstractTestExecutionListener Abstract ordered implementation of theTestExecutionListener
API.DefaultTestContextBootstrapper Default implementation of theTestContextBootstrapper
SPI.