Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAnalyzer ¶
MockAnalyzer is an autogenerated mock type for the Analyzer type
func NewMockAnalyzer ¶
func NewMockAnalyzer(t interface {
mock.TestingT
Cleanup(func())
}) *MockAnalyzer
NewMockAnalyzer creates a new instance of MockAnalyzer. 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 (*MockAnalyzer) EXPECT ¶
func (_m *MockAnalyzer) EXPECT() *MockAnalyzer_Expecter
func (*MockAnalyzer) Graph ¶
func (_mock *MockAnalyzer) Graph() error
Graph provides a mock function for the type MockAnalyzer
type MockAnalyzer_Expecter ¶
type MockAnalyzer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAnalyzer_Expecter) Graph ¶
func (_e *MockAnalyzer_Expecter) Graph() *MockAnalyzer_Graph_Call
Graph is a helper method to define mock.On call
type MockAnalyzer_Graph_Call ¶
MockAnalyzer_Graph_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Graph'
func (*MockAnalyzer_Graph_Call) Return ¶
func (_c *MockAnalyzer_Graph_Call) Return(err error) *MockAnalyzer_Graph_Call
func (*MockAnalyzer_Graph_Call) Run ¶
func (_c *MockAnalyzer_Graph_Call) Run(run func()) *MockAnalyzer_Graph_Call
func (*MockAnalyzer_Graph_Call) RunAndReturn ¶
func (_c *MockAnalyzer_Graph_Call) RunAndReturn(run func() error) *MockAnalyzer_Graph_Call
Click to show internal directories.
Click to hide internal directories.