mock

package
v4.7.2-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2018 License: AGPL-3.0, Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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