Package com.google.appengine.tools.development

Examples of com.google.appengine.tools.development.ApiProxyLocalImpl


   * @see LocalServiceTest#setUp()
   */
  @Override
  public void setUp() {
    super.setUp();
    ApiProxyLocalImpl proxy = (ApiProxyLocalImpl) ApiProxy.getDelegate();
    proxy.setProperty(LocalDatastoreService.NO_STORAGE_PROPERTY,
        Boolean.TRUE.toString());
  }
View Full Code Here


  /**
   * @see LocalServiceTest#tearDown()
   */
  @Override
  public void tearDown() {
    ApiProxyLocalImpl proxy = (ApiProxyLocalImpl) ApiProxy.getDelegate();
    LocalDatastoreService datastoreService = (LocalDatastoreService) proxy
        .getService("datastore_v3");
    datastoreService.clearProfiles();
    super.tearDown();
  }
View Full Code Here

   * Sets up {@link ApiProxy} with {@link MockEnvironment} and
   * {@link ApiProxyLocalImpl}.
   */
  public void setUp() {
    ApiProxy.setEnvironmentForCurrentThread(new MockEnvironment());
    ApiProxy.setDelegate(new ApiProxyLocalImpl(new File(".")) {
      // nothing here
    });
  }
View Full Code Here

TOP

Related Classes of com.google.appengine.tools.development.ApiProxyLocalImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.