I have the exact same issue and can't get it to work with ApiProxy...
How did you do it exactly?

Thanks

On Jun 14, 2:46 pm, esorf <[email protected]> wrote:
> Ok, I kept trying things until I found something that worked.  The
> information is in a few posts out there as they touch on related issues.
>
> In each thread I call
>     ApiProxy.setEnvironmentForCurrentThread(testEnvironment);
>
> The testEnvironment is just
>     Environment testEnvironment = new Environment() {
>         // Implementations of all Environment value getters.  Specifically,
> return "test" for appid in order to match default Environment
> implementation.
>     }
>
> http://code.google.com/appengine/docs/java/tools/localunittesting.htmlno
> longer refers to Environment, but it's clearly still important for
> multi-threaded testing.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-appengine-java?hl=en.

Reply via email to