Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

LocalBlobstoreServiceTestConfig

Stay organized with collections Save and categorize content based on your preferences.
com.google.appengine.tools.development.testing

Class LocalBlobstoreServiceTestConfig

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


    public final class LocalBlobstoreServiceTestConfig
    extends java.lang.Object
    implements LocalServiceTestConfig
    Config for accessing the local blobstore service in tests. Default behavior is to configure the local blobstore to only store data in-memory and not write anything to disk. tearDown() wipes out all in-memory state so that the blobstore is empty at the end of every test.
    • Constructor Detail

      • LocalBlobstoreServiceTestConfig

        public LocalBlobstoreServiceTestConfig()
    • Method Detail

      • isNoStorage

        public boolean isNoStorage()
      • setNoStorage

        public LocalBlobstoreServiceTestConfig setNoStorage(boolean noStorage)
        True to put the blobstore into "memory-only" mode.
        Parameters:
        noStorage -
        Returns:
        this (for chaining)
      • getBackingStoreLocation

        public java.lang.String getBackingStoreLocation()
      • setBackingStoreLocation

        public LocalBlobstoreServiceTestConfig setBackingStoreLocation(java.lang.String backingStoreLocation)
        Sets the location for on-disk storage.
        Parameters:
        backingStoreLocation -
        Returns:
        this (for chaining)