Documentation ¶
Index ¶
- func BeInDisplayOrder(substrings ...[]string) gomega.OmegaMatcher
- func ContainElementTimes(element interface{}, count int) gomega.OmegaMatcher
- func ContainElementsInOrder(elements ...interface{}) gomega.OmegaMatcher
- func ContainSubstrings(substrings ...[]string) gomega.OmegaMatcher
- func HaveAllRequestsCalled() gomega.OmegaMatcher
- func HaveCommandInCategoryWithDescription(command, category, description string) types.GomegaMatcher
- func HavePassedRequirements() gomega.OmegaMatcher
- func HaveSucceeded() gomega.OmegaMatcher
- func HaveTypeOf(expected interface{}) gomega.OmegaMatcher
- func MatchFuncsByName(funcs ...interface{}) gomega.OmegaMatcher
- func MatchPath(expectedPath string) gomega.OmegaMatcher
- type CommandInCategoryMatcher
- type ContainElementTimesMatcher
- type ContainElementsInOrderMatcher
- func (matcher *ContainElementsInOrderMatcher) FailureMessage(actual interface{}) (message string)
- func (matcher *ContainElementsInOrderMatcher) Match(actual interface{}) (success bool, err error)
- func (matcher *ContainElementsInOrderMatcher) NegatedFailureMessage(actual interface{}) (message string)
- type FuncsByNameMatcher
- type HaveTypeOfMatcher
- type OrderMatcher
- type PathMatcher
- type SliceMatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeInDisplayOrder ¶
func BeInDisplayOrder(substrings ...[]string) gomega.OmegaMatcher
func ContainElementTimes ¶
func ContainElementTimes(element interface{}, count int) gomega.OmegaMatcher
func ContainElementsInOrder ¶
func ContainElementsInOrder(elements ...interface{}) gomega.OmegaMatcher
func ContainSubstrings ¶
func ContainSubstrings(substrings ...[]string) gomega.OmegaMatcher
func HaveAllRequestsCalled ¶
func HaveAllRequestsCalled() gomega.OmegaMatcher
func HaveCommandInCategoryWithDescription ¶
func HaveCommandInCategoryWithDescription(command, category, description string) types.GomegaMatcher
func HavePassedRequirements ¶
func HavePassedRequirements() gomega.OmegaMatcher
func HaveSucceeded ¶
func HaveSucceeded() gomega.OmegaMatcher
func HaveTypeOf ¶
func HaveTypeOf(expected interface{}) gomega.OmegaMatcher
func MatchFuncsByName ¶
func MatchFuncsByName(funcs ...interface{}) gomega.OmegaMatcher
func MatchPath ¶
func MatchPath(expectedPath string) gomega.OmegaMatcher
Types ¶
type CommandInCategoryMatcher ¶
type CommandInCategoryMatcher struct {
// contains filtered or unexported fields
}
func (*CommandInCategoryMatcher) FailureMessage ¶
func (matcher *CommandInCategoryMatcher) FailureMessage(actual interface{}) string
func (*CommandInCategoryMatcher) Match ¶
func (matcher *CommandInCategoryMatcher) Match(actual interface{}) (success bool, err error)
func (*CommandInCategoryMatcher) NegatedFailureMessage ¶
func (matcher *CommandInCategoryMatcher) NegatedFailureMessage(actual interface{}) string
type ContainElementTimesMatcher ¶
func (*ContainElementTimesMatcher) FailureMessage ¶
func (matcher *ContainElementTimesMatcher) FailureMessage(actual interface{}) (message string)
func (*ContainElementTimesMatcher) Match ¶
func (matcher *ContainElementTimesMatcher) Match(actual interface{}) (success bool, err error)
func (*ContainElementTimesMatcher) NegatedFailureMessage ¶
func (matcher *ContainElementTimesMatcher) NegatedFailureMessage(actual interface{}) (message string)
type ContainElementsInOrderMatcher ¶
type ContainElementsInOrderMatcher struct {
Elements interface{}
}
func (*ContainElementsInOrderMatcher) FailureMessage ¶
func (matcher *ContainElementsInOrderMatcher) FailureMessage(actual interface{}) (message string)
func (*ContainElementsInOrderMatcher) Match ¶
func (matcher *ContainElementsInOrderMatcher) Match(actual interface{}) (success bool, err error)
func (*ContainElementsInOrderMatcher) NegatedFailureMessage ¶
func (matcher *ContainElementsInOrderMatcher) NegatedFailureMessage(actual interface{}) (message string)
type FuncsByNameMatcher ¶
type FuncsByNameMatcher struct {
// contains filtered or unexported fields
}
func (*FuncsByNameMatcher) FailureMessage ¶
func (matcher *FuncsByNameMatcher) FailureMessage(actual interface{}) string
func (*FuncsByNameMatcher) Match ¶
func (matcher *FuncsByNameMatcher) Match(actual interface{}) (success bool, err error)
func (*FuncsByNameMatcher) NegatedFailureMessage ¶
func (matcher *FuncsByNameMatcher) NegatedFailureMessage(actual interface{}) string
type HaveTypeOfMatcher ¶
type HaveTypeOfMatcher struct {
// contains filtered or unexported fields
}
func (*HaveTypeOfMatcher) FailureMessage ¶
func (matcher *HaveTypeOfMatcher) FailureMessage(actual interface{}) string
func (*HaveTypeOfMatcher) Match ¶
func (matcher *HaveTypeOfMatcher) Match(actual interface{}) (success bool, err error)
func (*HaveTypeOfMatcher) NegatedFailureMessage ¶
func (matcher *HaveTypeOfMatcher) NegatedFailureMessage(actual interface{}) string
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 PathMatcher ¶
type PathMatcher struct {
// contains filtered or unexported fields
}
func (*PathMatcher) FailureMessage ¶
func (matcher *PathMatcher) FailureMessage(actual interface{}) string
func (*PathMatcher) Match ¶
func (matcher *PathMatcher) Match(actual interface{}) (success bool, err error)
func (*PathMatcher) NegatedFailureMessage ¶
func (matcher *PathMatcher) 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
Click to show internal directories.
Click to hide internal directories.