You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/09/01 05:51:34 UTC

[jira] Updated: (STR-1444) Enhancements to RequestUtils tests

     [ https://issues.apache.org/struts/browse/STR-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated STR-1444:
-------------------------------

    Fix Version/s: Future
         Assignee:     (was: Struts Developers)

> Enhancements to RequestUtils tests
> ----------------------------------
>
>                 Key: STR-1444
>                 URL: https://issues.apache.org/struts/browse/STR-1444
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Nightly Build
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Phil Steitz
>            Priority: Minor
>             Fix For: Future
>
>         Attachments: MockMessageResources.java, MockMessageResourcesFactory.java, testMockBasePatch.txt, testRequestUtilsPatch.txt
>
>
> Attaching files making the following enhancements to TestRequestUtils, TestMockBase:
> 1. Replace deprecated struts APIs with 1.1 versions.
> 2. Add tests for action parameter in computeURL
> 3. Add checks for message resources in module selection tests (addressing FIXME)
> For 3., I needed MessageResources instances. Instead of creating "real"
> PropertyMessageResources, I added MockMessageResources and
> MockMessageResourceFactory classes. Don't know if this was the right thing to
> do, but it seemed consistent with how the rest of the tests work.
> All tests succeed when run against current CVS sources.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.