testing

package
v0.0.0-...-a0d7459 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 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