I think the stats only work on google's servers, not your desktop (or test 
environment).


David Fuelling wrote:
> I'm running some JUnit tests to excercise my data-layer classes using
> the TestEnvironment patter implementing ApiProxy.Environment (i.e., so
> I can test my code's datastore operations inside of JUnit).
> 
> The tests run fine, except when I try to interact with the Statistics
> from inside of a test.  All of my stats queries return null.  From
> what I can tell stats are enabled in the Development server, so I'm
> not sure why stats aren't working inside of my JUnit tests.
> 
> Any ideas?  Is there a special property I need to be setting when
> running a JUnit test?
> 
> Thanks!
> 
> --
> 
> 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.
> 
> 

--

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