Documentation ¶
Index ¶
- func ContainsFlow(expected []string) types.GomegaMatcher
- func ContainsRelativeFlow(expected map[string][]string) types.GomegaMatcher
- func MatchTruthTable(expected *model.TruthTable, ignoreLoopback bool) types.GomegaMatcher
- type FlowMatcher
- func (matcher *FlowMatcher) ContainsFlow(actualFlows []string) (success bool, err error)
- func (matcher *FlowMatcher) FailureMessage(actual interface{}) (message string)
- func (matcher *FlowMatcher) Match(actual interface{}) (success bool, err error)
- func (matcher *FlowMatcher) NegatedFailureMessage(actual interface{}) (message string)
- type RelativeFlowMatcher
- type TruthTableMatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsFlow ¶
func ContainsFlow(expected []string) types.GomegaMatcher
ContainsFlow succeeds only if actual contains all of expected flow. Actual must be type of map[string][]string or []string.
func ContainsRelativeFlow ¶
func ContainsRelativeFlow(expected map[string][]string) types.GomegaMatcher
ContainsFlow succeeds only if actual contains expected flow. Actual must be type of map[string][]string or []string.
func MatchTruthTable ¶
func MatchTruthTable(expected *model.TruthTable, ignoreLoopback bool) types.GomegaMatcher
Types ¶
type FlowMatcher ¶
type FlowMatcher struct {
Expected []string
}
func (*FlowMatcher) ContainsFlow ¶
func (matcher *FlowMatcher) ContainsFlow(actualFlows []string) (success bool, err error)
func (*FlowMatcher) FailureMessage ¶
func (matcher *FlowMatcher) FailureMessage(actual interface{}) (message string)
func (*FlowMatcher) Match ¶
func (matcher *FlowMatcher) Match(actual interface{}) (success bool, err error)
func (*FlowMatcher) NegatedFailureMessage ¶
func (matcher *FlowMatcher) NegatedFailureMessage(actual interface{}) (message string)
type RelativeFlowMatcher ¶
func (*RelativeFlowMatcher) FailureMessage ¶
func (matcher *RelativeFlowMatcher) FailureMessage(actual interface{}) (message string)
func (*RelativeFlowMatcher) Match ¶
func (matcher *RelativeFlowMatcher) Match(actual interface{}) (success bool, err error)
func (*RelativeFlowMatcher) NegatedFailureMessage ¶
func (matcher *RelativeFlowMatcher) NegatedFailureMessage(actual interface{}) (message string)
type TruthTableMatcher ¶
type TruthTableMatcher struct { Expected *model.TruthTable IgnoreLoopback bool }
func (*TruthTableMatcher) FailureMessage ¶
func (matcher *TruthTableMatcher) FailureMessage(actual interface{}) (message string)
func (*TruthTableMatcher) Match ¶
func (matcher *TruthTableMatcher) Match(actual interface{}) (success bool, err error)
func (*TruthTableMatcher) NegatedFailureMessage ¶
func (matcher *TruthTableMatcher) NegatedFailureMessage(actual interface{}) (message string)
Click to show internal directories.
Click to hide internal directories.