|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.tools.development.testing.LocalBlobstoreServiceTestConfig
public final class LocalBlobstoreServiceTestConfig
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 Summary | |
---|---|
LocalBlobstoreServiceTestConfig()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalBlobstoreServiceTestConfig()
Method Detail |
---|
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()
LocalServiceTestConfig
setUp
in interface LocalServiceTestConfig
public void tearDown()
LocalServiceTestConfig
tearDown
in interface LocalServiceTestConfig
public static LocalBlobstoreService getLocalBlobstoreService()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |