Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.appengine.tools.development.testing
Class LocalTaskQueueTestConfig

    java.lang.Object
      com.google.appengine.tools.development.testing.LocalTaskQueueTestConfig

All Implemented Interfaces:
  LocalServiceTestConfig

    public final class LocalTaskQueueTestConfig

extends java.lang.Object
implements LocalServiceTestConfig

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

### LocalTaskQueueTestConfig

    public LocalTaskQueueTestConfig()

Method Detail

### setDisableAutoTaskExecution

    public LocalTaskQueueTestConfig setDisableAutoTaskExecution(boolean disableAutoTaskExecution)

  Disables/enables automatic task execution.

  Parameters:
    `disableAutoTaskExecution` -
  Returns:
    `this` (for chaining)

### setUp

    public void setUp()

  Description copied from interface: `LocalServiceTestConfig`
  Set up the local service.

  Specified by:
    `setUp` in interface `LocalServiceTestConfig`

### tearDown

    public void tearDown()

  Description copied from interface: `LocalServiceTestConfig`
  Tear down the local service.

  Specified by:
    `tearDown` in interface `LocalServiceTestConfig`

### getLocalTaskQueue

    public static LocalTaskQueue getLocalTaskQueue()

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD