mocks

package
v0.0.0-...-b6f29ee Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnomalyGrouper

type AnomalyGrouper struct {
	mock.Mock
}

AnomalyGrouper is an autogenerated mock type for the AnomalyGrouper type

func NewAnomalyGrouper

func NewAnomalyGrouper(t interface {
	mock.TestingT
	Cleanup(func())
}) *AnomalyGrouper

NewAnomalyGrouper creates a new instance of AnomalyGrouper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AnomalyGrouper) ProcessRegressionInGroup

func (_m *AnomalyGrouper) ProcessRegressionInGroup(ctx context.Context, alert *alerts.Alert, anomalyID string, startCommit int64, endCommit int64, testPath string, paramSet map[string]string) (string, error)

ProcessRegressionInGroup provides a mock function with given fields: ctx, alert, anomalyID, startCommit, endCommit, testPath, paramSet

Jump to

Keyboard shortcuts

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