package aetesting

import "k8s.io/kubernetes/Godeps/_workspace/src/google.golang.org/appengine/internal/aetesting"

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

Index

Functions

func FakeSingleContext

func FakeSingleContext(t *testing.T, service, method string, f interface{}) appengine.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.

Source Files

fake.go

Version
v0.13.1-dev
Published
Mar 16, 2015
Platform
js/wasm
Imports
6 packages
Last checked
3 minutes ago

Tools for package owners.