package asyncassertion
import "github.com/onsi/gomega/internal/asyncassertion"
Index ¶
- type AsyncAssertion
- func New(asyncType AsyncAssertionType, actualInput interface{}, failWrapper *types.GomegaFailWrapper, timeoutInterval time.Duration, pollingInterval time.Duration, offset int) *AsyncAssertion
- func (assertion *AsyncAssertion) Should(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
- func (assertion *AsyncAssertion) ShouldNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
- type AsyncAssertionType
Types ¶
type AsyncAssertion ¶
type AsyncAssertion struct {
// contains filtered or unexported fields
}
func New ¶
func New(asyncType AsyncAssertionType, actualInput interface{}, failWrapper *types.GomegaFailWrapper, 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 )
Source Files ¶
- Version
- v1.8.0
- Published
- Dec 18, 2019
- Platform
- windows/amd64
- Imports
- 6 packages
- Last checked
- 5 days ago –
Tools for package owners.