matchers

package
v6.21.0+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeInDisplayOrder

func BeInDisplayOrder(substrings ...[]string) gomega.OmegaMatcher

func ContainSubstrings

func ContainSubstrings(substrings ...[]string) gomega.OmegaMatcher

func HaveAllRequestsCalled

func HaveAllRequestsCalled() gomega.OmegaMatcher

func HavePassedRequirements

func HavePassedRequirements() gomega.OmegaMatcher

func HaveSucceeded

func HaveSucceeded() gomega.OmegaMatcher

Types

type OrderMatcher

type OrderMatcher struct {
	// contains filtered or unexported fields
}

func (*OrderMatcher) FailureMessage

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

func (*OrderMatcher) Match

func (matcher *OrderMatcher) Match(actualStr interface{}) (success bool, err error)

func (*OrderMatcher) NegatedFailureMessage

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

type SliceMatcher

type SliceMatcher struct {
	// contains filtered or unexported fields
}

func (*SliceMatcher) FailureMessage

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

func (*SliceMatcher) Match

func (matcher *SliceMatcher) Match(actual interface{}) (success bool, err error)

func (*SliceMatcher) NegatedFailureMessage

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL