testutils

package
v0.12.1-0...-e2fce7d Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2014 License: Apache-2.0 Imports: 2 Imported by: 0

README

testutils is a collection of utility functions to facilitate the writing of tests. It is used in various places by the Docker test suite.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Timeout

func Timeout(t *testing.T, f func())

Timeout calls f and waits for 100ms for it to complete. If it doesn't, it causes the tests to fail. t must be a valid testing context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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