public class BasicWebApplicationTester extends Object implements WebApplicationTester
Constructor and Description |
---|
BasicWebApplicationTester() |
Modifier and Type | Method and Description |
---|---|
void |
checkException(Throwable e) |
void |
checkResult(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context,
ConfigurableWebApplicationContext applicationContext) |
void |
prepareContext(Map<String,String> parameters) |
void |
prepareContext(com.mockrunner.mock.web.MockServletContext servletContext) |
void |
prepareRequest(Map<String,String> parameters,
Map<String,String> header,
Map<String,Object> properties) |
void |
prepareRequest(com.mockrunner.mock.web.MockHttpServletRequest request) |
void |
prepareSession(Map<String,Object> parameters) |
void |
prepareSession(com.mockrunner.mock.web.MockHttpSession session) |
public void prepareContext(com.mockrunner.mock.web.MockServletContext servletContext)
prepareContext
in interface WebApplicationTester
public void prepareRequest(com.mockrunner.mock.web.MockHttpServletRequest request)
prepareRequest
in interface WebApplicationTester
public void prepareSession(com.mockrunner.mock.web.MockHttpSession session)
prepareSession
in interface WebApplicationTester
public void prepareContext(Map<String,String> parameters)
prepareContext
in interface WebApplicationTester
public void prepareRequest(Map<String,String> parameters, Map<String,String> header, Map<String,Object> properties)
prepareRequest
in interface WebApplicationTester
public void prepareSession(Map<String,Object> parameters)
prepareSession
in interface WebApplicationTester
public void checkException(Throwable e)
checkException
in interface WebApplicationTester
public void checkResult(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext context, ConfigurableWebApplicationContext applicationContext)
checkResult
in interface WebApplicationTester
Copyright © 2018 Brandao. All rights reserved.