Package com.google.appengine.tools.development.testing

Examples of com.google.appengine.tools.development.testing.LocalMemcacheServiceTestConfig


   */
  protected LocalServiceTestHelper getLocalServiceTestHelperImpl() {
    return new LocalServiceTestHelper(
        new LocalDatastoreServiceTestConfig()
            .setAlternateHighRepJobPolicyClass(AlwaysApplyJobPolicy.class),
        new LocalMemcacheServiceTestConfig(),
        new LocalTaskQueueTestConfig());
  }
View Full Code Here


  @Before
  public void setUp() {
    LocalDatastoreServiceTestConfig dsConfig = new LocalDatastoreServiceTestConfig();

    LocalMemcacheServiceTestConfig mcConfig = new LocalMemcacheServiceTestConfig();

    dsConfig.setBackingStoreLocation("C:\\local_db.bin");
    // this needs to be false to persist, but in unit tests, why do so?
    dsConfig.setNoStorage(true);
    dsConfig.setDefaultHighRepJobPolicyUnappliedJobPercentage(0);
View Full Code Here

TOP

Related Classes of com.google.appengine.tools.development.testing.LocalMemcacheServiceTestConfig

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.