Class ServletRequestTest
java.lang.Object
org.apache.tiles.request.jakarta.servlet.ServletRequestTest
Tests
ServletRequest
.
Copied from Apache tiles-request-servlet 1.0.7 and adapted for Jakarta EE 9.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUp()
Sets up the test.void
Test method forServletRequest.doForward(String)
.void
Test method forServletRequest.doForward(String)
.void
Test method forServletRequest.doForward(String)
.void
Test method forServletRequest.doForward(String)
.void
Test method forServletRequest.doInclude(String)
.void
Test method forServletRequest.doInclude(String)
.void
Test method forServletRequest.doInclude(String)
.void
Test method forServletRequest.getHeader()
.void
Test method forServletRequest.getHeaderValues()
.void
Test method forServletRequest.getOutputStream()
.void
Test method forServletRequest.getParam()
.void
Test method forServletRequest.getParamValues()
.void
Test method forServletRequest.getPrintWriter()
.void
Test method forServletRequest.getRequest()
.void
Test method forServletRequest.getRequestLocale()
.void
Test method forServletRequest.getRequestScope()
.void
Test method forServletRequest.getResponse()
.void
Test method forServletRequest.getHeader()
.void
Test method forServletRequest.getSessionScope()
.void
Test method forServletRequest.getWriter()
.void
Test method forServletRequest.isResponseCommitted()
.void
Test method forServletRequest.isUserInRole(String)
.void
Test method forServletRequest.setContentType(String)
.
-
Constructor Details
-
ServletRequestTest
public ServletRequestTest()Empty default constructor
-
-
Method Details
-
setUp
Sets up the test. -
testDoForward
Test method forServletRequest.doForward(String)
. -
testDoForwardNoDispatcher
Test method forServletRequest.doForward(String)
. -
testDoForwardServletException
Test method forServletRequest.doForward(String)
. -
testDoForwardInclude
Test method forServletRequest.doForward(String)
. -
testDoInclude
Test method forServletRequest.doInclude(String)
. -
testDoIncludeNoDispatcher
Test method forServletRequest.doInclude(String)
. -
testDoIncludeServletException
Test method forServletRequest.doInclude(String)
. -
testGetHeader
Test method forServletRequest.getHeader()
. -
testGetResponseHeaders
Test method forServletRequest.getHeader()
. -
testGetHeaderValues
Test method forServletRequest.getHeaderValues()
. -
testGetParam
Test method forServletRequest.getParam()
. -
testGetParamValues
Test method forServletRequest.getParamValues()
. -
testGetRequestScope
Test method forServletRequest.getRequestScope()
. -
testGetSessionScope
Test method forServletRequest.getSessionScope()
. -
testGetOutputStream
Test method forServletRequest.getOutputStream()
. -
testGetWriter
Test method forServletRequest.getWriter()
. -
testGetPrintWriter
Test method forServletRequest.getPrintWriter()
. -
testIsResponseCommitted
Test method forServletRequest.isResponseCommitted()
. -
testSetContentType
Test method forServletRequest.setContentType(String)
. -
testGetRequestLocale
Test method forServletRequest.getRequestLocale()
. -
testGetRequest
Test method forServletRequest.getRequest()
. -
testGetResponse
Test method forServletRequest.getResponse()
. -
testIsUserInRole
Test method forServletRequest.isUserInRole(String)
.
-