MCPcopy Create free account
hub / github.com/golang/appengine / ContextForTesting

Function ContextForTesting

internal/api.go:645–647  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

643}
644
645func ContextForTesting(req *http.Request) context.Context {
646 return toContext(&aeContext{req: req})
647}
648
649func logToLogservice() bool {
650 // TODO: replace logservice with json structured logs to $LOG_DIR/app.log.json

Callers 2

TestBasicUserAPIFunction · 0.92
FakeSingleContextFunction · 0.92

Calls 1

toContextFunction · 0.70

Tested by 1

TestBasicUserAPIFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…