test

package
Version: v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2019 License: Apache-2.0 Imports: 9 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL