testhelpers

package
Version: v3.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyPlan

func VerifyPlan(expectedPlan atc.Plan) http.HandlerFunc

Types

type PlanMatcher

type PlanMatcher struct {
	ExpectedPlan atc.Plan
	// contains filtered or unexported fields
}

func MatchPlan

func MatchPlan(plan atc.Plan) *PlanMatcher

func (*PlanMatcher) FailureMessage

func (matcher *PlanMatcher) FailureMessage(actual interface{}) string

func (*PlanMatcher) Match

func (matcher *PlanMatcher) Match(actual interface{}) (bool, error)

func (*PlanMatcher) NegatedFailureMessage

func (matcher *PlanMatcher) NegatedFailureMessage(actual interface{}) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL