mockgen

package
v0.0.0-...-41a9250 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mockgen is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIAdminUseCase

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

MockIAdminUseCase is a mock of IAdminUseCase interface.

func NewMockIAdminUseCase

func NewMockIAdminUseCase(ctrl *gomock.Controller) *MockIAdminUseCase

NewMockIAdminUseCase creates a new mock instance.

func (*MockIAdminUseCase) CompleteAdminProfile

func (m *MockIAdminUseCase) CompleteAdminProfile(adminID string, profileData domain.AdminProfileData) error

CompleteAdminProfile mocks base method.

func (*MockIAdminUseCase) EXPECT

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

func (*MockIAdminUseCase) GetAdminProfile

func (m *MockIAdminUseCase) GetAdminProfile(adminID string) (*domain.Admin, error)

GetAdminProfile mocks base method.

func (*MockIAdminUseCase) GetParkingLotsByAdmin

func (m *MockIAdminUseCase) GetParkingLotsByAdmin(adminUUID string) ([]domain.ParkingLot, error)

GetParkingLotsByAdmin mocks base method.

func (*MockIAdminUseCase) RegisterAdmin

func (m *MockIAdminUseCase) RegisterAdmin(adminID string) error

RegisterAdmin mocks base method.

type MockIAdminUseCaseMockRecorder

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

MockIAdminUseCaseMockRecorder is the mock recorder for MockIAdminUseCase.

func (*MockIAdminUseCaseMockRecorder) CompleteAdminProfile

func (mr *MockIAdminUseCaseMockRecorder) CompleteAdminProfile(adminID, profileData interface{}) *gomock.Call

CompleteAdminProfile indicates an expected call of CompleteAdminProfile.

func (*MockIAdminUseCaseMockRecorder) GetAdminProfile

func (mr *MockIAdminUseCaseMockRecorder) GetAdminProfile(adminID interface{}) *gomock.Call

GetAdminProfile indicates an expected call of GetAdminProfile.

func (*MockIAdminUseCaseMockRecorder) GetParkingLotsByAdmin

func (mr *MockIAdminUseCaseMockRecorder) GetParkingLotsByAdmin(adminUUID interface{}) *gomock.Call

GetParkingLotsByAdmin indicates an expected call of GetParkingLotsByAdmin.

func (*MockIAdminUseCaseMockRecorder) RegisterAdmin

func (mr *MockIAdminUseCaseMockRecorder) RegisterAdmin(adminID interface{}) *gomock.Call

RegisterAdmin indicates an expected call of RegisterAdmin.

type MockIParkingLotUseCase

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

MockIParkingLotUseCase is a mock of IParkingLotUseCase interface.

func NewMockIParkingLotUseCase

func NewMockIParkingLotUseCase(ctrl *gomock.Controller) *MockIParkingLotUseCase

NewMockIParkingLotUseCase creates a new mock instance.

func (*MockIParkingLotUseCase) CreateParkingLot

CreateParkingLot mocks base method.

func (*MockIParkingLotUseCase) DeleteParkingLot

func (m *MockIParkingLotUseCase) DeleteParkingLot(parkingLotID uint, adminUUID string) error

DeleteParkingLot mocks base method.

func (*MockIParkingLotUseCase) EXPECT

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

func (*MockIParkingLotUseCase) GetParkingLot

func (m *MockIParkingLotUseCase) GetParkingLot(parkingLotID uint) (*usecase.ParkingLotResponse, error)

GetParkingLot mocks base method.

func (*MockIParkingLotUseCase) GetParkingLotWithOwnership

func (m *MockIParkingLotUseCase) GetParkingLotWithOwnership(parkingLotID uint, adminUUID string) (*usecase.ParkingLotResponse, error)

GetParkingLotWithOwnership mocks base method.

func (*MockIParkingLotUseCase) ListParkingLots

func (m *MockIParkingLotUseCase) ListParkingLots() ([]usecase.ParkingLotResponse, error)

ListParkingLots mocks base method.

func (*MockIParkingLotUseCase) UpdateParkingLot

func (m *MockIParkingLotUseCase) UpdateParkingLot(parkingLotID uint, req usecase.UpdateParkingLotRequest, adminUUID string) error

UpdateParkingLot mocks base method.

type MockIParkingLotUseCaseMockRecorder

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

MockIParkingLotUseCaseMockRecorder is the mock recorder for MockIParkingLotUseCase.

func (*MockIParkingLotUseCaseMockRecorder) CreateParkingLot

func (mr *MockIParkingLotUseCaseMockRecorder) CreateParkingLot(req interface{}) *gomock.Call

CreateParkingLot indicates an expected call of CreateParkingLot.

func (*MockIParkingLotUseCaseMockRecorder) DeleteParkingLot

func (mr *MockIParkingLotUseCaseMockRecorder) DeleteParkingLot(parkingLotID, adminUUID interface{}) *gomock.Call

DeleteParkingLot indicates an expected call of DeleteParkingLot.

func (*MockIParkingLotUseCaseMockRecorder) GetParkingLot

func (mr *MockIParkingLotUseCaseMockRecorder) GetParkingLot(parkingLotID interface{}) *gomock.Call

GetParkingLot indicates an expected call of GetParkingLot.

func (*MockIParkingLotUseCaseMockRecorder) GetParkingLotWithOwnership

func (mr *MockIParkingLotUseCaseMockRecorder) GetParkingLotWithOwnership(parkingLotID, adminUUID interface{}) *gomock.Call

GetParkingLotWithOwnership indicates an expected call of GetParkingLotWithOwnership.

func (*MockIParkingLotUseCaseMockRecorder) ListParkingLots

func (mr *MockIParkingLotUseCaseMockRecorder) ListParkingLots() *gomock.Call

ListParkingLots indicates an expected call of ListParkingLots.

func (*MockIParkingLotUseCaseMockRecorder) UpdateParkingLot

func (mr *MockIParkingLotUseCaseMockRecorder) UpdateParkingLot(parkingLotID, req, adminUUID interface{}) *gomock.Call

UpdateParkingLot indicates an expected call of UpdateParkingLot.

type MockIUserUseCase

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

MockIUserUseCase is a mock of IUserUseCase interface.

func NewMockIUserUseCase

func NewMockIUserUseCase(ctrl *gomock.Controller) *MockIUserUseCase

NewMockIUserUseCase creates a new mock instance.

func (*MockIUserUseCase) DeleteUser

func (m *MockIUserUseCase) DeleteUser(id uint) error

DeleteUser mocks base method.

func (*MockIUserUseCase) EXPECT

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

func (*MockIUserUseCase) FindByID

func (m *MockIUserUseCase) FindByID(id uint) (*domain.User, error)

FindByID mocks base method.

func (*MockIUserUseCase) Register

func (m *MockIUserUseCase) Register(username, password, email string) (*domain.User, error)

Register mocks base method.

func (*MockIUserUseCase) UpdateUser

func (m *MockIUserUseCase) UpdateUser(id uint, username, email, password string) (*domain.User, error)

UpdateUser mocks base method.

type MockIUserUseCaseMockRecorder

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

MockIUserUseCaseMockRecorder is the mock recorder for MockIUserUseCase.

func (*MockIUserUseCaseMockRecorder) DeleteUser

func (mr *MockIUserUseCaseMockRecorder) DeleteUser(id interface{}) *gomock.Call

DeleteUser indicates an expected call of DeleteUser.

func (*MockIUserUseCaseMockRecorder) FindByID

func (mr *MockIUserUseCaseMockRecorder) FindByID(id interface{}) *gomock.Call

FindByID indicates an expected call of FindByID.

func (*MockIUserUseCaseMockRecorder) Register

func (mr *MockIUserUseCaseMockRecorder) Register(username, password, email interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockIUserUseCaseMockRecorder) UpdateUser

func (mr *MockIUserUseCaseMockRecorder) UpdateUser(id, username, email, password interface{}) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

Jump to

Keyboard shortcuts

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