Annotation Type and Description |
---|
org.springframework.test.annotation.ExpectedException
as of Spring 3.1 in favor of using built-in support for declaring
expected exceptions in the underlying testing framework (e.g., JUnit, TestNG, etc.)
|
org.springframework.test.annotation.NotTransactional
as of Spring 3.0, in favor of moving the non-transactional test
method to a separate (non-transactional) test class or to a
@BeforeTransaction or
@AfterTransaction method. |
Field and Description |
---|
org.springframework.test.context.testng.AbstractTransactionalTestNGSpringContextTests.simpleJdbcTemplate
As of Spring 3.2, use
AbstractTransactionalTestNGSpringContextTests.jdbcTemplate instead. |
org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests.simpleJdbcTemplate
As of Spring 3.2, use
AbstractTransactionalJUnit4SpringContextTests.jdbcTemplate instead. |
Method and Description |
---|
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.findUniqueProfileValueSourceFromContext(ApplicationContext)
Use
@ProfileValueSourceConfiguration instead. |
org.springframework.test.web.servlet.result.StatusResultMatchers.isDestinationLocked()
matching the deprecation of HttpStatus.DESTINATION_LOCKED
|
org.springframework.test.web.servlet.result.StatusResultMatchers.isInsufficientSpaceOnResource()
matching the deprecation of HttpStatus.INSUFFICIENT_SPACE_ON_RESOURCE
|
org.springframework.test.web.servlet.result.StatusResultMatchers.isMethodFailure()
matching the deprecation of HttpStatus.METHOD_FAILURE
|
Constructor and Description |
---|
org.springframework.test.context.ContextConfigurationAttributes(Class>, String[], Class>[], boolean, Class extends ContextLoader>) |