package assertion
import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/onsi/gomega/internal/assertion"
Index ¶
- type Assertion
- func New(actualInput interface{}, fail types.GomegaFailHandler, offset int, extra ...interface{}) *Assertion
- func (assertion *Assertion) NotTo(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
- func (assertion *Assertion) Should(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
- func (assertion *Assertion) ShouldNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
- func (assertion *Assertion) To(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
- func (assertion *Assertion) ToNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
Types ¶
type Assertion ¶
type Assertion struct {
// contains filtered or unexported fields
}
func New ¶
func New(actualInput interface{}, fail types.GomegaFailHandler, offset int, extra ...interface{}) *Assertion
func (*Assertion) NotTo ¶
func (assertion *Assertion) NotTo(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
func (*Assertion) Should ¶
func (assertion *Assertion) Should(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
func (*Assertion) ShouldNot ¶
func (assertion *Assertion) ShouldNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
func (*Assertion) To ¶
func (assertion *Assertion) To(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
func (*Assertion) ToNot ¶
func (assertion *Assertion) ToNot(matcher types.GomegaMatcher, optionalDescription ...interface{}) bool
Source Files ¶
assertion.go
- Version
- v0.14.0
- Published
- Mar 30, 2015
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 6 minutes ago –
Tools for package owners.