mock

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTypedTableColumn

type MockTypedTableColumn[T genorm.Table, S genorm.ExprType] struct {
	// contains filtered or unexported fields
}

MockTypedTableColumn is a mock of Column interface.

func NewMockTypedTableColumn

func NewMockTypedTableColumn[T genorm.Table, S genorm.ExprType](ctrl *gomock.Controller) *MockTypedTableColumn[T, S]

NewMockTypedTableColumn creates a new mock instance.

func (*MockTypedTableColumn[_, _]) ColumnName

func (m *MockTypedTableColumn[_, _]) ColumnName() string

ColumnName mocks base method.

func (*MockTypedTableColumn[T, S]) EXPECT

func (m *MockTypedTableColumn[T, S]) EXPECT() *MockTypedTableColumnMockRecorder[T, S]

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

func (*MockTypedTableColumn[_, _]) Expr

func (m *MockTypedTableColumn[_, _]) Expr() (string, []genorm.ExprType, []error)

Expr mocks base method.

func (*MockTypedTableColumn[_, _]) SQLColumnName

func (m *MockTypedTableColumn[_, _]) SQLColumnName() string

SQLColumnName mocks base method.

func (*MockTypedTableColumn[T, _]) TableExpr

func (m *MockTypedTableColumn[T, _]) TableExpr(t T) (string, []genorm.ExprType, []error)

TableExpr mocks base method.

func (*MockTypedTableColumn[_, _]) TableName

func (m *MockTypedTableColumn[_, _]) TableName() string

TableName mocks base method.

func (*MockTypedTableColumn[_, S]) TypedExpr

func (m *MockTypedTableColumn[_, S]) TypedExpr(s S) (string, []genorm.ExprType, []error)

TypedExpr mocks base method.

type MockTypedTableColumnMockRecorder

type MockTypedTableColumnMockRecorder[T genorm.Table, S genorm.ExprType] struct {
	// contains filtered or unexported fields
}

MockTypedTableColumnMockRecorder is the mock recorder for MockTypedTableColumn.

func (*MockTypedTableColumnMockRecorder[T, S]) ColumnName

func (mr *MockTypedTableColumnMockRecorder[T, S]) ColumnName() *gomock.Call

ColumnName indicates an expected call of ColumnName.

func (*MockTypedTableColumnMockRecorder[T, S]) Expr

func (mr *MockTypedTableColumnMockRecorder[T, S]) Expr() *gomock.Call

Expr indicates an expected call of Expr.

func (*MockTypedTableColumnMockRecorder[T, S]) SQLColumnName

func (mr *MockTypedTableColumnMockRecorder[T, S]) SQLColumnName() *gomock.Call

SQLColumnName indicates an expected call of SQLColumnName.

func (*MockTypedTableColumnMockRecorder[T, S]) TableExpr

func (mr *MockTypedTableColumnMockRecorder[T, S]) TableExpr(t T) *gomock.Call

TableExpr indicates an expected call of Expr.

func (*MockTypedTableColumnMockRecorder[T, S]) TableName

func (mr *MockTypedTableColumnMockRecorder[T, S]) TableName() *gomock.Call

TableName indicates an expected call of TableName.

func (*MockTypedTableColumnMockRecorder[T, S]) TypedExpr

func (mr *MockTypedTableColumnMockRecorder[T, S]) TypedExpr(s S) *gomock.Call

Expr indicates an expected call of Expr.

type MockTypedTableExpr

type MockTypedTableExpr[T genorm.Table, S genorm.ExprType] struct {
	// contains filtered or unexported fields
}

MockTypedTableExpr is a mock of Expr interface.

func NewMockTypedTableExpr

func NewMockTypedTableExpr[T genorm.Table, S genorm.ExprType](ctrl *gomock.Controller) *MockTypedTableExpr[T, S]

NewMockTypedTableExpr creates a new mock instance.

func (*MockTypedTableExpr[T, S]) EXPECT

func (m *MockTypedTableExpr[T, S]) EXPECT() *MockTypedTableExprMockRecorder[T, S]

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

func (*MockTypedTableExpr[_, _]) Expr

func (m *MockTypedTableExpr[_, _]) Expr() (string, []genorm.ExprType, []error)

Expr mocks base method.

func (*MockTypedTableExpr[T, _]) TableExpr

func (m *MockTypedTableExpr[T, _]) TableExpr(t T) (string, []genorm.ExprType, []error)

TableExpr mocks base method.

func (*MockTypedTableExpr[_, S]) TypedExpr

func (m *MockTypedTableExpr[_, S]) TypedExpr(s S) (string, []genorm.ExprType, []error)

TypedExpr mocks base method.

type MockTypedTableExprMockRecorder

type MockTypedTableExprMockRecorder[T genorm.Table, S genorm.ExprType] struct {
	// contains filtered or unexported fields
}

MockTypedTableExprMockRecorder is the mock recorder for MockTypedTableExpr.

func (*MockTypedTableExprMockRecorder[T, S]) Expr

func (mr *MockTypedTableExprMockRecorder[T, S]) Expr() *gomock.Call

Expr indicates an expected call of Expr.

func (*MockTypedTableExprMockRecorder[T, S]) TableExpr

func (mr *MockTypedTableExprMockRecorder[T, S]) TableExpr(t T) *gomock.Call

TableExpr indicates an expected call of Expr.

func (*MockTypedTableExprMockRecorder[T, S]) TypedExpr

func (mr *MockTypedTableExprMockRecorder[T, S]) TypedExpr(s S) *gomock.Call

TableExpr indicates an expected call of Expr.

Jump to

Keyboard shortcuts

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