Documentation
¶
Overview ¶
Package mock_interactors is a generated GoMock package.
Index ¶
- type MockLoginInteractor
- type MockLoginInteractorMockRecorder
- type MockPokerInteractor
- func (m *MockPokerInteractor) CanEnter(ctx context.Context, roomID room.ID) (bool, error)
- func (m *MockPokerInteractor) Create(ctx context.Context, loginID string) (room.ID, error)
- func (m *MockPokerInteractor) EXPECT() *MockPokerInteractorMockRecorder
- func (m *MockPokerInteractor) Enter(ctx context.Context, roomID room.ID, loginID string) (ports.PokerListener, error)
- func (m *MockPokerInteractor) Leave(ctx context.Context, roomID room.ID, loginID string) error
- func (m *MockPokerInteractor) Reset(ctx context.Context, roomID room.ID) error
- func (m *MockPokerInteractor) VoteCounting(ctx context.Context, roomID room.ID, loginID string) error
- func (m *MockPokerInteractor) Voting(ctx context.Context, roomID room.ID, loginID string, point porker.Point) error
- type MockPokerInteractorMockRecorder
- func (mr *MockPokerInteractorMockRecorder) CanEnter(ctx, roomID interface{}) *gomock.Call
- func (mr *MockPokerInteractorMockRecorder) Create(ctx, loginID interface{}) *gomock.Call
- func (mr *MockPokerInteractorMockRecorder) Enter(ctx, roomID, loginID interface{}) *gomock.Call
- func (mr *MockPokerInteractorMockRecorder) Leave(ctx, roomID, loginID interface{}) *gomock.Call
- func (mr *MockPokerInteractorMockRecorder) Reset(ctx, roomID interface{}) *gomock.Call
- func (mr *MockPokerInteractorMockRecorder) VoteCounting(ctx, roomID, loginID interface{}) *gomock.Call
- func (mr *MockPokerInteractorMockRecorder) Voting(ctx, roomID, loginID, point interface{}) *gomock.Call
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 ¶
func (m *MockLoginInteractor) EXPECT() *MockLoginInteractorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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) EXPECT ¶
func (m *MockPokerInteractor) EXPECT() *MockPokerInteractorMockRecorder
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) VoteCounting ¶
func (m *MockPokerInteractor) VoteCounting(ctx context.Context, roomID room.ID, loginID string) error
VoteCounting 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.