aetesting

package
v1.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FakeSingleContext

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL