mocks

package
v0.0.0-...-fc1e0a8 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestRepository

type TestRepository struct {
	mock.Mock
}

TestRepository is an autogenerated mock type for the TestRepository type

func (*TestRepository) Create

Create provides a mock function with given fields: tx, src

func (*TestRepository) CreateTable

func (_m *TestRepository) CreateTable(tx rsdb.Connection) error

CreateTable provides a mock function with given fields: tx

func (*TestRepository) DeleteById

DeleteById provides a mock function with given fields: tx, id

func (*TestRepository) FirstOrCreate

func (_m *TestRepository) FirstOrCreate(tx rsdb.Connection, src rsmodels.ValidatedObject) error

FirstOrCreate provides a mock function with given fields: tx, src

func (*TestRepository) GetById

GetById provides a mock function with given fields: tx, id

func (*TestRepository) GetByIdAndWebServiceId

func (_m *TestRepository) GetByIdAndWebServiceId(conn rsdb.Connection, endpoint *models.Test) error

GetByIdAndWebServiceId provides a mock function with given fields: conn, endpoint

func (*TestRepository) GetList

func (_m *TestRepository) GetList(conn rsdb.Connection, items *[]*models.TestListItem, filter rsdb.ListFilter, orders rsdb.Orders) (int, error)

GetList provides a mock function with given fields: conn, items, filter, orders

func (*TestRepository) List

func (_m *TestRepository) List(tx rsdb.Connection, items interface{}, filter rsdb.ListFilter, orders rsdb.Orders) (int, error)

List provides a mock function with given fields: tx, items, filter, orders

func (*TestRepository) Patch

Patch provides a mock function with given fields: tx, src, data

func (*TestRepository) Save

Save provides a mock function with given fields: tx, src

type TestResultRepository

type TestResultRepository struct {
	mock.Mock
}

TestResultRepository is an autogenerated mock type for the TestResultRepository type

func (*TestResultRepository) Create

Create provides a mock function with given fields: tx, src

func (*TestResultRepository) CreateTable

func (_m *TestResultRepository) CreateTable(tx rsdb.Connection) error

CreateTable provides a mock function with given fields: tx

func (*TestResultRepository) DeleteById

DeleteById provides a mock function with given fields: tx, id

func (*TestResultRepository) FirstOrCreate

FirstOrCreate provides a mock function with given fields: tx, src

func (*TestResultRepository) GetById

GetById provides a mock function with given fields: tx, id

func (*TestResultRepository) GetResultList

GetResultList provides a mock function with given fields: conn, test, request

func (*TestResultRepository) List

func (_m *TestResultRepository) List(tx rsdb.Connection, items interface{}, filter rsdb.ListFilter, orders rsdb.Orders) (int, error)

List provides a mock function with given fields: tx, items, filter, orders

func (*TestResultRepository) Patch

Patch provides a mock function with given fields: tx, src, data

func (*TestResultRepository) Save

Save provides a mock function with given fields: tx, src

type WebServiceRepository

type WebServiceRepository struct {
	mock.Mock
}

WebServiceRepository is an autogenerated mock type for the WebServiceRepository type

func (*WebServiceRepository) Create

Create provides a mock function with given fields: tx, src

func (*WebServiceRepository) CreateTable

func (_m *WebServiceRepository) CreateTable(tx rsdb.Connection) error

CreateTable provides a mock function with given fields: tx

func (*WebServiceRepository) DeleteById

DeleteById provides a mock function with given fields: tx, id

func (*WebServiceRepository) FirstOrCreate

FirstOrCreate provides a mock function with given fields: tx, src

func (*WebServiceRepository) GetAllWebServicesWithTests

func (_m *WebServiceRepository) GetAllWebServicesWithTests(conn rsdb.Connection) ([]models.WebService, error)

GetAllWebServicesWithTests provides a mock function with given fields: conn

func (*WebServiceRepository) GetById

GetById provides a mock function with given fields: tx, id

func (*WebServiceRepository) List

func (_m *WebServiceRepository) List(tx rsdb.Connection, items interface{}, filter rsdb.ListFilter, orders rsdb.Orders) (int, error)

List provides a mock function with given fields: tx, items, filter, orders

func (*WebServiceRepository) Patch

Patch provides a mock function with given fields: tx, src, data

func (*WebServiceRepository) Save

Save provides a mock function with given fields: tx, src

Jump to

Keyboard shortcuts

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