pkgtest

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All added in v0.9.0

func All(t *testing.T, fn AllFn)

func CmpFileInfo added in v0.9.0

func CmpFileInfo(t *testing.T, a os.FileInfo, b os.FileInfo)

func CreateTest added in v0.9.0

func CreateTest(t *testing.T, ref *Ref, pkg pkging.Pkger)

func CurrentTest added in v0.9.0

func CurrentTest(t *testing.T, ref *Ref, pkg pkging.Pkger)

func HTTPTest added in v0.9.0

func HTTPTest(t *testing.T, ref *Ref, pkg pkging.Pkger)

func InfoTest added in v0.9.0

func InfoTest(t *testing.T, ref *Ref, pkg pkging.Pkger)

func LoadFile added in v0.9.0

func LoadFile(name string, ref *Ref, pkg pkging.Pkger) (os.FileInfo, error)

func LoadFiles added in v0.9.0

func LoadFiles(name string, ref *Ref, pkg pkging.Pkger) ([]os.FileInfo, error)

func MkdirAllTest added in v0.9.0

func MkdirAllTest(t *testing.T, ref *Ref, pkg pkging.Pkger)

func OpenTest added in v0.9.0

func OpenTest(t *testing.T, ref *Ref, pkg pkging.Pkger)

func RemoveAllTest added in v0.9.0

func RemoveAllTest(t *testing.T, ref *Ref, pkg pkging.Pkger)

func RemoveTest added in v0.9.0

func RemoveTest(t *testing.T, ref *Ref, pkg pkging.Pkger)

func StatTest added in v0.9.0

func StatTest(t *testing.T, ref *Ref, pkg pkging.Pkger)

func WalkTest added in v0.9.0

func WalkTest(t *testing.T, ref *Ref, pkg pkging.Pkger)

Types

type AllFn added in v0.9.0

type AllFn func(ref *Ref) (pkging.Pkger, error)

type Ref added in v0.9.0

type Ref struct {
	here.Info
	// contains filtered or unexported fields
}

func NewRef added in v0.9.0

func NewRef() (*Ref, error)

Jump to

Keyboard shortcuts

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