Summary

TestsErrors FailuresSkippedSuccess RateTime
58000100%7.472

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

Package List

PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.struts2.portlet16000100%0.173
org.apache.struts2.portlet.interceptor4000100%2.089
org.apache.struts2.components2000100%0.716
org.apache.struts2.portlet.dispatcher5000100%2.206
org.apache.struts2.views.jsp12000100%2.022
org.apache.struts2.portlet.result5000100%0.085
org.apache.struts2.portlet.util4000100%0.025
org.apache.struts2.portlet.context10000100%0.156

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

org.apache.struts2.portlet

ClassTestsErrors FailuresSkippedSuccess RateTime
PortletApplicationMapTest6000100%0.092
PortletRequestMapTest5000100%0.006
PortletSessionMapTest5000100%0.075

org.apache.struts2.portlet.interceptor

ClassTestsErrors FailuresSkippedSuccess RateTime
PortletStateInterceptorTest3000100%1.998
PortletAwareInterceptorTest1000100%0.091

org.apache.struts2.components

ClassTestsErrors FailuresSkippedSuccess RateTime
PortletUrlRendererTest2000100%0.716

org.apache.struts2.portlet.dispatcher

ClassTestsErrors FailuresSkippedSuccess RateTime
Jsr168DispatcherTest5000100%2.206

org.apache.struts2.views.jsp

ClassTestsErrors FailuresSkippedSuccess RateTime
PortletUrlTagTest12000100%2.022

org.apache.struts2.portlet.result

ClassTestsErrors FailuresSkippedSuccess RateTime
PortletResultTest5000100%0.085

org.apache.struts2.portlet.util

ClassTestsErrors FailuresSkippedSuccess RateTime
PortletUrlHelperTest4000100%0.025

org.apache.struts2.portlet.context

ClassTestsErrors FailuresSkippedSuccess RateTime
PortletActionContextTest10000100%0.156

Test Cases

PortletStateInterceptorTest

testCopyValueStackFromEventToRenderPhase1.321
testDoNotRestoreValueStackInRenderPhaseWhenProperPrg0.371
testRestoreValueStackInRenderPhaseWhenNotProperPrg0.302

PortletResultTest

testDoExecute_render0.079
testDoExecute_event_locationIsAction0.001
testDoExecute_event_locationIsJsp0
testDoExecute_event_locationHasQueryParams0
testTitleAndContentType0.001

PortletAwareInterceptorTest

testPortletRequestIsSet0.09

PortletApplicationMapTest

testGetFromAttributes0.083
testGetFromInitParameters0.001
testPut0.001
testRemove0
testEntrySet0.004
testClear0.001

PortletRequestMapTest

testPut0.002
testRemove0
testEntrySet0.001
testClear0.001
testGet0

PortletActionContextTest

testGetPhase0.122
testIsRender0.001
testIsEvent0.001
testGetPortletConfig0.001
testGetRenderRequestAndResponse0.001
testGetRenderRequestAndResponseInEventPhase0
testGetActionRequestAndResponse0.001
testGetActionRequestAndResponseInRenderPhase0.001
testGetNamespace0.001
testGetDefaultActionForMode0.002

PortletUrlTagTest

testEnsureParamsAreStringArrays0.13
testSetWindowState0.131
testSetPortletMode0.162
testUrlWithQueryParams0.258
testActionUrl0.126
testResourceUrl0.153
testResourceUrlWithNestedParam0.2
testResourceUrlWithTwoNestedParam0.349
testUrlWithMethod0.125
testUrlWithNoActionOrMethod0.119
testUrlShouldNotIncludeParamsFromHttpQueryString0.112
testUrlShouldIgnoreIncludeParams0.15

PortletSessionMapTest

testPut0.072
testRemove0
testEntrySet0.002
testClear0
testGet0

Jsr168DispatcherTest

testParseConfigWithBang0.006
testRender_ok1.102
testProcessAction_ok0.39
testModeChangeUsingPortletWidgets0.53
testMultipartRequest_parametersAreCopiedToActionInvocation0.177

PortletUrlRendererTest

testShouldIncludeCurrentNamespaceIfNoNamespaceSpecifiedForRenderUrl0.346
testShouldIncludeCurrentNamespaceIfNoNamespaceSpecifiedForRenderFormUrl0.369

PortletUrlHelperTest

testCreateRenderUrlWithNoModeOrState0.021
testCreateRenderUrlWithDifferentPortletMode0.001
testCreateRenderUrlWithDifferentWindowState0.001
testCreateActionUrl0.001