Hey all, I'm trying to piece together some integration tests, and while strictly speaking I don't need to test that file uploads work, I need a way to pass files to my action beans during tests to make sure they do the right thing with them.
I am using the MockServletContext and MockRoundTrip which work great for my 'normal' parameters, but not sure what to do with files. Can I just convert a byte array of the file contents to a string and pass it that way? Anyone have to deal with this before? Thanks for any pointers! -Nick
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com
_______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
