testhelpers

package
v4.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 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
y or Y : Canonical URL