otel: go.opentelemetry.io/otel/internal/matchers Index | Files

package matchers

import "go.opentelemetry.io/otel/internal/matchers"

Index

Package Files

expectation.go expecter.go package.go temporal_matcher.go

type Expectation Uses

type Expectation struct {
    // contains filtered or unexported fields
}

func (*Expectation) NotToBeNil Uses

func (e *Expectation) NotToBeNil()

func (*Expectation) NotToContain Uses

func (e *Expectation) NotToContain(expected interface{})

func (*Expectation) NotToEqual Uses

func (e *Expectation) NotToEqual(expected interface{})

func (*Expectation) ToBeFalse Uses

func (e *Expectation) ToBeFalse()

func (*Expectation) ToBeNil Uses

func (e *Expectation) ToBeNil()

func (*Expectation) ToBeTemporally Uses

func (e *Expectation) ToBeTemporally(matcher TemporalMatcher, compareTo interface{})

func (*Expectation) ToBeTrue Uses

func (e *Expectation) ToBeTrue()

func (*Expectation) ToContain Uses

func (e *Expectation) ToContain(expected interface{})

func (*Expectation) ToEqual Uses

func (e *Expectation) ToEqual(expected interface{})

func (*Expectation) ToMatchError Uses

func (e *Expectation) ToMatchError(expected interface{})

func (*Expectation) ToMatchInAnyOrder Uses

func (e *Expectation) ToMatchInAnyOrder(expected interface{})

func (*Expectation) ToSucceed Uses

func (e *Expectation) ToSucceed()

type Expecter Uses

type Expecter struct {
    // contains filtered or unexported fields
}

func NewExpecter Uses

func NewExpecter(t *testing.T) *Expecter

func (*Expecter) Expect Uses

func (a *Expecter) Expect(actual interface{}) *Expectation

type TemporalMatcher Uses

type TemporalMatcher byte
const (
    Before TemporalMatcher = iota
    BeforeOrSameTime
    After
    AfterOrSameTime
)

Package matchers imports 7 packages (graph) and is imported by 1 packages. Updated 2020-01-16. Refresh now. Tools for package owners.