LocalDatastoreServiceTestConfig

com.google.appengine.tools.development.testing

Class LocalDatastoreServiceTestConfig

  • java.lang.Object
    • com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig
  • All Implemented Interfaces:
    LocalServiceTestConfig


    public final class LocalDatastoreServiceTestConfig
    extends java.lang.Object
    implements LocalServiceTestConfig
    Config for accessing the local datastore service in tests. Default behavior is to configure the local datastore to only store data in-memory, to not write anything to disk, and for all jobs to apply on the first attempt (master/slave consistency model). tearDown() wipes out all in-memory state so that the datastore is empty at the end of every test.