Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchMayChangeInTheFuture ¶
func MatchMayChangeInTheFuture(matcher types.GomegaMatcher, value interface{}) bool
MatchMayChangeInTheFuture is a helper to call MatchMayChangeInTheFuture on an unknown matcher. If matcher implements oracleMatcher, it will call the method. Otherwise just returns true.
Types ¶
type AsyncAssertion ¶
type AsyncAssertion struct {
// contains filtered or unexported fields
}
func New ¶
func New(asyncType AsyncAssertionType, actualInput interface{}, fail types.GomegaFailHandler, timeoutInterval time.Duration, pollingInterval time.Duration, offset int) *AsyncAssertion
func (*AsyncAssertion) Should ¶
func (assertion *AsyncAssertion) Should(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
func (*AsyncAssertion) ShouldNot ¶
func (assertion *AsyncAssertion) ShouldNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
type AsyncAssertionType ¶
type AsyncAssertionType uint
const ( AsyncAssertionTypeEventually AsyncAssertionType = iota AsyncAssertionTypeConsistently )
Click to show internal directories.
Click to hide internal directories.