juju: github.com/juju/juju/service/systemd/testing Index | Files

package testing

import "github.com/juju/juju/service/systemd/testing"

Index

Package Files

writeconf.go

type WriteConfTest Uses

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 Uses

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

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

Package testing imports 6 packages (graph). Updated 2018-07-01. Refresh now. Tools for package owners.