Documentation
¶
Index ¶
- type AppTracker
- type MockAppTracker
- type MockAppTracker_CaptureException_Call
- func (_c *MockAppTracker_CaptureException_Call) Return() *MockAppTracker_CaptureException_Call
- func (_c *MockAppTracker_CaptureException_Call) Run(run func(exception error)) *MockAppTracker_CaptureException_Call
- func (_c *MockAppTracker_CaptureException_Call) RunAndReturn(run func(exception error)) *MockAppTracker_CaptureException_Call
- type MockAppTracker_CaptureMessage_Call
- func (_c *MockAppTracker_CaptureMessage_Call) Return() *MockAppTracker_CaptureMessage_Call
- func (_c *MockAppTracker_CaptureMessage_Call) Run(run func(message string)) *MockAppTracker_CaptureMessage_Call
- func (_c *MockAppTracker_CaptureMessage_Call) RunAndReturn(run func(message string)) *MockAppTracker_CaptureMessage_Call
- type MockAppTracker_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppTracker ¶
type MockAppTracker ¶
MockAppTracker is an autogenerated mock type for the AppTracker type
func NewMockAppTracker ¶
func NewMockAppTracker(t interface {
mock.TestingT
Cleanup(func())
}) *MockAppTracker
NewMockAppTracker creates a new instance of MockAppTracker. 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 (*MockAppTracker) CaptureException ¶
func (_mock *MockAppTracker) CaptureException(exception error)
CaptureException provides a mock function for the type MockAppTracker
func (*MockAppTracker) CaptureMessage ¶
func (_mock *MockAppTracker) CaptureMessage(message string)
CaptureMessage provides a mock function for the type MockAppTracker
func (*MockAppTracker) EXPECT ¶
func (_m *MockAppTracker) EXPECT() *MockAppTracker_Expecter
type MockAppTracker_CaptureException_Call ¶
MockAppTracker_CaptureException_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CaptureException'
func (*MockAppTracker_CaptureException_Call) Return ¶
func (_c *MockAppTracker_CaptureException_Call) Return() *MockAppTracker_CaptureException_Call
func (*MockAppTracker_CaptureException_Call) Run ¶
func (_c *MockAppTracker_CaptureException_Call) Run(run func(exception error)) *MockAppTracker_CaptureException_Call
func (*MockAppTracker_CaptureException_Call) RunAndReturn ¶
func (_c *MockAppTracker_CaptureException_Call) RunAndReturn(run func(exception error)) *MockAppTracker_CaptureException_Call
type MockAppTracker_CaptureMessage_Call ¶
MockAppTracker_CaptureMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CaptureMessage'
func (*MockAppTracker_CaptureMessage_Call) Return ¶
func (_c *MockAppTracker_CaptureMessage_Call) Return() *MockAppTracker_CaptureMessage_Call
func (*MockAppTracker_CaptureMessage_Call) Run ¶
func (_c *MockAppTracker_CaptureMessage_Call) Run(run func(message string)) *MockAppTracker_CaptureMessage_Call
func (*MockAppTracker_CaptureMessage_Call) RunAndReturn ¶
func (_c *MockAppTracker_CaptureMessage_Call) RunAndReturn(run func(message string)) *MockAppTracker_CaptureMessage_Call
type MockAppTracker_Expecter ¶
type MockAppTracker_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAppTracker_Expecter) CaptureException ¶
func (_e *MockAppTracker_Expecter) CaptureException(exception interface{}) *MockAppTracker_CaptureException_Call
CaptureException is a helper method to define mock.On call
- exception
func (*MockAppTracker_Expecter) CaptureMessage ¶
func (_e *MockAppTracker_Expecter) CaptureMessage(message interface{}) *MockAppTracker_CaptureMessage_Call
CaptureMessage is a helper method to define mock.On call
- message