appengine: Index | Files

package aetesting

import ""

Package aetesting provides utilities for testing App Engine packages. This is not for testing user applications.


Package Files


func FakeSingleContext Uses

func FakeSingleContext(t *testing.T, service, method string, f interface{}) context.Context

FakeSingleContext returns a context whose Call invocations will be serviced by f, which should be a function that has two arguments of the input and output protocol buffer type, and one error return.

Package aetesting imports 7 packages (graph). Updated 2016-07-17. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).