test

package
v0.0.0-...-bf621fb Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventClone

func EventClone(e *event.Event) *event.Event

EventClone clone event (not deep copy for fields)

func EventCmp

func EventCmp(want, got *event.Event, skipTime, skipPath bool) (bool, string)

func EventsCmp

func EventsCmp(want, got []*event.Event, sortNeed, skipTime, skipPath bool) (bool, string)

func EventsDump

func EventsDump(events []*event.Event) string

func EventsFromChannel

func EventsFromChannel(fchan <-chan *event.Event, timeout time.Duration) []*event.Event

func Int

func Int(min, max int) int

func String

func String(length int) string

func Strings

func Strings(length, n int) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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