Uses of Class
com.google.appengine.tools.development.testing.LocalServiceTestHelper
Packages that use LocalServiceTestHelper
-
Uses of LocalServiceTestHelper in com.google.appengine.tools.development.testing
Methods in com.google.appengine.tools.development.testing that return LocalServiceTestHelperModifier and TypeMethodDescriptionLocalServiceTestHelper.setClock(com.google.appengine.tools.development.Clock clock) Sets the clock with which all local services will be initialized.LocalServiceTestHelper.setEnforceApiDeadlines(boolean val) Determines whether or not API calls should be subject to the same deadlines as in production.LocalServiceTestHelper.setEnvAppId(String envAppId) The value to be returned byApiProxy.getCurrentEnvironment().getAppId()LocalServiceTestHelper.setEnvAttributes(Map<String, Object> envAttributes) The value to be returned byApiProxy.getCurrentEnvironment().getAttributes()LocalServiceTestHelper.setEnvAuthDomain(String envAuthDomain) The value to be returned byApiProxy.getCurrentEnvironment().getAuthDomain()LocalServiceTestHelper.setEnvEmail(String envEmail) The value to be returned byApiProxy.getCurrentEnvironment().getEmail()LocalServiceTestHelper.setEnvInstance(String envInstance) The current instance id held by ApiProxy.getCurrentEnvironment()LocalServiceTestHelper.setEnvIsAdmin(boolean envIsAdmin) The value to be returned byApiProxy.getCurrentEnvironment().isAdmin()LocalServiceTestHelper.setEnvIsLoggedIn(boolean envIsLoggedIn) The value to be returned byApiProxy.getCurrentEnvironment().isLoggedIn()LocalServiceTestHelper.setEnvModuleId(String envModuleId) The value to be returned byApiProxy.getCurrentEnvironment().getModuleId()LocalServiceTestHelper.setEnvRequestNamespace(String envRequestNamespace) The value to be returned byApiProxy.getCurrentEnvironment().getRequestNamespace()LocalServiceTestHelper.setEnvVersionId(String envVersionId) The value to be returned byApiProxy.getCurrentEnvironment().getVersionId()LocalServiceTestHelper.setRemainingMillisTimer(LocalServiceTestHelper.RequestMillisTimer timer) Sets the object that will return the value to be returned byApiProxy.getCurrentEnvironment().getRemainingMillis()LocalServiceTestHelper.setSimulateProdLatencies(boolean val) Determines whether or not local services should simulate production latencies.LocalServiceTestHelper.setTimeZone(TimeZone timeZone) Sets the time zone in which tests will execute.final LocalServiceTestHelperLocalServiceTestHelper.setUp()Set up an environment in which tests that use local services can execute.