test

package
v1.0.1-beta8 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package test ...

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