struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19631] New: - Enhancements to RequestUtils tests
Date Sun, 04 May 2003 20:21:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19631>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19631

Enhancements to RequestUtils tests

           Summary: Enhancements to RequestUtils tests
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Test
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: phil@steitz.com


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message