mock_service

package
v0.0.0-...-18998a6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Package mock_service is a generated GoMock package.

Package mock_service is a generated GoMock package.

Package mock_service is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBoardService

type MockBoardService struct {
	// contains filtered or unexported fields
}

MockBoardService is a mock of BoardService interface

func NewMockBoardService

func NewMockBoardService(ctrl *gomock.Controller) *MockBoardService

NewMockBoardService creates a new mock instance

func (*MockBoardService) Create

func (m *MockBoardService) Create(ctx context.Context, b *domain.Board) (*domain.Board, error)

Create mocks base method

func (*MockBoardService) CreateBoardList

func (m *MockBoardService) CreateBoardList(ctx context.Context, groupID, boardID string, bl *domain.BoardList) (*domain.BoardList, error)

CreateBoardList mocks base method

func (*MockBoardService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockBoardService) Exists

func (m *MockBoardService) Exists(ctx context.Context, groupID, boardID string) bool

Exists mocks base method

func (*MockBoardService) ExistsBoardList

func (m *MockBoardService) ExistsBoardList(ctx context.Context, groupID, boardID, boardListID string) bool

ExistsBoardList mocks base method

func (*MockBoardService) Index

func (m *MockBoardService) Index(ctx context.Context, groupID string) ([]*domain.Board, error)

Index mocks base method

func (*MockBoardService) Show

func (m *MockBoardService) Show(ctx context.Context, groupID, boardID string) (*domain.Board, error)

Show mocks base method

func (*MockBoardService) ShowBoardList

func (m *MockBoardService) ShowBoardList(ctx context.Context, groupID, boardID, boardListID string) (*domain.BoardList, error)

ShowBoardList mocks base method

func (*MockBoardService) UpdateBoardList

func (m *MockBoardService) UpdateBoardList(ctx context.Context, groupID, boardID string, bl *domain.BoardList) (*domain.BoardList, error)

UpdateBoardList mocks base method

func (*MockBoardService) UpdateKanban

func (m *MockBoardService) UpdateKanban(ctx context.Context, groupID, boardID string, b *domain.Board) error

UpdateKanban mocks base method

func (*MockBoardService) UploadThumbnail

func (m *MockBoardService) UploadThumbnail(ctx context.Context, data []byte) (string, error)

UploadThumbnail mocks base method

type MockBoardServiceMockRecorder

type MockBoardServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockBoardServiceMockRecorder is the mock recorder for MockBoardService

func (*MockBoardServiceMockRecorder) Create

func (mr *MockBoardServiceMockRecorder) Create(ctx, b interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockBoardServiceMockRecorder) CreateBoardList

func (mr *MockBoardServiceMockRecorder) CreateBoardList(ctx, groupID, boardID, bl interface{}) *gomock.Call

CreateBoardList indicates an expected call of CreateBoardList

func (*MockBoardServiceMockRecorder) Exists

func (mr *MockBoardServiceMockRecorder) Exists(ctx, groupID, boardID interface{}) *gomock.Call

Exists indicates an expected call of Exists

func (*MockBoardServiceMockRecorder) ExistsBoardList

func (mr *MockBoardServiceMockRecorder) ExistsBoardList(ctx, groupID, boardID, boardListID interface{}) *gomock.Call

ExistsBoardList indicates an expected call of ExistsBoardList

func (*MockBoardServiceMockRecorder) Index

func (mr *MockBoardServiceMockRecorder) Index(ctx, groupID interface{}) *gomock.Call

Index indicates an expected call of Index

func (*MockBoardServiceMockRecorder) Show

func (mr *MockBoardServiceMockRecorder) Show(ctx, groupID, boardID interface{}) *gomock.Call

Show indicates an expected call of Show

func (*MockBoardServiceMockRecorder) ShowBoardList

func (mr *MockBoardServiceMockRecorder) ShowBoardList(ctx, groupID, boardID, boardListID interface{}) *gomock.Call

ShowBoardList indicates an expected call of ShowBoardList

func (*MockBoardServiceMockRecorder) UpdateBoardList

func (mr *MockBoardServiceMockRecorder) UpdateBoardList(ctx, groupID, boardID, bl interface{}) *gomock.Call

UpdateBoardList indicates an expected call of UpdateBoardList

func (*MockBoardServiceMockRecorder) UpdateKanban

func (mr *MockBoardServiceMockRecorder) UpdateKanban(ctx, groupID, boardID, b interface{}) *gomock.Call

UpdateKanban indicates an expected call of UpdateKanban

func (*MockBoardServiceMockRecorder) UploadThumbnail

func (mr *MockBoardServiceMockRecorder) UploadThumbnail(ctx, data interface{}) *gomock.Call

UploadThumbnail indicates an expected call of UploadThumbnail

type MockGroupService

type MockGroupService struct {
	// contains filtered or unexported fields
}

MockGroupService is a mock of GroupService interface

func NewMockGroupService

func NewMockGroupService(ctrl *gomock.Controller) *MockGroupService

NewMockGroupService creates a new mock instance

func (*MockGroupService) Create

func (m *MockGroupService) Create(ctx context.Context, u *domain.User, g *domain.Group) (*domain.Group, error)

Create mocks base method

func (*MockGroupService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGroupService) Index

func (m *MockGroupService) Index(ctx context.Context, u *domain.User) ([]*domain.Group, error)

Index mocks base method

func (*MockGroupService) InviteUsers

func (m *MockGroupService) InviteUsers(ctx context.Context, g *domain.Group) error

InviteUsers mocks base method

func (*MockGroupService) IsContainInInvitedEmails

func (m *MockGroupService) IsContainInInvitedEmails(ctx context.Context, email string, g *domain.Group) bool

IsContainInInvitedEmails mocks base method

func (*MockGroupService) IsContainInUserIDs

func (m *MockGroupService) IsContainInUserIDs(ctx context.Context, userID string, g *domain.Group) bool

IsContainInUserIDs mocks base method

func (*MockGroupService) Join

func (m *MockGroupService) Join(ctx context.Context, g *domain.Group) error

Join mocks base method

func (*MockGroupService) Show

func (m *MockGroupService) Show(ctx context.Context, groupID string) (*domain.Group, error)

Show mocks base method

func (*MockGroupService) Update

func (m *MockGroupService) Update(ctx context.Context, g *domain.Group) error

Update mocks base method

type MockGroupServiceMockRecorder

type MockGroupServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockGroupServiceMockRecorder is the mock recorder for MockGroupService

func (*MockGroupServiceMockRecorder) Create

func (mr *MockGroupServiceMockRecorder) Create(ctx, u, g interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGroupServiceMockRecorder) Index

func (mr *MockGroupServiceMockRecorder) Index(ctx, u interface{}) *gomock.Call

Index indicates an expected call of Index

func (*MockGroupServiceMockRecorder) InviteUsers

func (mr *MockGroupServiceMockRecorder) InviteUsers(ctx, g interface{}) *gomock.Call

InviteUsers indicates an expected call of InviteUsers

func (*MockGroupServiceMockRecorder) IsContainInInvitedEmails

func (mr *MockGroupServiceMockRecorder) IsContainInInvitedEmails(ctx, email, g interface{}) *gomock.Call

IsContainInInvitedEmails indicates an expected call of IsContainInInvitedEmails

func (*MockGroupServiceMockRecorder) IsContainInUserIDs

func (mr *MockGroupServiceMockRecorder) IsContainInUserIDs(ctx, userID, g interface{}) *gomock.Call

IsContainInUserIDs indicates an expected call of IsContainInUserIDs

func (*MockGroupServiceMockRecorder) Join

func (mr *MockGroupServiceMockRecorder) Join(ctx, g interface{}) *gomock.Call

Join indicates an expected call of Join

func (*MockGroupServiceMockRecorder) Show

func (mr *MockGroupServiceMockRecorder) Show(ctx, groupID interface{}) *gomock.Call

Show indicates an expected call of Show

func (*MockGroupServiceMockRecorder) Update

func (mr *MockGroupServiceMockRecorder) Update(ctx, g interface{}) *gomock.Call

Update indicates an expected call of Update

type MockTaskService

type MockTaskService struct {
	// contains filtered or unexported fields
}

MockTaskService is a mock of TaskService interface

func NewMockTaskService

func NewMockTaskService(ctrl *gomock.Controller) *MockTaskService

NewMockTaskService creates a new mock instance

func (*MockTaskService) Create

func (m *MockTaskService) Create(ctx context.Context, groupID, boardID, boardListID string, t *domain.Task) (*domain.Task, error)

Create mocks base method

func (*MockTaskService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTaskService) Show

func (m *MockTaskService) Show(ctx context.Context, taskID string) (*domain.Task, error)

Show mocks base method

type MockTaskServiceMockRecorder

type MockTaskServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockTaskServiceMockRecorder is the mock recorder for MockTaskService

func (*MockTaskServiceMockRecorder) Create

func (mr *MockTaskServiceMockRecorder) Create(ctx, groupID, boardID, boardListID, t interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockTaskServiceMockRecorder) Show

func (mr *MockTaskServiceMockRecorder) Show(ctx, taskID interface{}) *gomock.Call

Show indicates an expected call of Show

type MockUserService

type MockUserService struct {
	// contains filtered or unexported fields
}

MockUserService is a mock of UserService interface

func NewMockUserService

func NewMockUserService(ctrl *gomock.Controller) *MockUserService

NewMockUserService creates a new mock instance

func (*MockUserService) Authentication

func (m *MockUserService) Authentication(ctx context.Context) (*domain.User, error)

Authentication mocks base method

func (*MockUserService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockUserService) IsContainInGroupIDs

func (m *MockUserService) IsContainInGroupIDs(ctx context.Context, groupID string, u *domain.User) bool

IsContainInGroupIDs mocks base method

type MockUserServiceMockRecorder

type MockUserServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserServiceMockRecorder is the mock recorder for MockUserService

func (*MockUserServiceMockRecorder) Authentication

func (mr *MockUserServiceMockRecorder) Authentication(ctx interface{}) *gomock.Call

Authentication indicates an expected call of Authentication

func (*MockUserServiceMockRecorder) IsContainInGroupIDs

func (mr *MockUserServiceMockRecorder) IsContainInGroupIDs(ctx, groupID, u interface{}) *gomock.Call

IsContainInGroupIDs indicates an expected call of IsContainInGroupIDs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL