public final class LocalBlobstoreServiceTestConfig extends java.lang.Object implements LocalServiceTestConfig
tearDown() wipes out
all in-memory state so that the blobstore is empty at the end of every test.| Constructor and Description |
|---|
LocalBlobstoreServiceTestConfig() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBackingStoreLocation() |
static LocalBlobstoreService |
getLocalBlobstoreService() |
boolean |
isNoStorage() |
LocalBlobstoreServiceTestConfig |
setBackingStoreLocation(java.lang.String backingStoreLocation)
Sets the location for on-disk storage.
|
LocalBlobstoreServiceTestConfig |
setNoStorage(boolean noStorage)
True to put the blobstore into "memory-only" mode.
|
void |
setUp()
Set up the local service.
|
void |
tearDown()
Tear down the local service.
|
public boolean isNoStorage()
public LocalBlobstoreServiceTestConfig setNoStorage(boolean noStorage)
noStorage - this (for chaining)public java.lang.String getBackingStoreLocation()
public LocalBlobstoreServiceTestConfig setBackingStoreLocation(java.lang.String backingStoreLocation)
backingStoreLocation - this (for chaining)public void setUp()
LocalServiceTestConfigsetUp in interface LocalServiceTestConfigpublic void tearDown()
LocalServiceTestConfigtearDown in interface LocalServiceTestConfigpublic static LocalBlobstoreService getLocalBlobstoreService()