Struts 1 - Surefire Report

##### Struts 1

- Welcome
- Learning
- Roadmap
- Releases

##### Documentation

- User Guide
- FAQs and HOWTOs
- Release Notes
- Javadoc
- DTDDoc

##### Support

- User Mailing List
- Issue Tracker (JIRA)
- Wiki Pages

##### Components

- Struts Apps
- Struts EL
- Struts Extras
- Struts Faces
- Struts Scripting
- Struts Taglib
- Struts Tiles

##### Project Documentation

- Project Information
- Project Reports
  - Checkstyle
  - CPD Report
  - DTDDoc
  - JavaDocs
  - PMD Report
  - Source Xref
  - Surefire Report
  - Test JavaDocs
  - Test Source Xref

## Surefire Report

## Summary

[Summary] [Package List] [Test Cases]

Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | ---
195 | 0 | 0 | 0 | 100% | 2.997

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.validator | 6 | 0 | 0 | 0 | 100% | 0.531
org.apache.struts.action | 105 | 0 | 0 | 0 | 100% | 0.64
org.apache.struts.chain.commands.generic | 8 | 0 | 0 | 0 | 100% | 0.062
org.apache.struts.config | 42 | 0 | 0 | 0 | 100% | 1.061
org.apache.struts.chain.commands.servlet | 7 | 0 | 0 | 0 | 100% | 0.251
org.apache.struts.util | 27 | 0 | 0 | 0 | 100% | 0.452

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

### org.apache.struts.validator

| Class | Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | --- | --- | ---
| TestValidWhen | 6 | 0 | 0 | 0 | 100% | 0.531

### org.apache.struts.action

| Class | Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | --- | --- | ---
| TestActionMessage | 8 | 0 | 0 | 0 | 100% | 0.031
| TestActionMessages | 8 | 0 | 0 | 0 | 100% | 0.031
| TestActionRedirect | 5 | 0 | 0 | 0 | 100% | 0.062
| TestActionServlet | 31 | 0 | 0 | 0 | 100% | 0.219
| TestDynaActionForm | 46 | 0 | 0 | 0 | 100% | 0.266
| TestDynaActionFormClass | 7 | 0 | 0 | 0 | 100% | 0.031

### org.apache.struts.chain.commands.generic

| Class | Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | --- | --- | ---
| TestCopyFormToContext | 6 | 0 | 0 | 0 | 100% | 0.031
| TestWrappingLookupCommand | 2 | 0 | 0 | 0 | 100% | 0.031

### org.apache.struts.config

| Class | Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | --- | --- | ---
| CustomMappingTest | 0 | 0 | 0 | 0 | 0% | 0.016
| TestActionConfig | 6 | 0 | 0 | 0 | 100% | 0.031
| TestActionConfigMatcher | 6 | 0 | 0 | 0 | 100% | 0.063
| TestFormBeanConfig | 5 | 0 | 0 | 0 | 100% | 0.031
| TestFormPropertyConfig | 5 | 0 | 0 | 0 | 100% | 0.015
| TestForwardConfig | 15 | 0 | 0 | 0 | 100% | 0.046
| TestModuleConfig | 5 | 0 | 0 | 0 | 100% | 0.859

### org.apache.struts.chain.commands.servlet

| Class | Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | --- | --- | ---
| TestAuthorizeAction | 5 | 0 | 0 | 0 | 100% | 0.203
| TestPerformForward | 1 | 0 | 0 | 0 | 100% | 0.032
| TestSetOriginalURI | 1 | 0 | 0 | 0 | 100% | 0.016

### org.apache.struts.util

| Class | Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | --- | --- | ---
| TestPropertyMessageResources | 3 | 0 | 0 | 0 | 100% | 0.093
| TestRequestUtils | 22 | 0 | 0 | 0 | 100% | 0.281
| TestRequestUtilsPopulate | 2 | 0 | 0 | 0 | 100% | 0.078

## Test Cases

[Summary] [Package List] [Test Cases]

### TestActionMessage

| testActionMessageWithNoValue | 0
| testActionMessageWithAStringValue | 0
| testActionMessageWithTwoValues | 0
| testActionMessageWithThreeValues | 0
| testActionMessageWithFourValues | 0
| testActionMessageWithArrayValues | 0
| testActionWithTwoIntegers | 0
| testActionNoResource | 0

### TestActionMessages

| testEmpty | 0
| testNotEmpty | 0.015
| testSizeWithOneProperty | 0
| testSizeWithManyProperties | 0
| testSizeAndEmptyAfterClear | 0
| testGetWithNoProperty | 0
| testGetForAProperty | 0
| testAddMessages | 0

### TestActionRedirect

| testActionRedirectRedirectFlag | 0
| testActionRedirectAddParameter | 0.047
| testActionRedirectWithAnchor | 0
| testActionRedirectAddSameNameParameter | 0
| testActionRedirectFromExistingForward | 0

### TestActionServlet

| testInitDestroyInternal | 0
| testInitModuleFormBeansNoExtends | 0
| testInitModuleFormBeansNullFormType | 0.016
| testInitModuleFormBeansNullPropType | 0.031
| testProcessFormBeanExtension | 0
| testProcessFormBeanConfigClass | 0.016
| testProcessFormBeanConfigClassNoExtends | 0
| testProcessFormBeanConfigClassSubFormCustomClass | 0
| testProcessFormBeanConfigClassOverriddenSubFormClass | 0
| testInitModuleExceptionConfigsNoExtends | 0
| testInitModuleExceptionConfigsNullFormType | 0.016
| testProcessExceptionExtension | 0
| testProcessExceptionConfigClass | 0.016
| testProcessExceptionConfigClassNoExtends | 0
| testProcessExceptionConfigClassSubConfigCustomClass | 0
| testProcessExceptionConfigClassOverriddenSubFormClass | 0
| testInitModuleForwardConfigsNoExtends | 0
| testInitModuleForwardsNullFormType | 0.015
| testProcessForwardExtension | 0
| testProcessForwardConfigClass | 0.016
| testProcessForwardConfigClassNoExtends | 0
| testProcessForwardConfigClassSubConfigCustomClass | 0
| testProcessForwardConfigClassOverriddenSubConfigClass | 0
| testInitModuleActionConfigsNoExtends | 0
| testProcessActionExtension | 0
| testProcessActionExtensionWithForwardConfig | 0
| testProcessActionExtensionWithExceptionConfig | 0
| testProcessActionConfigClass | 0.016
| testProcessActionConfigClassNoExtends | 0
| testProcessActionConfigClassSubConfigCustomClass | 0
| testProcessActionConfigClassOverriddenSubConfigClass | 0

### TestDynaActionForm

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

### TestDynaActionFormClass

| testConfigAdd | 0
| testConfigCreate | 0
| testConfigDuplicate | 0
| testConfigInitialValues | 0
| testConfigProperties | 0
| testConfigRemove | 0
| testClassCreate | 0

### TestCopyFormToContext

| testLookupByNameAndRequestScope | 0
| testLookupByActionPath | 0
| testLookupByNameAndSessionScope | 0
| testExceptionHandlingWithNullFormName | 0
| testExceptionHandlingWithNullEverything | 0
| testCopyToDefaultContextKey | 0

### TestWrappingLookupCommand

| testSame | 0.016
| testWrapContextSubclass | 0.015

### TestAuthorizeAction

| testAuthorizeOneRole | 0.11
| testAuthorizeOneOfManyRoles | 0
| testAuthorizeNoRoles | 0
| testNotAuthorizedOneRole | 0.047
| testNotAuthorizedOneOfManyRoles | 0

### TestPerformForward

| testNullForwardPath | 0.016

### TestSetOriginalURI

| testSetOriginalURI | 0

### CustomMappingTest

### TestActionConfig

| testCheckCircularInheritance | 0
| testCheckCircularInheritanceError | 0
| testProcessExtendsActionExtends | 0
| testProcessExtendsMissingAction | 0
| testInheritFrom | 0.016
| testInheritBoolean | 0

### TestActionConfigMatcher

| testNoMatch | 0
| testNoWildcardMatch | 0
| testShouldMatch | 0
| testCheckSubstitutionsMatch | 0.015
| testCheckMultipleSubstitutions | 0.016
| testUtilBaseEnvironment | 0

### TestFormBeanConfig

| testCheckCircularInheritance | 0
| testCheckCircularInheritanceError | 0
| testInheritFrom | 0.015
| testProcessExtendsBaseFormExtends | 0
| testProcessExtendsMissingBaseForm | 0

### TestFormPropertyConfig

| testBasicInherit | 0
| testInheritWithInitialOverride | 0
| testInheritWithTypeOverride | 0
| testInheritWithTypeOverride2 | 0
| testInheritWithSizeOverride | 0

### TestForwardConfig

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

### TestModuleConfig

| testParse | 0.438
| testParse1_1 | 0.109
| testCustomMappingParse | 0.125
| testCustomMappingParse1_1 | 0.094
| testPreserveActionMappingsOrder | 0.078

### TestPropertyMessageResources

| testDefaultMode | 0.032
| testJstlMode | 0.031
| testResourceBundleMode | 0.015

### TestRequestUtils

| testAbsoluteURL | 0.141
| testActionURL1 | 0
| testActionURL2 | 0
| testActionURL3 | 0
| testCreateActionForm1a | 0
| testCreateActionForm1b | 0
| testCreateActionForm2a | 0
| testCreateActionForm2b | 0
| testCreateActionForm3a | 0.016
| testCreateActionForm3b | 0
| testCreateActionForm4a | 0.016
| testForwardURL1 | 0
| testForwardURL2 | 0
| testForwardURL3 | 0
| testForwardURLa | 0
| testRequestURL | 0
| testSelectApplication1a | 0
| testSelectApplication1b | 0
| testSelectApplication2a | 0.016
| testSelectApplication2b | 0
| testServerURL | 0
| testUtilBaseEnvironment | 0

### TestRequestUtilsPopulate

| testMultipartVisibility | 0.063
| testUtilBaseEnvironment | 0

### TestValidWhen

| testProperty | 0.391
| testOperators | 0
| testString | 0.016
| testNumeric | 0.016
| testNull | 0
| testJoined | 0.015