[SPR-5145] Updated reference manual regarding upgrade to JUnit 4.5; additional improvements in the testing chapter as well.

This commit is contained in:
Sam Brannen
2009-05-06 06:25:03 +00:00
parent 94ceacf843
commit c0c9501005
2 changed files with 52 additions and 40 deletions

View File

@@ -28,11 +28,11 @@ import org.springframework.web.servlet.ModelAndView;
/**
* Convenient JUnit 3.8 base class for tests dealing with Spring Web MVC
* {@link org.springframework.web.servlet.ModelAndView ModelAndView} objects.
*
*
* <p>All <code>assert*()</code> methods throw {@link AssertionFailedError}s.
*
*
* <p>Consider the use of {@link ModelAndViewAssert} with JUnit 4 and TestNG.
*
*
* @author Alef Arendsen
* @author Bram Smeets
* @author Sam Brannen
@@ -41,6 +41,7 @@ import org.springframework.web.servlet.ModelAndView;
* @see ModelAndViewAssert
* @deprecated as of Spring 3.0, in favor of using the listener-based test context framework
* ({@link org.springframework.test.context.junit38.AbstractJUnit38SpringContextTests})
* or {@link ModelAndViewAssert} with JUnit 4 and TestNG.
*/
@Deprecated
public abstract class AbstractModelAndViewTests extends TestCase {