Documentation ¶
Overview ¶
Package mock_ookla is a generated GoMock package.
Index ¶
- type MockOokla
- func (m *MockOokla) EXPECT() *MockOoklaMockRecorder
- func (m *MockOokla) FetchServerList(arg0 *speedtest.User) (speedtest.ServerList, error)
- func (m *MockOokla) FetchUserInfo() (*speedtest.User, error)
- func (m *MockOokla) FindServer(arg0 speedtest.ServerList, arg1 []int) ([]adapter.OoklaServer, error)
- type MockOoklaMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOokla ¶
type MockOokla struct {
// contains filtered or unexported fields
}
MockOokla is a mock of Ookla interface.
func NewMockOokla ¶
func NewMockOokla(ctrl *gomock.Controller) *MockOokla
NewMockOokla creates a new mock instance.
func (*MockOokla) EXPECT ¶
func (m *MockOokla) EXPECT() *MockOoklaMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOokla) FetchServerList ¶
FetchServerList mocks base method.
func (*MockOokla) FetchUserInfo ¶
FetchUserInfo mocks base method.
func (*MockOokla) FindServer ¶
func (m *MockOokla) FindServer(arg0 speedtest.ServerList, arg1 []int) ([]adapter.OoklaServer, error)
FindServer mocks base method.
type MockOoklaMockRecorder ¶
type MockOoklaMockRecorder struct {
// contains filtered or unexported fields
}
MockOoklaMockRecorder is the mock recorder for MockOokla.
func (*MockOoklaMockRecorder) FetchServerList ¶
func (mr *MockOoklaMockRecorder) FetchServerList(arg0 interface{}) *gomock.Call
FetchServerList indicates an expected call of FetchServerList.
func (*MockOoklaMockRecorder) FetchUserInfo ¶
func (mr *MockOoklaMockRecorder) FetchUserInfo() *gomock.Call
FetchUserInfo indicates an expected call of FetchUserInfo.
func (*MockOoklaMockRecorder) FindServer ¶
func (mr *MockOoklaMockRecorder) FindServer(arg0, arg1 interface{}) *gomock.Call
FindServer indicates an expected call of FindServer.
Click to show internal directories.
Click to hide internal directories.