In normal user interaction through browser, in my servlet SearchServiceImpl 
which extends RemoteServiceServlet, calling 
this.getThreadLocalRequest() 
inside a method of SearchServiceImpl can return the request.

but in JUnit test, if calling a method of SearchServiceImpl which includes

> this.getThreadLocalRequest() 
>
it always returns null !! So how to JUnit test these method in 
SearchServiceImpl which extends RemoteServiceServlet?

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


Reply via email to