Documentation ¶
Index ¶
- type Arbiter
- func (a *Arbiter) ErrorHappened(err error)
- func (a *Arbiter) Errors() []error
- func (a *Arbiter) EvCount() map[string]int
- func (a *Arbiter) ItsAFactThat(event string)
- func (a *Arbiter) RequireError(errMsg string)
- func (a *Arbiter) RequireErrorIs(err error)
- func (a *Arbiter) RequireHappened(event string) *Arbiter
- func (a *Arbiter) RequireHappenedInOrder(events ...string) *Arbiter
- func (a *Arbiter) RequireHappenedTimes(event string, expectedCount int) *Arbiter
- func (a *Arbiter) RequireNoErrors()
- func (a *Arbiter) RequireNoEvents()
- func (a *Arbiter) RequireNotHappened(event string) *Arbiter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arbiter ¶
type Arbiter struct {
// contains filtered or unexported fields
}
func NewArbiter ¶
func (*Arbiter) ErrorHappened ¶
func (*Arbiter) ItsAFactThat ¶
func (*Arbiter) RequireError ¶
func (*Arbiter) RequireErrorIs ¶
func (*Arbiter) RequireHappened ¶
func (*Arbiter) RequireHappenedInOrder ¶
func (*Arbiter) RequireHappenedTimes ¶
func (*Arbiter) RequireNoErrors ¶
func (a *Arbiter) RequireNoErrors()
func (*Arbiter) RequireNoEvents ¶
func (a *Arbiter) RequireNoEvents()
func (*Arbiter) RequireNotHappened ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.