types

package
Version: v1.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2018 License: MIT Imports: 0 Imported by: 1,244

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GomegaFailHandler

type GomegaFailHandler func(message string, callerSkip ...int)

type GomegaFailWrapper added in v1.4.2

type GomegaFailWrapper struct {
	Fail        GomegaFailHandler
	TWithHelper TWithHelper
}

type GomegaMatcher

type GomegaMatcher interface {
	Match(actual interface{}) (success bool, err error)
	FailureMessage(actual interface{}) (message string)
	NegatedFailureMessage(actual interface{}) (message string)
}

All Gomega matchers must implement the GomegaMatcher interface

For details on writing custom matchers, check out: http://onsi.github.io/gomega/#adding-your-own-matchers

type GomegaTestingT

type GomegaTestingT interface {
	Fatalf(format string, args ...interface{})
}

A simple *testing.T interface wrapper

type TWithHelper added in v1.4.2

type TWithHelper interface {
	Helper()
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL