Documentation ¶
Overview ¶
Package mock_ensuring is a generated GoMock package.
Index ¶
- type MockT
- func (m *MockT) Cleanup(_arg0 func())
- func (m *MockT) EXPECT() *MockTMockRecorder
- func (m *MockT) Errorf(_format string, _args ...interface{})
- func (m *MockT) Fatalf(_format string, _args ...interface{})
- func (m *MockT) Helper()
- func (m *MockT) Logf(_format string, _args ...interface{})
- func (*MockT) NEW(ctrl *gomock.Controller) *MockT
- func (m *MockT) Run(_name string, _f func(t *testing.T)) bool
- type MockTMockRecorder
- func (mr *MockTMockRecorder) Cleanup(_arg0 interface{}) *gomock.Call
- func (mr *MockTMockRecorder) Errorf(_format interface{}, _args ...interface{}) *gomock.Call
- func (mr *MockTMockRecorder) Fatalf(_format interface{}, _args ...interface{}) *gomock.Call
- func (mr *MockTMockRecorder) Helper() *gomock.Call
- func (mr *MockTMockRecorder) Logf(_format interface{}, _args ...interface{}) *gomock.Call
- func (mr *MockTMockRecorder) Run(_name interface{}, _f interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockT ¶
type MockT struct {
// contains filtered or unexported fields
}
MockT is a mock of the T interface in github.com/JosiahWitt/ensure/ensuring.
func (*MockT) EXPECT ¶
func (m *MockT) EXPECT() *MockTMockRecorder
EXPECT returns a struct that allows setting up expectations.
type MockTMockRecorder ¶
type MockTMockRecorder struct {
// contains filtered or unexported fields
}
MockTMockRecorder is the mock recorder for MockT.
func (*MockTMockRecorder) Cleanup ¶
func (mr *MockTMockRecorder) Cleanup(_arg0 interface{}) *gomock.Call
Cleanup sets up expectations for calls to Cleanup. Calling this method multiple times allows expecting multiple calls to Cleanup with a variety of parameters.
Inputs:
func()
Outputs:
none
func (*MockTMockRecorder) Errorf ¶
func (mr *MockTMockRecorder) Errorf(_format interface{}, _args ...interface{}) *gomock.Call
Errorf sets up expectations for calls to Errorf. Calling this method multiple times allows expecting multiple calls to Errorf with a variety of parameters.
Inputs:
format string args ...interface{}
Outputs:
none
func (*MockTMockRecorder) Fatalf ¶
func (mr *MockTMockRecorder) Fatalf(_format interface{}, _args ...interface{}) *gomock.Call
Fatalf sets up expectations for calls to Fatalf. Calling this method multiple times allows expecting multiple calls to Fatalf with a variety of parameters.
Inputs:
format string args ...interface{}
Outputs:
none
func (*MockTMockRecorder) Helper ¶
func (mr *MockTMockRecorder) Helper() *gomock.Call
Helper sets up expectations for calls to Helper. Calling this method multiple times allows expecting multiple calls to Helper with a variety of parameters.
Inputs:
none
Outputs:
none
func (*MockTMockRecorder) Logf ¶
func (mr *MockTMockRecorder) Logf(_format interface{}, _args ...interface{}) *gomock.Call
Logf sets up expectations for calls to Logf. Calling this method multiple times allows expecting multiple calls to Logf with a variety of parameters.
Inputs:
format string args ...interface{}
Outputs:
none
func (*MockTMockRecorder) Run ¶
func (mr *MockTMockRecorder) Run(_name interface{}, _f interface{}) *gomock.Call
Run sets up expectations for calls to Run. Calling this method multiple times allows expecting multiple calls to Run with a variety of parameters.
Inputs:
name string f func(t *testing.T)
Outputs:
bool