MCPcopy
hub / github.com/uber-go/mock / TestReporter

Interface TestReporter

gomock/controller.go:27–30  ·  view source on GitHub ↗

A TestReporter is something that can be used to report test failures. It is satisfied by the standard library's *testing.T.

Source from the content-addressed store, hash-verified

25// A TestReporter is something that can be used to report test failures. It
26// is satisfied by the standard library's *testing.T.
27type TestReporter interface {
28 Errorf(format string, args ...any)
29 Fatalf(format string, args ...any)
30}
31
32// TestHelper is a TestReporter that has the Helper method. It is satisfied
33// by the standard library's *testing.T.

Callers 16

RunMethod · 0.65
extractFunction · 0.65
TestRememberFunction · 0.65
TestVariadicFunctionFunction · 0.65
TestGrabPointerFunction · 0.65
waitForMocksFunction · 0.65
ErrorfMethod · 0.65
ErrorfMethod · 0.65
TestRememberFunction · 0.65
RememberFunction · 0.65
TestEcho_NoOverrideFunction · 0.65

Implementers 4

cancelReportergomock/controller.go
nopTestHelpergomock/controller.go
mockTestReportergomock/call_test.go
ErrorReportergomock/controller_test.go

Calls

no outgoing calls

Tested by

no test coverage detected