Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) CreateSubmission(arg0 model.Submission) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetCompiler(arg0 string) (*model.Compiler, error)
- func (m *MockService) GetProblem(arg0 string) (*model.Problem, error)
- func (m *MockService) GetSubmission(arg0 string) (*model.Submission, error)
- func (m *MockService) GetSubmissionByProblem(arg0 string) ([]model.Submission, error)
- func (m *MockService) ListCompilers() ([]model.Compiler, error)
- func (m *MockService) ListProblems() ([]model.Problem, error)
- func (m *MockService) ListSubmissions() ([]model.Submission, error)
- func (m *MockService) UpdateSubmission(arg0 model.Submission) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) CreateSubmission(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetCompiler(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetProblem(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetSubmission(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetSubmissionByProblem(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) ListCompilers() *gomock.Call
- func (mr *MockServiceMockRecorder) ListProblems() *gomock.Call
- func (mr *MockServiceMockRecorder) ListSubmissions() *gomock.Call
- func (mr *MockServiceMockRecorder) UpdateSubmission(arg0 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) CreateSubmission ¶
func (m *MockService) CreateSubmission(arg0 model.Submission) error
CreateSubmission mocks base method
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) GetCompiler ¶
func (m *MockService) GetCompiler(arg0 string) (*model.Compiler, error)
GetCompiler mocks base method
func (*MockService) GetProblem ¶
func (m *MockService) GetProblem(arg0 string) (*model.Problem, error)
GetProblem mocks base method
func (*MockService) GetSubmission ¶
func (m *MockService) GetSubmission(arg0 string) (*model.Submission, error)
GetSubmission mocks base method
func (*MockService) GetSubmissionByProblem ¶
func (m *MockService) GetSubmissionByProblem(arg0 string) ([]model.Submission, error)
GetSubmissionByProblem mocks base method
func (*MockService) ListCompilers ¶
func (m *MockService) ListCompilers() ([]model.Compiler, error)
ListCompilers mocks base method
func (*MockService) ListProblems ¶
func (m *MockService) ListProblems() ([]model.Problem, error)
ListProblems mocks base method
func (*MockService) ListSubmissions ¶
func (m *MockService) ListSubmissions() ([]model.Submission, error)
ListSubmissions mocks base method
func (*MockService) UpdateSubmission ¶
func (m *MockService) UpdateSubmission(arg0 model.Submission) error
UpdateSubmission mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) CreateSubmission ¶
func (mr *MockServiceMockRecorder) CreateSubmission(arg0 interface{}) *gomock.Call
CreateSubmission indicates an expected call of CreateSubmission
func (*MockServiceMockRecorder) GetCompiler ¶
func (mr *MockServiceMockRecorder) GetCompiler(arg0 interface{}) *gomock.Call
GetCompiler indicates an expected call of GetCompiler
func (*MockServiceMockRecorder) GetProblem ¶
func (mr *MockServiceMockRecorder) GetProblem(arg0 interface{}) *gomock.Call
GetProblem indicates an expected call of GetProblem
func (*MockServiceMockRecorder) GetSubmission ¶
func (mr *MockServiceMockRecorder) GetSubmission(arg0 interface{}) *gomock.Call
GetSubmission indicates an expected call of GetSubmission
func (*MockServiceMockRecorder) GetSubmissionByProblem ¶
func (mr *MockServiceMockRecorder) GetSubmissionByProblem(arg0 interface{}) *gomock.Call
GetSubmissionByProblem indicates an expected call of GetSubmissionByProblem
func (*MockServiceMockRecorder) ListCompilers ¶
func (mr *MockServiceMockRecorder) ListCompilers() *gomock.Call
ListCompilers indicates an expected call of ListCompilers
func (*MockServiceMockRecorder) ListProblems ¶
func (mr *MockServiceMockRecorder) ListProblems() *gomock.Call
ListProblems indicates an expected call of ListProblems
func (*MockServiceMockRecorder) ListSubmissions ¶
func (mr *MockServiceMockRecorder) ListSubmissions() *gomock.Call
ListSubmissions indicates an expected call of ListSubmissions
func (*MockServiceMockRecorder) UpdateSubmission ¶
func (mr *MockServiceMockRecorder) UpdateSubmission(arg0 interface{}) *gomock.Call
UpdateSubmission indicates an expected call of UpdateSubmission