testshared

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LintRunner

type LintRunner struct {
	// contains filtered or unexported fields
}

func NewLintRunner

func NewLintRunner(t assert.TestingT, environ ...string) *LintRunner

func (*LintRunner) Install

func (r *LintRunner) Install()

func (*LintRunner) Run

func (r *LintRunner) Run(args ...string) *RunResult

func (*LintRunner) RunWithYamlConfig

func (r *LintRunner) RunWithYamlConfig(cfg string, args ...string) *RunResult

type RunResult

type RunResult struct {
	// contains filtered or unexported fields
}

func (*RunResult) ExpectExitCode

func (r *RunResult) ExpectExitCode(possibleCodes ...int) *RunResult

func (*RunResult) ExpectHasIssue

func (r *RunResult) ExpectHasIssue(issueText string) *RunResult

func (*RunResult) ExpectNoIssues

func (r *RunResult) ExpectNoIssues()

func (*RunResult) ExpectOutputContains

func (r *RunResult) ExpectOutputContains(s string) *RunResult

func (*RunResult) ExpectOutputEq

func (r *RunResult) ExpectOutputEq(s string) *RunResult

Jump to

Keyboard shortcuts

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