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. |