testutil

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProbe

func NewProbe(t testing.TB, u string) probe.Probe

func NewStore

func NewStore(t testing.TB) *store.Store

func RunCheck

func RunCheck(ctx context.Context, p probe.Probe) []store.Record

Types

type DummyReporter

type DummyReporter struct {
	sync.Mutex

	Records []store.Record
}

func (*DummyReporter) Report

func (r *DummyReporter) Report(rec store.Record)

Jump to

Keyboard shortcuts

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