mocks

package
v0.0.0-...-30e45d9 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDB

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

Mock of DB interface

func NewMockDB

func NewMockDB(ctrl *gomock.Controller) *MockDB

func (*MockDB) Begin

func (_m *MockDB) Begin() (transaction.Transaction, error)

func (*MockDB) Close

func (_m *MockDB) Close()

func (*MockDB) Connect

func (_m *MockDB) Connect(_param0 string, _param1 string, _param2 int) error

func (*MockDB) DropTable

func (_m *MockDB) DropTable(_param0 *schema.Schema) error

func (*MockDB) EXPECT

func (_m *MockDB) EXPECT() *_MockDBRecorder

func (*MockDB) RegisterTable

func (_m *MockDB) RegisterTable(_param0 *schema.Schema, _param1 bool) error

Jump to

Keyboard shortcuts

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