A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Engineering
»
Testing
Author
Junit for struts FormFile
kanna gupta
Greenhorn
Joined: Jun 09, 2008
Posts: 1
posted
Jul 30, 2008 01:56:00
0
hi can anyone tell me how to write the
junit
test
case for Struts FormFile.....
i am using jmock for this......
i am doing like this in my action class.....
FormFile uploadFile = uploadDataForm.getUploadFile();
now i need to setUploadFile() from my test case ...can anyone help me ...
thanks
I agree. Here's the link:
http://aspose.com/file-tools
subject: Junit for struts FormFile
Similar Threads
struts test case problem
Get the value of FormFile from Database
Upload XML using formfile in struts 1.3
need help: writing Junit test cases
How to convert FormFile into BLOB object?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter