spring-test

Deprecated API


Contents
Deprecated Classes
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests
          as of Spring 3.0, in favor of using the listener-based test context framework (AbstractTransactionalJUnit4SpringContextTests) 
org.springframework.test.jpa.AbstractAspectjJpaTests
          as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit38SpringContextTests) 
org.springframework.test.AbstractDependencyInjectionSpringContextTests
          as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit4SpringContextTests) 
org.springframework.test.jpa.AbstractJpaTests
          as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit38SpringContextTests) 
org.springframework.test.context.junit38.AbstractJUnit38SpringContextTests
          as of Spring 3.1, in favor of using AbstractJUnit4SpringContextTests 
org.springframework.test.web.AbstractModelAndViewTests
          as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit38SpringContextTests) or ModelAndViewAssert with JUnit 4 and TestNG. 
org.springframework.test.AbstractSingleSpringContextTests
          as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit4SpringContextTests) 
org.springframework.test.AbstractSpringContextTests
          as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit4SpringContextTests) 
org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
          as of Spring 3.0, in favor of using the listener-based test context framework (AbstractTransactionalJUnit4SpringContextTests) 
org.springframework.test.context.junit38.AbstractTransactionalJUnit38SpringContextTests
          as of Spring 3.1, in favor of using AbstractTransactionalJUnit4SpringContextTests 
org.springframework.test.AbstractTransactionalSpringContextTests
          as of Spring 3.0, in favor of using the listener-based test context framework (AbstractTransactionalJUnit4SpringContextTests) 
org.springframework.test.AssertThrows
          favor use of JUnit 4's @Test(expected=...) support 
org.springframework.test.ConditionalTestCase
          as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit4SpringContextTests) 
 

Deprecated Annotation Types
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. 
 

Deprecated Methods
org.springframework.test.annotation.AbstractAnnotationAwareTransactionalTests.findUniqueProfileValueSourceFromContext(ApplicationContext)
          Use @ProfileValueSourceConfiguration instead. 
 


spring-test