Hi Dom,

is your test class short and easy to understand? Could you post it to 
the mailing list?

best regards
   Stephan

Dom Farr schrieb:
> In my test cases (JUnit 4), I'm using Restlet's Server class, passing in a 
> Restlet object with an overriden handle method so I can control the 
> response.entity.
>
> However, even though I am constructing new Server and Restlet objects for 
> each test, and setting a different Representation entity for each new 
> instance, only the response.entity from the first test is returned in each 
> subsequent test.
>
> Why is this and what shuold I do in order to be able to change the 
> response.entity for each test.
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1009735
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1013997

Reply via email to