Package org.apache.struts.util
Class TestRequestUtilsPopulate
java.lang.Object
org.apache.struts.mock.TestMockBase
org.apache.struts.util.TestRequestUtilsPopulate
Unit tests for the RequestUtil's
populate
method.- Version:
- $Rev$
-
Field Summary
Fields inherited from class org.apache.struts.mock.TestMockBase
config, context, moduleConfig, moduleConfig2, moduleConfig3, page, principal, request, response, session
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
setUpAll()
static void
void
Ensure that the getMultipartRequestHandler cannot be seen in a subclass of ActionForm.void
Ensure that the parameter of HTTP request which causes ClassLoader manipulation is ignored.void
Ensure that the parameter of HTTP request which causes ClassLoader manipulation is ignored.void
Ensure that the parameter of HTTP request which causes ClassLoader manipulation is ignored.void
Ensure that the parameter of HTTP request which causes ClassLoader manipulation is ignored.Methods inherited from class org.apache.struts.mock.TestMockBase
setUp, setUpDefaultApp, setUpSecondApp, setUpThirdApp, tearDown, testUtilBaseEnvironment
-
Field Details
-
logFactory
-
-
Constructor Details
-
TestRequestUtilsPopulate
public TestRequestUtilsPopulate()
-
-
Method Details
-
setUpAll
-
tearDownAll
-
testMultipartVisibility
Ensure that the getMultipartRequestHandler cannot be seen in a subclass of ActionForm. The purpose of this test is to ensure that Bug #38534 is fixed. -
testRequestParameterIgnore1
Ensure that the parameter of HTTP request which causes ClassLoader manipulation is ignored. The purpose of this test is to ensure that security problem CVE-2014-0114 is fixed.- Throws:
Exception
-
testRequestParameterIgnore2
Ensure that the parameter of HTTP request which causes ClassLoader manipulation is ignored. The purpose of this test is to ensure that security problem CVE-2014-0114 is fixed.- Throws:
Exception
-
testRequestParameterIgnore3
Ensure that the parameter of HTTP request which causes ClassLoader manipulation is ignored. The purpose of this test is to ensure that security problem CVE-2014-0114 is fixed.- Throws:
Exception
-
testRequestParameterIgnore4
Ensure that the parameter of HTTP request which causes ClassLoader manipulation is ignored. The purpose of this test is to ensure that security problem CVE-2014-0114 is fixed.- Throws:
Exception
-