MCPcopy Index your code
hub / github.com/riverqueue/river / MockT

Struct MockT

rivershared/util/testutil/test_util.go:62–66  ·  view source on GitHub ↗

MockT mocks TestingTB. It's used to let us verify our test helpers.

Source from the content-addressed store, hash-verified

60
61// MockT mocks TestingTB. It's used to let us verify our test helpers.
62type MockT struct {
63 Failed bool
64 logOutput bytes.Buffer
65 tb TestingTB
66}
67
68// NewMockT initializes a new MockT. It takes another TestingTB which is usually
69// something like a *testing.T and where logs are emitted to along with being

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected