testutils

package
v0.0.0-...-8488f5b Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2016 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DirContains Checker = &dirContainsChecker{
	&CheckerInfo{Name: "DirContains", Params: []string{"directory", "list"}},
}

Asserts that the named directory exists, is a directory, and contains the provided list of files (or subdirectories; no distinction is made; just the names are checked).

Functions

func SkipIfNotRoot

func SkipIfNotRoot(t *C)

Skips a test if the UID isn't 0.

Use in a suite's `SetUpSuite` method for great effect.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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