testhelpers

package
v0.0.0-...-7fe2d08 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 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