SpringControllers |
|
Your trail: |
Difference between
version 11
and
version 10:
At line 52 added 7 lines. |
import org.apache.commons.logging.Log; |
import org.apache.commons.logging.LogFactory; |
import org.springframework.mock.web.MockHttpServletRequest; |
import org.springframework.mock.web.MockHttpServletResponse; |
import org.springframework.web.servlet.ModelAndView; |
|
|
At line 53 changed 1 line. |
private static Log log = LogFactory.getLog(PersonFormControllerTest.class); |
private static Log log = LogFactory.getLog(PersonFormControllerTest.class); |
At line 58 changed 1 line. |
protected void setUp() { |
protected void setUp() throws Exception { |
At line 61 changed 1 line. |
c = (UserFormController) ctx.getBean("personFormController"); |
c = (PersonFormController) ctx.getBean("personFormController"); |
At line 172 changed 1 line. |
!!Run the ControllerTest [#5]' |
!!Run the FormControllerTest [#5]' |
At line 174 changed 1 line. |
Now, if you stop Tomcat, cd ../.. to the base directory and run __ant test-web -Dtestcase=PersonController__, you should get a success message from Ant. |
Now, if you stop Tomcat, save everything, cd ../.. to the base directory and run __ant test-web -Dtestcase=PersonFormController__, you should get a success message from Ant. |
Back to SpringControllers,
or to the Page History.
|