So then why cant add this functionality in the Cactus source?. Wont this
help?. 
It would be much better if I could test it in the endXXX from the response
stream itself.

Kunal.

-----Original Message-----
From: Vincent Massol [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 10:00 AM
To: [EMAIL PROTECTED]
Subject: Re: Cactus Question


hum ... the answer is no and yes ...

What is returned in endXXX() is the servlet output stream ! If your method
is returning a vector and you want to test the value, you have to do this at
the end of your testXXX() method. The endXXX() is for asserting the result
of calling your servlet ...

Thanks
Vincent

----- Original Message -----
From: "Vaishnav, Kunal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 4:51 PM
Subject: Cactus Question


> Hello All,
>   I had a question. Can I return a vector of objects in the response
stream
> to be tested in the endXXX() method?. I think that in SimpleServlet
example,
> it shows how to return
> cookies. But can I return a vector of objects?.
>
> Thanks,
> Kunal.
>

Reply via email to