Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetDescriptionPath(arg0 string) string
- func (m *MockService) GetExpectedPath(arg0 string) string
- func (m *MockService) GetInputPath(arg0 string) string
- func (m *MockService) GetSubmissionProblemPath(arg0 string) string
- func (m *MockService) GetTestCasesFromRepo(arg0 string) ([]model.Test, error)
- func (m *MockService) UploadSubmissionToRepo(arg0, arg1 string, arg2 []byte) (*model.Solution, error)
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) GetDescriptionPath(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetExpectedPath(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetInputPath(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetSubmissionProblemPath(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetTestCasesFromRepo(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) UploadSubmissionToRepo(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) GetDescriptionPath ¶
func (m *MockService) GetDescriptionPath(arg0 string) string
GetDescriptionPath mocks base method
func (*MockService) GetExpectedPath ¶
func (m *MockService) GetExpectedPath(arg0 string) string
GetExpectedPath mocks base method
func (*MockService) GetInputPath ¶
func (m *MockService) GetInputPath(arg0 string) string
GetInputPath mocks base method
func (*MockService) GetSubmissionProblemPath ¶
func (m *MockService) GetSubmissionProblemPath(arg0 string) string
GetSubmissionProblemPath mocks base method
func (*MockService) GetTestCasesFromRepo ¶
func (m *MockService) GetTestCasesFromRepo(arg0 string) ([]model.Test, error)
GetTestCasesFromRepo mocks base method
func (*MockService) UploadSubmissionToRepo ¶
func (m *MockService) UploadSubmissionToRepo(arg0, arg1 string, arg2 []byte) (*model.Solution, error)
UploadSubmissionToRepo mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) GetDescriptionPath ¶
func (mr *MockServiceMockRecorder) GetDescriptionPath(arg0 interface{}) *gomock.Call
GetDescriptionPath indicates an expected call of GetDescriptionPath
func (*MockServiceMockRecorder) GetExpectedPath ¶
func (mr *MockServiceMockRecorder) GetExpectedPath(arg0 interface{}) *gomock.Call
GetExpectedPath indicates an expected call of GetExpectedPath
func (*MockServiceMockRecorder) GetInputPath ¶
func (mr *MockServiceMockRecorder) GetInputPath(arg0 interface{}) *gomock.Call
GetInputPath indicates an expected call of GetInputPath
func (*MockServiceMockRecorder) GetSubmissionProblemPath ¶
func (mr *MockServiceMockRecorder) GetSubmissionProblemPath(arg0 interface{}) *gomock.Call
GetSubmissionProblemPath indicates an expected call of GetSubmissionProblemPath
func (*MockServiceMockRecorder) GetTestCasesFromRepo ¶
func (mr *MockServiceMockRecorder) GetTestCasesFromRepo(arg0 interface{}) *gomock.Call
GetTestCasesFromRepo indicates an expected call of GetTestCasesFromRepo
func (*MockServiceMockRecorder) UploadSubmissionToRepo ¶
func (mr *MockServiceMockRecorder) UploadSubmissionToRepo(arg0, arg1, arg2 interface{}) *gomock.Call
UploadSubmissionToRepo indicates an expected call of UploadSubmissionToRepo