Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Activities() ([]*redmine.Activities, error)
- func (m *MockClient) AddComment(arg0, arg1 string, arg2 int) error
- func (m *MockClient) AssignedIssues() ([]*redmine.Issue, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) FillHoursRequest(arg0, arg1, arg2, arg3 string) (*redmine.TimeEntryBodyResponse, error)
- func (m *MockClient) Issue(arg0 string) (*redmine.IssueContainer, error)
- func (m *MockClient) TodayTimeEntries() ([]*redmine.TimeEntryResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Activities() *gomock.Call
- func (mr *MockClientMockRecorder) AddComment(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AssignedIssues() *gomock.Call
- func (mr *MockClientMockRecorder) FillHoursRequest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Issue(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TodayTimeEntries() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) Activities ¶
func (m *MockClient) Activities() ([]*redmine.Activities, error)
Activities mocks base method.
func (*MockClient) AddComment ¶
func (m *MockClient) AddComment(arg0, arg1 string, arg2 int) error
AddComment mocks base method.
func (*MockClient) AssignedIssues ¶
func (m *MockClient) AssignedIssues() ([]*redmine.Issue, error)
AssignedIssues mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) FillHoursRequest ¶
func (m *MockClient) FillHoursRequest(arg0, arg1, arg2, arg3 string) (*redmine.TimeEntryBodyResponse, error)
FillHoursRequest mocks base method.
func (*MockClient) Issue ¶
func (m *MockClient) Issue(arg0 string) (*redmine.IssueContainer, error)
Issue mocks base method.
func (*MockClient) TodayTimeEntries ¶
func (m *MockClient) TodayTimeEntries() ([]*redmine.TimeEntryResponse, error)
TodayTimeEntries mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Activities ¶
func (mr *MockClientMockRecorder) Activities() *gomock.Call
Activities indicates an expected call of Activities.
func (*MockClientMockRecorder) AddComment ¶
func (mr *MockClientMockRecorder) AddComment(arg0, arg1, arg2 interface{}) *gomock.Call
AddComment indicates an expected call of AddComment.
func (*MockClientMockRecorder) AssignedIssues ¶
func (mr *MockClientMockRecorder) AssignedIssues() *gomock.Call
AssignedIssues indicates an expected call of AssignedIssues.
func (*MockClientMockRecorder) FillHoursRequest ¶
func (mr *MockClientMockRecorder) FillHoursRequest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FillHoursRequest indicates an expected call of FillHoursRequest.
func (*MockClientMockRecorder) Issue ¶
func (mr *MockClientMockRecorder) Issue(arg0 interface{}) *gomock.Call
Issue indicates an expected call of Issue.
func (*MockClientMockRecorder) TodayTimeEntries ¶
func (mr *MockClientMockRecorder) TodayTimeEntries() *gomock.Call
TodayTimeEntries indicates an expected call of TodayTimeEntries.