test

package
v1.0.2-beta01 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTestFail

func CheckTestFail(t *testing.T, buf *bytes.Buffer)

CheckTestFail ...

func SetupMuxResponse

func SetupMuxResponse(t *testing.T, m *http.ServeMux, path string, expectedMethod string, expectedContent *string, statusCode int, body string, verify func(t *testing.T, r *http.Request))

SetupMuxResponse ...

func SetupServer

func SetupServer(t *testing.T) (m *http.ServeMux, c client.SessionClient, teardown func())

SetupServer ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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