Documentation ¶
Index ¶
- func CompareFS(t TestingT, expected fs.FS, actual fs.FS)
- func FSContents(t TestingT, fsys fs.FS) map[string]FSItem
- type FSItem
- type MockTestingT
- func (_m *MockTestingT) EXPECT() *MockTestingT_Expecter
- func (_m *MockTestingT) Errorf(format string, args ...interface{})
- func (_m *MockTestingT) Fail()
- func (_m *MockTestingT) FailNow()
- func (_m *MockTestingT) Helper()
- func (_m *MockTestingT) Log(args ...interface{})
- func (_m *MockTestingT) Logf(format string, args ...interface{})
- type MockTestingT_Errorf_Call
- type MockTestingT_Expecter
- func (_e *MockTestingT_Expecter) Errorf(format interface{}, args ...interface{}) *MockTestingT_Errorf_Call
- func (_e *MockTestingT_Expecter) Fail() *MockTestingT_Fail_Call
- func (_e *MockTestingT_Expecter) FailNow() *MockTestingT_FailNow_Call
- func (_e *MockTestingT_Expecter) Helper() *MockTestingT_Helper_Call
- func (_e *MockTestingT_Expecter) Log(args ...interface{}) *MockTestingT_Log_Call
- func (_e *MockTestingT_Expecter) Logf(format interface{}, args ...interface{}) *MockTestingT_Logf_Call
- type MockTestingT_FailNow_Call
- type MockTestingT_Fail_Call
- type MockTestingT_Helper_Call
- type MockTestingT_Log_Call
- type MockTestingT_Logf_Call
- type TestingT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FSItem ¶
func (*FSItem) TypeString ¶
type MockTestingT ¶
MockTestingT is an autogenerated mock type for the TestingT type
func NewMockTestingT ¶
func NewMockTestingT(t interface { mock.TestingT Cleanup(func()) }) *MockTestingT
NewMockTestingT creates a new instance of MockTestingT. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockTestingT) EXPECT ¶
func (_m *MockTestingT) EXPECT() *MockTestingT_Expecter
func (*MockTestingT) Errorf ¶
func (_m *MockTestingT) Errorf(format string, args ...interface{})
Errorf provides a mock function with given fields: format, args
func (*MockTestingT) Fail ¶
func (_m *MockTestingT) Fail()
Fail provides a mock function with given fields:
func (*MockTestingT) FailNow ¶
func (_m *MockTestingT) FailNow()
FailNow provides a mock function with given fields:
func (*MockTestingT) Helper ¶
func (_m *MockTestingT) Helper()
Helper provides a mock function with given fields:
func (*MockTestingT) Log ¶
func (_m *MockTestingT) Log(args ...interface{})
Log provides a mock function with given fields: args
func (*MockTestingT) Logf ¶
func (_m *MockTestingT) Logf(format string, args ...interface{})
Logf provides a mock function with given fields: format, args
type MockTestingT_Errorf_Call ¶
MockTestingT_Errorf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Errorf'
func (*MockTestingT_Errorf_Call) Return ¶
func (_c *MockTestingT_Errorf_Call) Return() *MockTestingT_Errorf_Call
func (*MockTestingT_Errorf_Call) Run ¶
func (_c *MockTestingT_Errorf_Call) Run(run func(format string, args ...interface{})) *MockTestingT_Errorf_Call
func (*MockTestingT_Errorf_Call) RunAndReturn ¶
func (_c *MockTestingT_Errorf_Call) RunAndReturn(run func(string, ...interface{})) *MockTestingT_Errorf_Call
type MockTestingT_Expecter ¶
type MockTestingT_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTestingT_Expecter) Errorf ¶
func (_e *MockTestingT_Expecter) Errorf(format interface{}, args ...interface{}) *MockTestingT_Errorf_Call
Errorf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*MockTestingT_Expecter) Fail ¶
func (_e *MockTestingT_Expecter) Fail() *MockTestingT_Fail_Call
Fail is a helper method to define mock.On call
func (*MockTestingT_Expecter) FailNow ¶
func (_e *MockTestingT_Expecter) FailNow() *MockTestingT_FailNow_Call
FailNow is a helper method to define mock.On call
func (*MockTestingT_Expecter) Helper ¶
func (_e *MockTestingT_Expecter) Helper() *MockTestingT_Helper_Call
Helper is a helper method to define mock.On call
func (*MockTestingT_Expecter) Log ¶
func (_e *MockTestingT_Expecter) Log(args ...interface{}) *MockTestingT_Log_Call
Log is a helper method to define mock.On call
- args ...interface{}
func (*MockTestingT_Expecter) Logf ¶
func (_e *MockTestingT_Expecter) Logf(format interface{}, args ...interface{}) *MockTestingT_Logf_Call
Logf is a helper method to define mock.On call
- format string
- args ...interface{}
type MockTestingT_FailNow_Call ¶
MockTestingT_FailNow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FailNow'
func (*MockTestingT_FailNow_Call) Return ¶
func (_c *MockTestingT_FailNow_Call) Return() *MockTestingT_FailNow_Call
func (*MockTestingT_FailNow_Call) Run ¶
func (_c *MockTestingT_FailNow_Call) Run(run func()) *MockTestingT_FailNow_Call
func (*MockTestingT_FailNow_Call) RunAndReturn ¶
func (_c *MockTestingT_FailNow_Call) RunAndReturn(run func()) *MockTestingT_FailNow_Call
type MockTestingT_Fail_Call ¶
MockTestingT_Fail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fail'
func (*MockTestingT_Fail_Call) Return ¶
func (_c *MockTestingT_Fail_Call) Return() *MockTestingT_Fail_Call
func (*MockTestingT_Fail_Call) Run ¶
func (_c *MockTestingT_Fail_Call) Run(run func()) *MockTestingT_Fail_Call
func (*MockTestingT_Fail_Call) RunAndReturn ¶
func (_c *MockTestingT_Fail_Call) RunAndReturn(run func()) *MockTestingT_Fail_Call
type MockTestingT_Helper_Call ¶
MockTestingT_Helper_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Helper'
func (*MockTestingT_Helper_Call) Return ¶
func (_c *MockTestingT_Helper_Call) Return() *MockTestingT_Helper_Call
func (*MockTestingT_Helper_Call) Run ¶
func (_c *MockTestingT_Helper_Call) Run(run func()) *MockTestingT_Helper_Call
func (*MockTestingT_Helper_Call) RunAndReturn ¶
func (_c *MockTestingT_Helper_Call) RunAndReturn(run func()) *MockTestingT_Helper_Call
type MockTestingT_Log_Call ¶
MockTestingT_Log_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Log'
func (*MockTestingT_Log_Call) Return ¶
func (_c *MockTestingT_Log_Call) Return() *MockTestingT_Log_Call
func (*MockTestingT_Log_Call) Run ¶
func (_c *MockTestingT_Log_Call) Run(run func(args ...interface{})) *MockTestingT_Log_Call
func (*MockTestingT_Log_Call) RunAndReturn ¶
func (_c *MockTestingT_Log_Call) RunAndReturn(run func(...interface{})) *MockTestingT_Log_Call
type MockTestingT_Logf_Call ¶
MockTestingT_Logf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Logf'
func (*MockTestingT_Logf_Call) Return ¶
func (_c *MockTestingT_Logf_Call) Return() *MockTestingT_Logf_Call
func (*MockTestingT_Logf_Call) Run ¶
func (_c *MockTestingT_Logf_Call) Run(run func(format string, args ...interface{})) *MockTestingT_Logf_Call
func (*MockTestingT_Logf_Call) RunAndReturn ¶
func (_c *MockTestingT_Logf_Call) RunAndReturn(run func(string, ...interface{})) *MockTestingT_Logf_Call