testutil

package
v0.0.0-...-fbbe109 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FastRand = fastRandReader{}
View Source
var Fuzz = Fuzzer.Fuzz
View Source
var Fuzzer = func() *fuzz.Fuzzer {
	f := fuzz.New()
	f.RandSource(RandSource)
	return f
}()
View Source
var RandSource = rand.NewSource(GinkgoRandomSeed())

Functions

func Byf

func Byf(format string, args ...interface{})

func ExpectBytesEqual

func ExpectBytesEqual(a, b []byte)

ExpectBytesEqual have much less overhead for large byte chunks but ginkgo.Equal.

func ExpectBytesEqualWithOffset

func ExpectBytesEqualWithOffset(off int, a, b []byte)

func TmpFileName

func TmpFileName() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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