Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtEveryMatcher ¶
type AtEveryMatcher struct { Matcher types.GomegaMatcher // contains filtered or unexported fields }
func (*AtEveryMatcher) FailureMessage ¶
func (m *AtEveryMatcher) FailureMessage(actual interface{}) (message string)
func (*AtEveryMatcher) Match ¶
func (m *AtEveryMatcher) Match(actual interface{}) (success bool, err error)
func (*AtEveryMatcher) NegatedFailureMessage ¶
func (m *AtEveryMatcher) NegatedFailureMessage(actual interface{}) (message string)
type AtIndexMatcher ¶
type AtIndexMatcher struct { Index int Matcher types.GomegaMatcher // contains filtered or unexported fields }
func (*AtIndexMatcher) FailureMessage ¶
func (m *AtIndexMatcher) FailureMessage(actual interface{}) (message string)
func (*AtIndexMatcher) Match ¶
func (m *AtIndexMatcher) Match(actual interface{}) (success bool, err error)
func (*AtIndexMatcher) NegatedFailureMessage ¶
func (m *AtIndexMatcher) NegatedFailureMessage(actual interface{}) (message string)
type AtKeyMatcher ¶
type AtKeyMatcher struct { Key interface{} Matcher types.GomegaMatcher // contains filtered or unexported fields }
func (*AtKeyMatcher) FailureMessage ¶
func (m *AtKeyMatcher) FailureMessage(actual interface{}) (message string)
func (*AtKeyMatcher) Match ¶
func (m *AtKeyMatcher) Match(actual interface{}) (success bool, err error)
func (*AtKeyMatcher) NegatedFailureMessage ¶
func (m *AtKeyMatcher) NegatedFailureMessage(actual interface{}) (message string)
type HaveHeaderMatcher ¶
type HaveHeaderMatcher struct { Key string Inner types.GomegaMatcher // contains filtered or unexported fields }
func (*HaveHeaderMatcher) FailureMessage ¶
func (matcher *HaveHeaderMatcher) FailureMessage(actual interface{}) (message string)
func (*HaveHeaderMatcher) Match ¶
func (matcher *HaveHeaderMatcher) Match(actual interface{}) (bool, error)
func (*HaveHeaderMatcher) NegatedFailureMessage ¶
func (matcher *HaveHeaderMatcher) NegatedFailureMessage(actual interface{}) (message string)
type HaveJsonBodyMatcher ¶
type HaveJsonBodyMatcher struct { Inner types.GomegaMatcher // contains filtered or unexported fields }
func (*HaveJsonBodyMatcher) FailureMessage ¶
func (matcher *HaveJsonBodyMatcher) FailureMessage(actual interface{}) (message string)
func (*HaveJsonBodyMatcher) Match ¶
func (matcher *HaveJsonBodyMatcher) Match(actual interface{}) (bool, error)
func (*HaveJsonBodyMatcher) NegatedFailureMessage ¶
func (matcher *HaveJsonBodyMatcher) NegatedFailureMessage(actual interface{}) (message string)
type HaveResponseCodeMatcher ¶
type HaveResponseCodeMatcher struct { CodeOrMatcher interface{} // contains filtered or unexported fields }
func (*HaveResponseCodeMatcher) FailureMessage ¶
func (matcher *HaveResponseCodeMatcher) FailureMessage(actual interface{}) (message string)
func (*HaveResponseCodeMatcher) Match ¶
func (matcher *HaveResponseCodeMatcher) Match(actual interface{}) (bool, error)
func (*HaveResponseCodeMatcher) NegatedFailureMessage ¶
func (matcher *HaveResponseCodeMatcher) NegatedFailureMessage(actual interface{}) (message string)
type MatchCapMatcher ¶ added in v1.2.0
type MatchCapMatcher struct {
Matcher types.GomegaMatcher
}
func (*MatchCapMatcher) FailureMessage ¶ added in v1.2.0
func (matcher *MatchCapMatcher) FailureMessage(actual interface{}) (message string)
func (*MatchCapMatcher) Match ¶ added in v1.2.0
func (matcher *MatchCapMatcher) Match(actual interface{}) (bool, error)
func (*MatchCapMatcher) NegatedFailureMessage ¶ added in v1.2.0
func (matcher *MatchCapMatcher) NegatedFailureMessage(actual interface{}) (message string)
type MatchFieldMatcher ¶
type MatchFieldMatcher struct { Name string Matcher types.GomegaMatcher }
func (*MatchFieldMatcher) FailureMessage ¶
func (m *MatchFieldMatcher) FailureMessage(actual interface{}) (message string)
func (*MatchFieldMatcher) Match ¶
func (m *MatchFieldMatcher) Match(actual interface{}) (success bool, err error)
func (*MatchFieldMatcher) NegatedFailureMessage ¶
func (m *MatchFieldMatcher) NegatedFailureMessage(actual interface{}) (message string)
type MatchLenMatcher ¶
type MatchLenMatcher struct {
Matcher types.GomegaMatcher
}
func (*MatchLenMatcher) FailureMessage ¶
func (matcher *MatchLenMatcher) FailureMessage(actual interface{}) (message string)
func (*MatchLenMatcher) Match ¶
func (matcher *MatchLenMatcher) Match(actual interface{}) (bool, error)
func (*MatchLenMatcher) NegatedFailureMessage ¶
func (matcher *MatchLenMatcher) NegatedFailureMessage(actual interface{}) (message string)
type MatchPtrFieldMatcher ¶
type MatchPtrFieldMatcher struct { Name string Matcher types.GomegaMatcher }
func (*MatchPtrFieldMatcher) FailureMessage ¶
func (m *MatchPtrFieldMatcher) FailureMessage(actual interface{}) (message string)
func (*MatchPtrFieldMatcher) Match ¶
func (m *MatchPtrFieldMatcher) Match(actual interface{}) (success bool, err error)
func (*MatchPtrFieldMatcher) NegatedFailureMessage ¶
func (m *MatchPtrFieldMatcher) NegatedFailureMessage(actual interface{}) (message string)
type NotErrorMatcher ¶
type NotErrorMatcher struct { }
func (*NotErrorMatcher) FailureMessage ¶
func (m *NotErrorMatcher) FailureMessage(actual interface{}) (message string)
func (*NotErrorMatcher) Match ¶
func (m *NotErrorMatcher) Match(actual interface{}) (success bool, err error)
func (*NotErrorMatcher) NegatedFailureMessage ¶
func (m *NotErrorMatcher) NegatedFailureMessage(actual interface{}) (message string)
Click to show internal directories.
Click to hide internal directories.