mock

package
v5.20.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: AGPL-3.0, Apache-2.0 Imports: 1 Imported by: 3

Documentation

Overview

This package provides aliases for the contents of "github.com/stretchr/testify/mock". Because external packages can't import our vendored dependencies, this is necessary for them to be able to fully utilize the plugintest package.

Index

Constants

View Source
const (
	Anything = mock.Anything
)

Variables

This section is empty.

Functions

func AssertExpectationsForObjects

func AssertExpectationsForObjects(t TestingT, testObjects ...interface{}) bool

func MatchedBy

func MatchedBy(fn interface{}) interface{}

Types

type AnythingOfTypeArgument

type AnythingOfTypeArgument = mock.AnythingOfTypeArgument

func AnythingOfType

func AnythingOfType(t string) AnythingOfTypeArgument

type Arguments

type Arguments = mock.Arguments

type Call

type Call = mock.Call

type Mock

type Mock = mock.Mock

type TestingT

type TestingT = mock.TestingT

Jump to

Keyboard shortcuts

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