Nick,

Thanks for the reply.  I would like to try to implement this, but my client
wants to keep everything in mock objects rather than use an in-container
approach.  Is there a way to test import using MockStrutsTestCase, or do you
need to use Cactus?

Thanks,

George

-----Original Message-----
From: Nick Heudecker [mailto:[EMAIL PROTECTED]
Sent: Friday, June 18, 2004 10:35 AM
To: Struts Users Mailing List
Subject: Re: Unit Testing with MockStrutsTestCase -- non-string request
parameters


Hi George:

Maybe this will help:

http://sourceforge.net/forum/message.php?msg_id=1812671


George Steimer wrote:
> Hi,
>
> Does anyone know if there is a way to put non-string objects into the
> request for a unit test using MockStrutsTestCase?  My problem is that my
> dyna form uses a form file for an upload, and the addRequestParameter
> methods on MockStrutsTestCase only accept String and String[] for values.
>
> And help would be greatly appreciated.
>
> Thanks,
>
> George
>
>
> George Steimer
> Technology Services Group
> [EMAIL PROTECTED]
> (312)372-7777
>
> This message is for the designated recipient only and may contain
privileged
> or confidential information.  If you have received it in error, please
> notify the sender immediately and delete the original.  Any other use of
the
> email by you is prohibited.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


--
Nick Heudecker
System Mobile, Inc.
Email: [EMAIL PROTECTED]
Web: http://www.systemmobile.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to