Re: Issues testing file upload Servlet using SerlvetUnit
Wolfgang Fahl <[email protected]> Tue, 06 Oct 2009 21:12:51 +0200
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear Sriram, you wrote: > The only FAQ I find is from the main website: > http://httpunit.sourceforge.net/doc/faq.html Could you provide me > with a link to the FAQ for this mailing list? I do not see a link in > the welcome message I got when I joined this list, so I'm struggling > to locate that. Thank you for pointing this out. Currently you'll find the FAQ in the archives of september or august. I've started posting it about two months ago: http://sourceforge.net/mailarchive/forum.php?forum_name=httpunit-develop&max_rows=25&style=nested&viewmonth=200909 > I did find a unit test that you wrote in the SVN repo that does file > upload: > > http://httpunit.svn.sourceforge.net/viewvc/httpunit/trunk/httpunit/test/com/meterware/httpunit/FileUploadTest.java?view=markup > > The issue here is that the HttpUserAgentTest functionality in use is > running the test against a PsuedoServlet (MimeEcho), and I want to run > my test against the servlet I wrote for FileUpload. I see the test > (linked above) as totally valid for the context of HttpUnit/Servlet > (you're testing the file upload capablities) but I do not easily see > how I would inject my functionality into this example as the unit > under test. > As per the FAQ I recommend that you test against the subversion trunk of 1.7 write a JUnit test that shows the point of your problem and I'll happily comment or fix. There is unfortunately no other available via this mailinglist besides what other people might volunteer to do. Yours Wolfgang ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf