mock_interactors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_interactors is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLoginInteractor

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

MockLoginInteractor is a mock of LoginInteractor interface.

func NewMockLoginInteractor

func NewMockLoginInteractor(ctrl *gomock.Controller) *MockLoginInteractor

NewMockLoginInteractor creates a new mock instance.

func (*MockLoginInteractor) EXPECT

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

func (*MockLoginInteractor) Login

func (m *MockLoginInteractor) Login(ctx context.Context, login *porker.Login) (*porker.Login, error)

Login mocks base method.

func (*MockLoginInteractor) Logout

func (m *MockLoginInteractor) Logout(ctx context.Context, login *porker.Login) error

Logout mocks base method.

type MockLoginInteractorMockRecorder

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

MockLoginInteractorMockRecorder is the mock recorder for MockLoginInteractor.

func (*MockLoginInteractorMockRecorder) Login

func (mr *MockLoginInteractorMockRecorder) Login(ctx, login interface{}) *gomock.Call

Login indicates an expected call of Login.

func (*MockLoginInteractorMockRecorder) Logout

func (mr *MockLoginInteractorMockRecorder) Logout(ctx, login interface{}) *gomock.Call

Logout indicates an expected call of Logout.

type MockPokerInteractor

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

MockPokerInteractor is a mock of PokerInteractor interface.

func NewMockPokerInteractor

func NewMockPokerInteractor(ctrl *gomock.Controller) *MockPokerInteractor

NewMockPokerInteractor creates a new mock instance.

func (*MockPokerInteractor) CanEnter

func (m *MockPokerInteractor) CanEnter(ctx context.Context, roomID room.ID) (bool, error)

CanEnter mocks base method.

func (*MockPokerInteractor) Create

func (m *MockPokerInteractor) Create(ctx context.Context, loginID string) (room.ID, error)

Create mocks base method.

func (*MockPokerInteractor) EXPECT

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

func (*MockPokerInteractor) Enter

func (m *MockPokerInteractor) Enter(ctx context.Context, roomID room.ID, loginID string) (ports.PokerListener, error)

Enter mocks base method.

func (*MockPokerInteractor) Leave

func (m *MockPokerInteractor) Leave(ctx context.Context, roomID room.ID, loginID string) error

Leave mocks base method.

func (*MockPokerInteractor) Reset

func (m *MockPokerInteractor) Reset(ctx context.Context, roomID room.ID) error

Reset mocks base method.

func (*MockPokerInteractor) VoteCounting

func (m *MockPokerInteractor) VoteCounting(ctx context.Context, roomID room.ID, loginID string) error

VoteCounting mocks base method.

func (*MockPokerInteractor) Voting

func (m *MockPokerInteractor) Voting(ctx context.Context, roomID room.ID, loginID string, point porker.Point) error

Voting mocks base method.

type MockPokerInteractorMockRecorder

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

MockPokerInteractorMockRecorder is the mock recorder for MockPokerInteractor.

func (*MockPokerInteractorMockRecorder) CanEnter

func (mr *MockPokerInteractorMockRecorder) CanEnter(ctx, roomID interface{}) *gomock.Call

CanEnter indicates an expected call of CanEnter.

func (*MockPokerInteractorMockRecorder) Create

func (mr *MockPokerInteractorMockRecorder) Create(ctx, loginID interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockPokerInteractorMockRecorder) Enter

func (mr *MockPokerInteractorMockRecorder) Enter(ctx, roomID, loginID interface{}) *gomock.Call

Enter indicates an expected call of Enter.

func (*MockPokerInteractorMockRecorder) Leave

func (mr *MockPokerInteractorMockRecorder) Leave(ctx, roomID, loginID interface{}) *gomock.Call

Leave indicates an expected call of Leave.

func (*MockPokerInteractorMockRecorder) Reset

func (mr *MockPokerInteractorMockRecorder) Reset(ctx, roomID interface{}) *gomock.Call

Reset indicates an expected call of Reset.

func (*MockPokerInteractorMockRecorder) VoteCounting

func (mr *MockPokerInteractorMockRecorder) VoteCounting(ctx, roomID, loginID interface{}) *gomock.Call

VoteCounting indicates an expected call of VoteCounting.

func (*MockPokerInteractorMockRecorder) Voting

func (mr *MockPokerInteractorMockRecorder) Voting(ctx, roomID, loginID, point interface{}) *gomock.Call

Voting indicates an expected call of Voting.

Jump to

Keyboard shortcuts

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