Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
235 0 0 5 97.9% 0.636 s

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.struts.chain.commands.servlet 7 0 0 0 100% 0.035 s
org.apache.struts.action 110 0 0 5 95.5% 0.187 s
org.apache.struts.chain.commands.generic 8 0 0 0 100% 0.102 s
org.apache.struts.upload 8 0 0 0 100% 0.065 s
org.apache.struts.validator 19 0 0 0 100% 0.084 s
org.apache.struts.mock 1 0 0 0 100% 0.001 s
org.apache.struts.config 49 0 0 0 100% 0.129 s
org.apache.struts.util 33 0 0 0 100% 0.033 s

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

org.apache.struts.chain.commands.servlet

- Class Tests Errors Failures Skipped Success Rate Time
TestAuthorizeAction 5 0 0 0 100% 0.026 s
TestSetOriginalURI 1 0 0 0 100% 0.003 s
TestPerformForward 1 0 0 0 100% 0.006 s

org.apache.struts.action

- Class Tests Errors Failures Skipped Success Rate Time
TestActionMessage 8 0 0 0 100% 0.009 s
TestDynaActionForm 46 0 0 0 100% 0.092 s
TestActionServlet 36 0 0 5 86.1% 0.067 s
TestActionMessages 8 0 0 0 100% 0.006 s
TestActionRedirect 5 0 0 0 100% 0.005 s
TestDynaActionFormClass 7 0 0 0 100% 0.008 s

org.apache.struts.chain.commands.generic

- Class Tests Errors Failures Skipped Success Rate Time
TestCopyFormToContext 6 0 0 0 100% 0.094 s
TestWrappingLookupCommand 2 0 0 0 100% 0.008 s

org.apache.struts.upload

- Class Tests Errors Failures Skipped Success Rate Time
TestCommonsMultipartRequestHandler 8 0 0 0 100% 0.065 s

org.apache.struts.validator

- Class Tests Errors Failures Skipped Success Rate Time
TestValidatorForm 5 0 0 0 100% 0.010 s
TestDynaValidatorForm 5 0 0 0 100% 0.011 s
TestValidWhen 9 0 0 0 100% 0.063 s

org.apache.struts.mock

- Class Tests Errors Failures Skipped Success Rate Time
TestMockBase 1 0 0 0 100% 0.001 s

org.apache.struts.config

- Class Tests Errors Failures Skipped Success Rate Time
TestFormBeanConfig 5 0 0 0 100% 0.005 s
TestModuleConfig 5 0 0 0 100% 0.096 s
TestFormPropertyConfig 5 0 0 0 100% 0.003 s
TestActionConfigMatcher 10 0 0 0 100% 0.011 s
TestForwardConfig 15 0 0 0 100% 0.008 s
TestActionConfig 9 0 0 0 100% 0.006 s

org.apache.struts.util

- Class Tests Errors Failures Skipped Success Rate Time
TestRequestUtils 22 0 0 0 100% 0.016 s
TestPropertyMessageResources 3 0 0 0 100% 0.006 s
TestRequestUtilsPopulate 6 0 0 0 100% 0.009 s
TestResponseUtils 2 0 0 0 100% 0.002 s

Test Cases

[Summary] [Package List] [Test Cases]

TestAuthorizeAction

testNotAuthorizedOneOfManyRoles 0.016 s
testAuthorizeNoRoles 0.001 s
testNotAuthorizedOneRole 0.003 s
testAuthorizeOneRole 0.001 s
testAuthorizeOneOfManyRoles 0.001 s

TestCommonsMultipartRequestHandler

testUtilBaseEnvironment 0.001 s
testAcceptFileWithMaxFileSize 0.044 s
testEmptyContentTypeMultipartRequest 0.001 s
testMultipleAccept 0.006 s
testSuccessUploadOfATextFileMultipartRequest 0.002 s
testAcceptFileWithMaxRequestSize 0.002 s
testMultipartRequestMaxStringLength 0.003 s
testUnacceptedNumberOfFiles 0.003 s

TestFormBeanConfig

testCheckCircularInheritanceError 0 s
testProcessExtendsMissingBaseForm 0 s
testCheckCircularInheritance 0.001 s
testProcessExtendsBaseFormExtends 0.001 s
testInheritFrom 0.002 s

TestModuleConfig

testCustomMappingParse 0.053 s
testCustomMappingParse1_1 0.012 s
testParse 0.010 s
testPreserveActionMappingsOrder 0.009 s
testParse1_1 0.010 s

TestRequestUtils

testUtilBaseEnvironment 0 s
testAbsoluteURL 0.002 s
testSelectApplication1a 0.001 s
testSelectApplication1b 0 s
testSelectApplication2a 0 s
testSelectApplication2b 0.001 s
testRequestURL 0 s
testServerURL 0.001 s
testForwardURL1 0 s
testForwardURL2 0 s
testForwardURL3 0 s
testForwardURLa 0 s
testActionURL1 0.001 s
testActionURL2 0 s
testActionURL3 0.001 s
testCreateActionForm1a 0 s
testCreateActionForm1b 0.001 s
testCreateActionForm2a 0 s
testCreateActionForm2b 0 s
testCreateActionForm3a 0.001 s
testCreateActionForm3b 0 s
testCreateActionForm4a 0.001 s

TestValidatorForm

testUtilBaseEnvironment 0.003 s
testDeterminePage01 0.002 s
testDeterminePage02 0.001 s
testDeterminePage03 0.001 s
testDeterminePage04 0.001 s

TestCopyFormToContext

testExceptionHandlingWithNullFormName 0.052 s
testLookupByActionPath 0.003 s
testLookupByNameAndSessionScope 0.020 s
testCopyToDefaultContextKey 0.001 s
testLookupByNameAndRequestScope 0.001 s
testExceptionHandlingWithNullEverything 0 s

TestMockBase

testUtilBaseEnvironment 0.001 s

TestActionMessage

testActionMessageWithFourValues 0.001 s
testActionMessageWithAStringValue 0.001 s
testActionNoResource 0 s
testActionMessageWithTwoValues 0 s
testActionMessageWithThreeValues 0 s
testActionMessageWithArrayValues 0.001 s
testActionWithTwoIntegers 0.001 s
testActionMessageWithNoValue 0 s

TestWrappingLookupCommand

testSame 0.002 s
testWrapContextSubclass 0.005 s

TestDynaActionForm

testClassCreate 0.004 s
testConfigInitialValues 0.003 s
testConfigAdd 0.002 s
testConfigCreate 0.002 s
testConfigRemove 0.001 s
testConfigDuplicate 0.002 s
testConfigProperties 0.002 s
testGetDescriptorArguments 0.002 s
testGetDescriptorLong 0.008 s
testSetSimpleBoolean 0.003 s
testGetSimpleArguments 0.002 s
testResetPost 0.002 s
testGetDescriptorInt 0.002 s
testGetSimpleInt 0.001 s
testSetSimpleFloat 0.002 s
testSetSimpleShort 0.002 s
testMappedRemove 0.002 s
testGetIndexedValues 0.002 s
testGetSimpleDouble 0.002 s
testScalarInitialize 0.003 s
testMappedContains 0.001 s
testGetDescriptorFloat 0.001 s
testGetDescriptorShort 0.001 s
testGetSimpleBoolean 0.001 s
testGetMappedValues 0.001 s
testGetSimpleString 0.002 s
testGetSimpleLong 0.002 s
testResetGet 0.001 s
testSetSimpleInt 0.001 s
testSetIndexedArguments 0.001 s
testSetSimpleDouble 0.001 s
testGetDescriptorDouble 0.001 s
testGetDescriptors 0.001 s
testGetMappedArguments 0.001 s
testSetSimpleLong 0.001 s
testGetSimpleFloat 0.001 s
testGetSimpleShort 0.001 s
testSetMappedValues 0.001 s
testSetSimpleString 0.001 s
testGetDescriptorSecond 0 s
testGetDescriptorString 0.001 s
testGetDescriptorBoolean 0.001 s
testIndexedInitialize 0.001 s
testBeanCreate 0.001 s
testGetIndexedArguments 0.001 s
testSetIndexedValues 0.001 s

TestActionServlet

testProcessForwardConfigClassOverriddenSubConfigClass 0.001 s
notestProcessExceptionConfigClassError 0 s
- public void org.apache.struts.action.TestActionServlet.notestProcessExceptionConfigClassError() is @Disabled -
testProcessForwardConfigClass 0.008 s
testProcessActionConfigClass 0.013 s
testProcessFormBeanConfigClass 0.005 s
testProcessFormBeanConfigClassNoExtends 0 s
testInitModuleFormBeansNoExtends 0 s
testInitDestroyInternal 0.001 s
testProcessActionConfigClassNoExtends 0.001 s
testProcessActionExtension 0.001 s
testProcessExceptionConfigClassOverriddenSubFormClass 0.001 s
testProcessFormBeanExtension 0.001 s
testInitModuleFormBeansNullFormType 0.002 s
testProcessExceptionExtension 0.001 s
testProcessExceptionConfigClassNoExtends 0.001 s
testProcessExceptionConfigClassSubConfigCustomClass 0 s
testInitModuleActionConfigsNoExtends 0.002 s
testProcessActionConfigClassOverriddenSubConfigClass 0.001 s
testInitModuleExceptionConfigsNoExtends 0.001 s
testProcessActionExtensionWithForwardConfig 0.001 s
testProcessForwardConfigClassNoExtends 0.001 s
testProcessActionExtensionWithExceptionConfig 0.001 s
testProcessFormBeanConfigClassOverriddenSubFormClass 0 s
testInitModuleExceptionConfigsNullFormType 0 s
testProcessExceptionConfigClass 0.004 s
testProcessForwardExtension 0.001 s
testInitModuleForwardsNullFormType 0.002 s
notestSplitAndResolvePaths 0 s
- public void org.apache.struts.action.TestActionServlet.notestSplitAndResolvePaths() throws jakarta.servlet.ServletException is @Disabled -
testProcessActionConfigClassSubConfigCustomClass 0.001 s
testInitModuleForwardConfigsNoExtends 0.001 s
notestProcessActionConfigClassError 0 s
- public void org.apache.struts.action.TestActionServlet.notestProcessActionConfigClassError() is @Disabled -
testProcessFormBeanConfigClassSubFormCustomClass 0.001 s
notestProcessFormBeanConfigClassError 0 s
- public void org.apache.struts.action.TestActionServlet.notestProcessFormBeanConfigClassError() is @Disabled -
testProcessForwardConfigClassSubConfigCustomClass 0.001 s
notestProcessForwardConfigClassError 0 s
- public void org.apache.struts.action.TestActionServlet.notestProcessForwardConfigClassError() is @Disabled -
testInitModuleFormBeansNullPropType 0.002 s

TestDynaValidatorForm

testUtilBaseEnvironment 0.001 s
testDeterminePage01 0.002 s
testDeterminePage02 0.001 s
testDeterminePage03 0.001 s
testDeterminePage04 0.001 s

TestActionMessages

testAddMessages 0.001 s
testNotEmpty 0 s
testSizeWithOneProperty 0 s
testGetWithNoProperty 0 s
testEmpty 0 s
testSizeWithManyProperties 0.001 s
testGetForAProperty 0 s
testSizeAndEmptyAfterClear 0.001 s

TestFormPropertyConfig

testInheritWithTypeOverride2 0.001 s
testInheritWithTypeOverride 0 s
testInheritWithInitialOverride 0.001 s
testInheritWithSizeOverride 0 s
testBasicInherit 0 s

TestPropertyMessageResources

testJstlMode 0.002 s
testDefaultMode 0.001 s
testResourceBundleMode 0.001 s

TestActionRedirect

testActionRedirectAddParameter 0.001 s
testActionRedirectWithAnchor 0 s
testActionRedirectFromExistingForward 0.001 s
testActionRedirectAddSameNameParameter 0.001 s
testActionRedirectRedirectFlag 0.001 s

TestRequestUtilsPopulate

testUtilBaseEnvironment 0.001 s
testMultipartVisibility 0.001 s
testRequestParameterIgnore1 0.001 s
testRequestParameterIgnore2 0 s
testRequestParameterIgnore3 0.001 s
testRequestParameterIgnore4 0.001 s

TestSetOriginalURI

testSetOriginalURI 0.001 s

TestPerformForward

testNullForwardPath 0.005 s

TestValidWhen

testOperators 0.038 s
testIndexedValue 0.004 s
testFloat 0.004 s
testNull 0.002 s
testProperty 0.002 s
testDouble 0.004 s
testJoined 0.002 s
testInteger 0.002 s
testString 0.001 s

TestActionConfigMatcher

testUtilBaseEnvironment 0 s
testMatchWithSubstitutionEqualPlaceholderKey0 0.001 s
testMatchWithSubstitutionEqualPlaceholderKey1 0.001 s
testCheckMultipleSubstitutions 0 s
testShouldMatch 0.001 s
testNoWildcardMatch 0.001 s
testCheckSubstitutionsMatch 0.001 s
testMatchWhenSubstitutionContainsPlaceholderKey 0.001 s
testNoMatch 0.001 s
testMatchWithKeyInPath 0.001 s

TestResponseUtils

testUtilBaseEnvironment 0.001 s
testFilter 0 s

TestDynaActionFormClass

testClassCreate 0 s
testConfigInitialValues 0.001 s
testConfigAdd 0 s
testConfigCreate 0 s
testConfigRemove 0 s
testConfigDuplicate 0 s
testConfigProperties 0.001 s

TestForwardConfig

testCheckCircularInheritanceActionForwardExtendGlobalSameName 0.001 s
testCheckCircularInheritanceGlobal2Levels 0 s
testProcessExtendsBasicExtension 0 s
testCheckCircularInheritanceBasicGlobal 0 s
testCheckCircularInheritanceActionForwardsBasic 0 s
testProcessExtendsConfigured 0.001 s
testCheckCircularInheritanceActionForwardsNoConflict 0 s
testCheckCircularInheritanceNoExtends 0.001 s
testCheckCircularInheritanceActionForwardExtendGlobal 0 s
testProcessExtendsActionExtendsActionExtendsGlobalWithSameName 0 s
testProcessExtendsNoExtension 0 s
testCheckCircularInheritanceNoConflicts 0 s
testProcessExtendsSameNames 0 s
testProcessExtendsGlobalExtendingAction 0.001 s
testProcessExtendsBasicGlobalExtension 0 s

TestActionConfig

testProcessExtendsActionExtends 0.001 s
testInheritBoolean 0 s
testCheckCircularInheritanceError 0 s
testCheckCircularInheritance 0 s
testGetAcceptPage 0 s
testProcessExtendsMissingAction 0.001 s
testSetAcceptPage 0 s
testToStringAcceptPage 0.001 s
testInheritFrom 0.001 s

Failure Details

[Summary] [Package List] [Test Cases]


notestProcessExceptionConfigClassError
- skipped: public void org.apache.struts.action.TestActionServlet.notestProcessExceptionConfigClassError() is @Disabled
notestSplitAndResolvePaths
- skipped: public void org.apache.struts.action.TestActionServlet.notestSplitAndResolvePaths() throws jakarta.servlet.ServletException is @Disabled
notestProcessActionConfigClassError
- skipped: public void org.apache.struts.action.TestActionServlet.notestProcessActionConfigClassError() is @Disabled
notestProcessFormBeanConfigClassError
- skipped: public void org.apache.struts.action.TestActionServlet.notestProcessFormBeanConfigClassError() is @Disabled
notestProcessForwardConfigClassError
- skipped: public void org.apache.struts.action.TestActionServlet.notestProcessForwardConfigClassError() is @Disabled