package pkgtest
import "github.com/markbates/pkger/pkging/pkgtest"
Index ¶
- func All(t *testing.T, fn AllFn)
- func CmpFileInfo(t *testing.T, a os.FileInfo, b os.FileInfo)
- func CreateTest(t *testing.T, ref *Ref, pkg pkging.Pkger)
- func CurrentTest(t *testing.T, ref *Ref, pkg pkging.Pkger)
- func HTTPTest(t *testing.T, ref *Ref, pkg pkging.Pkger)
- func InfoTest(t *testing.T, ref *Ref, pkg pkging.Pkger)
- func LoadFile(name string, ref *Ref, pkg pkging.Pkger) (os.FileInfo, error)
- func LoadFiles(name string, ref *Ref, pkg pkging.Pkger) ([]os.FileInfo, error)
- func MkdirAllTest(t *testing.T, ref *Ref, pkg pkging.Pkger)
- func OpenTest(t *testing.T, ref *Ref, pkg pkging.Pkger)
- func RemoveAllTest(t *testing.T, ref *Ref, pkg pkging.Pkger)
- func RemoveTest(t *testing.T, ref *Ref, pkg pkging.Pkger)
- func StatTest(t *testing.T, ref *Ref, pkg pkging.Pkger)
- func WalkTest(t *testing.T, ref *Ref, pkg pkging.Pkger)
- type AllFn
- type Ref
Functions ¶
func All ¶
func CmpFileInfo ¶
func CreateTest ¶
func CurrentTest ¶
func HTTPTest ¶
func InfoTest ¶
func LoadFile ¶
func LoadFiles ¶
func MkdirAllTest ¶
func OpenTest ¶
func RemoveAllTest ¶
func RemoveTest ¶
func StatTest ¶
func WalkTest ¶
Types ¶
type AllFn ¶
type Ref ¶
func NewRef ¶
Source Files ¶
create.go current.go http.go info.go load_ref.go mkdir_all.go open.go pkgtest.go ref.go remove.go remove_all.go stat.go walk.go
- Version
- v0.17.1 (latest)
- Published
- Aug 12, 2020
- Platform
- js/wasm
- Imports
- 15 packages
- Last checked
- 2 days ago –
Tools for package owners.