test

package
v6.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, ctx *Context)

Run runs the complete test suite

func RunShort

func RunShort(t *testing.T, ctx *Context)

RunShort runs the short test suite

func RunSnap

func RunSnap(t *testing.T, ctx *Context)

RunSnap runs only the snap related tests

Types

type Context

type Context struct {
	volume.VolumeDriver

	Filesystem api.FSType

	Encrypted     bool
	Passphrase    string
	AttachOptions map[string]string
	// contains filtered or unexported fields
}

Context maintains current device state. It gets passed into tests so that tests can build on other tests' work

func NewContext

func NewContext(d volume.VolumeDriver) *Context

NewContext returns a new Context

Jump to

Keyboard shortcuts

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