test

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorTest = errors.New("test error")

ErrorTest - ...

Functions

This section is empty.

Types

type Case

type Case struct {
	Name           string
	FuncArguments  []interface{}
	Setup          func() (*MockClients, *utils.Config)
	ExpectedError  error
	ExpectedResult interface{}
}

Case - ...

func (*Case) CheckCase

func (c *Case) CheckCase(t *testing.T, actualRes interface{}, actualErr error)

CheckCase - ...

type MockClients

type MockClients struct {
	JiraMockClient *jira_mocks.MockJirer
	FiltersMock    *mocks.MockFilterers
}

MockClients - ...

func InitDefaultMockClients

func InitDefaultMockClients(mc *gomock.Controller) *MockClients

InitDefaultMockClients - .,,

Jump to

Keyboard shortcuts

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