Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualImage ¶
func EqualImage(expected interface{}) types.GomegaMatcher
EqualImage matches an image with an actual image
Types ¶
type EqualImageMatcher ¶
type EqualImageMatcher struct {
Expected interface{}
}
EqualImageMatcher matches one image against another
func (*EqualImageMatcher) FailureMessage ¶
func (matcher *EqualImageMatcher) FailureMessage(actual interface{}) (message string)
FailureMessage if images won't match
func (*EqualImageMatcher) Match ¶
func (matcher *EqualImageMatcher) Match(actual interface{}) (success bool, err error)
Match matches Expected with actual types must be image.Image otherwise it fails
func (*EqualImageMatcher) NegatedFailureMessage ¶
func (matcher *EqualImageMatcher) NegatedFailureMessage(actual interface{}) (message string)
NegatedFailureMessage if images match if they shouldn't
Click to show internal directories.
Click to hide internal directories.