Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
69 0 0 0 100% 7.175

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.apache.struts2.portlet.servlet 4 0 0 0 100% 0.244
org.apache.struts2.portlet 16 0 0 0 100% 0.132
org.apache.struts2.portlet.interceptor 4 0 0 0 100% 1.443
org.apache.struts2.components 7 0 0 0 100% 1.584
org.apache.struts2.portlet.dispatcher 5 0 0 0 100% 1.542
org.apache.struts2.views.jsp 14 0 0 0 100% 2.066
org.apache.struts2.portlet.result 5 0 0 0 100% 0.027
org.apache.struts2.portlet.util 4 0 0 0 100% 0.04
org.apache.struts2.portlet.context 10 0 0 0 100% 0.097

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.struts2.portlet.servlet

Class Tests Errors Failures Skipped Success Rate Time
PortletServletRequestTest 4 0 0 0 100% 0.244

org.apache.struts2.portlet

Class Tests Errors Failures Skipped Success Rate Time
PortletSessionMapTest 5 0 0 0 100% 0.09
PortletRequestMapTest 5 0 0 0 100% 0.006
PortletApplicationMapTest 6 0 0 0 100% 0.036

org.apache.struts2.portlet.interceptor

Class Tests Errors Failures Skipped Success Rate Time
PortletAwareInterceptorTest 1 0 0 0 100% 0.027
PortletStateInterceptorTest 3 0 0 0 100% 1.416

org.apache.struts2.components

Class Tests Errors Failures Skipped Success Rate Time
PortletUrlRendererTest 7 0 0 0 100% 1.584

org.apache.struts2.portlet.dispatcher

Class Tests Errors Failures Skipped Success Rate Time
Jsr168DispatcherTest 5 0 0 0 100% 1.542

org.apache.struts2.views.jsp

Class Tests Errors Failures Skipped Success Rate Time
PortletUrlTagTest 14 0 0 0 100% 2.066

org.apache.struts2.portlet.result

Class Tests Errors Failures Skipped Success Rate Time
PortletResultTest 5 0 0 0 100% 0.027

org.apache.struts2.portlet.util

Class Tests Errors Failures Skipped Success Rate Time
PortletUrlHelperTest 4 0 0 0 100% 0.04

org.apache.struts2.portlet.context

Class Tests Errors Failures Skipped Success Rate Time
PortletActionContextTest 10 0 0 0 100% 0.097

Test Cases

PortletActionContextTest

testGetPhase 0.072
testIsRender 0.001
testIsEvent 0.001
testGetPortletConfig 0.001
testGetRenderRequestAndResponse 0.001
testGetRenderRequestAndResponseInEventPhase 0.001
testGetActionRequestAndResponse 0
testGetActionRequestAndResponseInRenderPhase 0
testGetNamespace 0.001
testGetDefaultActionForMode 0.001

PortletUrlHelperTest

testCreateRenderUrlWithNoModeOrState 0.037
testCreateRenderUrlWithDifferentPortletMode 0
testCreateRenderUrlWithDifferentWindowState 0
testCreateActionUrl 0.001

PortletAwareInterceptorTest

testPortletRequestIsSet 0.026

PortletSessionMapTest

testPut 0.086
testGet 0
testClear 0
testRemove 0
testEntrySet 0.001

PortletStateInterceptorTest

testCopyValueStackFromEventToRenderPhase 0.932
testDoNotRestoreValueStackInRenderPhaseWhenProperPrg 0.221
testRestoreValueStackInRenderPhaseWhenNotProperPrg 0.26

PortletRequestMapTest

testPut 0.001
testGet 0
testClear 0.001
testRemove 0.001
testEntrySet 0.001

PortletUrlRendererTest

testShouldIncludeCurrentNamespaceIfNoNamespaceSpecifiedForRenderUrl 0.248
testShouldIncludeCurrentNamespaceIfNoNamespaceSpecifiedForRenderFormUrl 0.382
testShouldEvaluateActionAsOGNLExpression 0.145
testShouldEvaluateAnchorAsOGNLExpression 0.384
testShouldPassThroughRenderUrlToServletUrlRendererIfNotPortletRequest 0.208
testShouldPassThroughRenderFormUrlToServletUrlRendererIfNotPortletRequest 0.127
testShouldPassThroughRenderUrlToServletUrlRendererWhenPortletUrlTypeIsNone 0.087

PortletApplicationMapTest

testPut 0.01
testClear 0.001
testRemove 0
testEntrySet 0.003
testGetFromAttributes 0.001
testGetFromInitParameters 0

PortletUrlTagTest

testEnsureParamsAreStringArrays 0.11
testSetWindowState 0.102
testSetPortletMode 0.092
testUrlWithQueryParams 0.091
testActionUrl 0.102
testResourceUrl 0.11
testResourceUrlWithNestedParam 0.087
testResourceUrlWithTwoNestedParam 0.455
testResourceUrlWithNestedParamThatIsNotString 0.178
testResourceUrlWithNestedOgnlExpressionParamThatIsNotString 0.146
testUrlWithMethod 0.079
testUrlWithNoActionOrMethod 0.109
testUrlShouldNotIncludeParamsFromHttpQueryString 0.26
testUrlShouldIgnoreIncludeParams 0.14

Jsr168DispatcherTest

testParseConfigWithBang 0.005
testRender_ok 1.072
testProcessAction_ok 0.31
testModeChangeUsingPortletWidgets 0.075
testMultipartRequest_parametersAreCopiedToActionInvocation 0.076

PortletServletRequestTest

testGetServletPathShouldHandleDefaultActionExtension 0.052
testGetServletPathShouldHandleCustomActionExtension 0.05
testGetServletPathShouldHandleNoExtension 0.05
testGetServletPathShouldHandleMultipleExtensionsByUsingTheFirst 0.05

PortletResultTest

testDoExecute_render 0.022
testDoExecute_event_locationIsAction 0
testDoExecute_event_locationIsJsp 0.001
testDoExecute_event_locationHasQueryParams 0.001
testTitleAndContentType 0.001