testhelpers

package
v6.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncludeHeaderEntries

func IncludeHeaderEntries(expected map[string]string) types.GomegaMatcher

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