Hello community ;-)

I would like to find out if it's possible to unit test a serviceImpl
class in a GWT app, where is used getThreadLocalRequest().

The method I'm trying to unit test with jUnit contains the line:

HttpSession s = getThreadLocalRequest().getSession(true);


Is there a way around this? What's the usual approach when unit
testing this kind of stuff?

I hope someone will hear my plea :) :)

F.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to