mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
remove commented code
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@802126 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -37,10 +37,7 @@ public abstract class StrutsSpringTestCase extends StrutsTestCase {
|
||||
|
||||
|
||||
protected void setupBeforeInitDispatcher() throws Exception {
|
||||
//init Spring
|
||||
//servletContext = new MockServletContext();
|
||||
//servletContext.addInitParameter(ContextLoader.,
|
||||
// CONFIG_LOCATION);
|
||||
//init context
|
||||
GenericXmlContextLoader xmlContextLoader = new GenericXmlContextLoader();
|
||||
applicationContext = xmlContextLoader.loadContext(getContextLocations());
|
||||
servletContext.setAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, applicationContext);
|
||||
|
||||
Reference in New Issue
Block a user