|
||||||||
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.LocalTaskQueueTestConfig
public final class LocalTaskQueueTestConfig
Config for accessing the local task queue in tests.
Default behavior is to configure the local task queue to not automatically
execute any tasks. tearDown()
wipes out all in-memory state so all
queues are empty at the end of every test.
Constructor Summary | |
---|---|
LocalTaskQueueTestConfig()
|
Method Summary | |
---|---|
static LocalTaskQueue |
getLocalTaskQueue()
|
LocalTaskQueueTestConfig |
setDisableAutoTaskExecution(boolean disableAutoTaskExecution)
Disables/enables automatic task execution. |
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 LocalTaskQueueTestConfig()
Method Detail |
---|
public LocalTaskQueueTestConfig setDisableAutoTaskExecution(boolean disableAutoTaskExecution)
disableAutoTaskExecution
-
this
(for chaining)public void setUp()
LocalServiceTestConfig
setUp
in interface LocalServiceTestConfig
public void tearDown()
LocalServiceTestConfig
tearDown
in interface LocalServiceTestConfig
public static LocalTaskQueue getLocalTaskQueue()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |