testhelpers

package
v0.75.0-no-limit Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2016 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