testutils

package
v0.0.0-...-eec4b17 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package testutils is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDatabase

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

MockDatabase is a mock of Database interface.

func NewMockDatabase

func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase

NewMockDatabase creates a new mock instance.

func (*MockDatabase) EXPECT

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

func (*MockDatabase) GetAppDeepLinksCount

func (m *MockDatabase) GetAppDeepLinksCount(appID string) (uint64, error)

GetAppDeepLinksCount mocks base method.

func (*MockDatabase) GetAppDeepLinksRateLimit

func (m *MockDatabase) GetAppDeepLinksRateLimit(appID string) (uint64, error)

GetAppDeepLinksRateLimit mocks base method.

func (*MockDatabase) GetDeepLinkConfig

func (m *MockDatabase) GetDeepLinkConfig(link string) (*types.LinkConfig, error)

GetDeepLinkConfig mocks base method.

func (m *MockDatabase) SaveCreatedDeepLink(link *types.CreatedDeepLink) error

SaveCreatedDeepLink mocks base method.

type MockDatabaseMockRecorder

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

MockDatabaseMockRecorder is the mock recorder for MockDatabase.

func (*MockDatabaseMockRecorder) GetAppDeepLinksCount

func (mr *MockDatabaseMockRecorder) GetAppDeepLinksCount(appID interface{}) *gomock.Call

GetAppDeepLinksCount indicates an expected call of GetAppDeepLinksCount.

func (*MockDatabaseMockRecorder) GetAppDeepLinksRateLimit

func (mr *MockDatabaseMockRecorder) GetAppDeepLinksRateLimit(appID interface{}) *gomock.Call

GetAppDeepLinksRateLimit indicates an expected call of GetAppDeepLinksRateLimit.

func (*MockDatabaseMockRecorder) GetDeepLinkConfig

func (mr *MockDatabaseMockRecorder) GetDeepLinkConfig(link interface{}) *gomock.Call

GetDeepLinkConfig indicates an expected call of GetDeepLinkConfig.

func (mr *MockDatabaseMockRecorder) SaveCreatedDeepLink(link interface{}) *gomock.Call

SaveCreatedDeepLink indicates an expected call of SaveCreatedDeepLink.

type MockDeepLinksClient

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

MockDeepLinksClient is a mock of DeepLinksClient interface.

func NewMockDeepLinksClient

func NewMockDeepLinksClient(ctrl *gomock.Controller) *MockDeepLinksClient

NewMockDeepLinksClient creates a new mock instance.

func (m *MockDeepLinksClient) CreateDynamicLink(apiKey string, linkConfig *types.LinkConfig) (string, error)

CreateDynamicLink mocks base method.

func (*MockDeepLinksClient) EXPECT

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

type MockDeepLinksClientMockRecorder

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

MockDeepLinksClientMockRecorder is the mock recorder for MockDeepLinksClient.

func (mr *MockDeepLinksClientMockRecorder) CreateDynamicLink(apiKey, linkConfig interface{}) *gomock.Call

CreateDynamicLink indicates an expected call of CreateDynamicLink.

Jump to

Keyboard shortcuts

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