testutil

package
v0.0.0-...-dbe7a22 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertFileContents

func AssertFileContents(t *testing.T, filename string, contents string)

func AssertFileContentsBytes

func AssertFileContentsBytes(t *testing.T, filename string, contents []byte)

func BuildZipArchive

func BuildZipArchive(t *testing.T, files map[string][]byte) []byte

func StaticHttpServer

func StaticHttpServer(files map[string][]byte) *httptest.Server

func WriteFile

func WriteFile(t *testing.T, filename string, contents string)

func WriteFileBytes

func WriteFileBytes(t *testing.T, filename string, contents []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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