testing

package
v0.0.0-...-6cf1bc9 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2016 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WriteConfTest

type WriteConfTest struct {
	Service  string
	DataDir  string
	Expected string
	Script   string
}

WriteConfTest is used in tests to verify that the shell commands to write a service conf to disk are correct.

func (WriteConfTest) CheckCommands

func (wct WriteConfTest) CheckCommands(c *gc.C, commands []string)

CheckCommands checks the given commands against the test's expectations.

func (WriteConfTest) CheckInstallAndStartCommands

func (wct WriteConfTest) CheckInstallAndStartCommands(c *gc.C, commands []string)

Jump to

Keyboard shortcuts

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