luci: go.chromium.org/luci/appengine/gaetesting Index | Files

package gaetesting

import "go.chromium.org/luci/appengine/gaetesting"

Index

Package Files

middleware.go

func TestingContext Uses

func TestingContext() context.Context

TestingContext returns context with base services installed:

* go.chromium.org/gae/impl/memory (in-memory appengine services)
* go.chromium.org/luci/server/caching (access to process cache)
* go.chromium.org/luci/server/secrets/testsecrets (access to fake secret keys)

func TestingContextWithAppID Uses

func TestingContextWithAppID(appID string) context.Context

TestingContextWithAppID returns context with the specified App ID and base services installed:

* go.chromium.org/gae/impl/memory (in-memory appengine services)
* go.chromium.org/luci/server/caching (access to process cache)
* go.chromium.org/luci/server/secrets/testsecrets (access to fake secret keys)

Package gaetesting imports 6 packages (graph). Updated 2018-10-19. Refresh now. Tools for package owners.