Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
70 0 0 0 100% 2.836

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.371
org.apache.struts2.portlet.context 10 0 0 0 100% 0.022
org.apache.struts2.portlet.interceptor 5 0 0 0 100% 0.17
org.apache.struts2.portlet.util 4 0 0 0 100% 0.008
org.apache.struts2.portlet.dispatcher 4 0 0 0 100% 0.91
org.apache.struts2.views.jsp 14 0 0 0 100% 0.82
org.apache.struts2.views.freemarker 1 0 0 0 100% 0.001
org.apache.struts2.portlet 16 0 0 0 100% 0.022
org.apache.struts2.portlet.result 5 0 0 0 100% 0.009
org.apache.struts2.components 7 0 0 0 100% 0.503

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.371

org.apache.struts2.portlet.context

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

org.apache.struts2.portlet.interceptor

Class Tests Errors Failures Skipped Success Rate Time
PortletStateInterceptorTest 3 0 0 0 100% 0.114
PortletAwareInterceptorTest 2 0 0 0 100% 0.056

org.apache.struts2.portlet.util

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

org.apache.struts2.portlet.dispatcher

Class Tests Errors Failures Skipped Success Rate Time
Jsr168DispatcherTest 4 0 0 0 100% 0.91

org.apache.struts2.views.jsp

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

org.apache.struts2.views.freemarker

Class Tests Errors Failures Skipped Success Rate Time
PortletFreemarkerResultTest 1 0 0 0 100% 0.001

org.apache.struts2.portlet

Class Tests Errors Failures Skipped Success Rate Time
PortletSessionMapTest 5 0 0 0 100% 0.005
PortletRequestMapTest 5 0 0 0 100% 0.002
PortletApplicationMapTest 6 0 0 0 100% 0.015

org.apache.struts2.portlet.result

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

org.apache.struts2.components

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

Test Cases

PortletStateInterceptorTest

testCopyValueStackFromEventToRenderPhase 0.037
testDoNotRestoreValueStackInRenderPhaseWhenProperPrg 0.04
testRestoreValueStackInRenderPhaseWhenNotProperPrg 0.036

PortletSessionMapTest

testPut 0.003
testGet 0
testClear 0
testRemove 0
testEntrySet 0.001

PortletRequestMapTest

testPut 0
testGet 0
testClear 0
testRemove 0
testEntrySet 0.001

PortletApplicationMapTest

testPut 0.005
testClear 0
testRemove 0
testEntrySet 0.002
testGetFromAttributes 0.001
testGetFromInitParameters 0

PortletFreemarkerResultTest

testDoExecute_event_locationIsJsp 0.001

PortletUrlRendererTest

testShouldIncludeCurrentNamespaceIfNoNamespaceSpecifiedForRenderUrl 0.091
testShouldIncludeCurrentNamespaceIfNoNamespaceSpecifiedForRenderFormUrl 0.067
testShouldEvaluateActionAsOGNLExpression 0.104
testShouldEvaluateAnchorAsOGNLExpression 0.066
testShouldPassThroughRenderUrlToServletUrlRendererIfNotPortletRequest 0.058
testShouldPassThroughRenderFormUrlToServletUrlRendererIfNotPortletRequest 0.053
testShouldPassThroughRenderUrlToServletUrlRendererWhenPortletUrlTypeIsNone 0.053

PortletActionContextTest

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

PortletAwareInterceptorTest

testPortletRequestIsSet 0.037
testPortletConfigIsSet 0

Jsr168DispatcherTest

testParseConfigWithBang 0.041
testRender_ok 0.629
testProcessAction_ok 0.165
testModeChangeUsingPortletWidgets 0.075

PortletUrlHelperTest

testCreateRenderUrlWithNoModeOrState 0.005
testCreateRenderUrlWithDifferentPortletMode 0.002
testCreateRenderUrlWithDifferentWindowState 0
testCreateActionUrl 0.001

PortletUrlTagTest

testEnsureParamsAreStringArrays 0.106
testSetWindowState 0.112
testSetPortletMode 0.088
testUrlWithQueryParams 0.069
testActionUrl 0.05
testResourceUrl 0.046
testResourceUrlWithNestedParam 0.044
testResourceUrlWithTwoNestedParam 0.044
testResourceUrlWithNestedParamThatIsNotString 0.043
testResourceUrlWithNestedOgnlExpressionParamThatIsNotString 0.044
testUrlWithMethod 0.052
testUrlWithNoActionOrMethod 0.04
testUrlShouldNotIncludeParamsFromHttpQueryString 0.041
testUrlShouldIgnoreIncludeParams 0.037

PortletServletRequestTest

testGetServletPathShouldHandleDefaultActionExtension 0.091
testGetServletPathShouldHandleCustomActionExtension 0.085
testGetServletPathShouldHandleNoExtension 0.076
testGetServletPathShouldHandleMultipleExtensionsByUsingTheFirst 0.117

PortletResultTest

testDoExecute_event_locationIsJsp 0.001
testDoExecute_render 0.006
testDoExecute_event_locationIsAction 0.001
testDoExecute_event_locationHasQueryParams 0
testTitleAndContentType 0.001